phelix (OP)
Legendary
Offline
Activity: 1708
Merit: 1020
|
|
January 24, 2014, 05:20:40 PM |
|
There seems to be an issue that leveldb is being compiled without proper multithreading support.... maybe this is causing the crashes on litecoin and some other altcoins. I will try to find the time to take a look at it.
|
|
|
|
greyman
Newbie
Offline
Activity: 40
Merit: 0
|
|
January 28, 2014, 11:00:09 AM |
|
Hello Please sorry to hijack this thread, but could someone look at this issue? I installed the whole environment with EasyWinBuilder, but then when I want to compile one particular altcoin for someone, I am getting this strange error:
C:\altcoin>make -f Makefile.Release
g++ -c -pipe -O2 -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall - Wextra -Wformat -Wformat-security -Wno-unused-parameter -DUNICODE -DQT_GUI -DBOO ST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DBOOST_THREAD_PROVIDES_GENERIC_SHAR ED_MUTEX_ON_WIN -D__NO_SYSTEM_INCLUDES -DWIN32 -D_MT -DQT_DLL -DQT_NO_DEBUG -DQT _GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMX EXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\Qt\4.8.5\include\Q tCore" -I"..\Qt\4.8.5\include\QtGui" -I"..\Qt\4.8.5\include" -I"src" -I"src\json " -I"src\qt" -I"..\deps\boost" -I"..\deps\db\build_unix" -I"..\deps\ssl\include" -I"..\Qt\4.8.5\include\ActiveQt" -I"build" -I"build" -I"..\Qt\4.8.5\mkspecs\win 32-g++" -o build\bitcoin.o src\qt\bitcoin.cpp g++.exe: error: srcqtbitcoin.cpp: No such file or directory g++.exe: fatal error: no input files compilation terminated. make: *** [build/bitcoin.o] Error 1
This line is where the problem is:
g++.exe: error: srcqtbitcoin.cpp: No such file or directory
It seems that the make system or I don't know who mangled the file path from src\qt\bitcoin.cpp to srcqtbitcoin.cpp (backslashes are removed). Please don't you know how to fix this? Thanks very much.
|
|
|
|
phelix (OP)
Legendary
Offline
Activity: 1708
Merit: 1020
|
|
January 28, 2014, 06:36:01 PM |
|
Hello Please sorry to hijack this thread, but could someone look at this issue? I installed the whole environment with EasyWinBuilder, but then when I want to compile one particular altcoin for someone, I am getting this strange error:
C:\altcoin>make -f Makefile.Release
g++ -c -pipe -O2 -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall - Wextra -Wformat -Wformat-security -Wno-unused-parameter -DUNICODE -DQT_GUI -DBOO ST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DBOOST_THREAD_PROVIDES_GENERIC_SHAR ED_MUTEX_ON_WIN -D__NO_SYSTEM_INCLUDES -DWIN32 -D_MT -DQT_DLL -DQT_NO_DEBUG -DQT _GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMX EXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\Qt\4.8.5\include\Q tCore" -I"..\Qt\4.8.5\include\QtGui" -I"..\Qt\4.8.5\include" -I"src" -I"src\json " -I"src\qt" -I"..\deps\boost" -I"..\deps\db\build_unix" -I"..\deps\ssl\include" -I"..\Qt\4.8.5\include\ActiveQt" -I"build" -I"build" -I"..\Qt\4.8.5\mkspecs\win 32-g++" -o build\bitcoin.o src\qt\bitcoin.cpp g++.exe: error: srcqtbitcoin.cpp: No such file or directory g++.exe: fatal error: no input files compilation terminated. make: *** [build/bitcoin.o] Error 1
This line is where the problem is:
g++.exe: error: srcqtbitcoin.cpp: No such file or directory
It seems that the make system or I don't know who mangled the file path from src\qt\bitcoin.cpp to srcqtbitcoin.cpp (backslashes are removed). Please don't you know how to fix this? Thanks very much.
could be a problem of forward/backward slashes something is different in your altcoin than in Bitcoin
|
|
|
|
argutus
Newbie
Offline
Activity: 21
Merit: 0
|
|
February 01, 2014, 11:09:07 AM |
|
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_system-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_filesystem-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_program_options-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_thread-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_chrono-mgw46-mt-1_54 collect2.exe: error: ld returned 1 exit status makefile.mingw:124: recipe for target 'boomcoind.exe' failed mingw32-make: *** [boomcoind.exe] Error 1
!!!!!! Error! Build daemon failed. Press any key to continue . . .
Any help?
|
|
|
|
Gabri
|
|
February 01, 2014, 12:24:59 PM |
|
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_system-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_filesystem-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_program_options-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_thread-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_chrono-mgw46-mt-1_54 collect2.exe: error: ld returned 1 exit status makefile.mingw:124: recipe for target 'boomcoind.exe' failed mingw32-make: *** [boomcoind.exe] Error 1
!!!!!! Error! Build daemon failed. Press any key to continue . . .
Any help?
Did you set the correct boost suffix on the .pro file?
|
|
|
|
argutus
Newbie
Offline
Activity: 21
Merit: 0
|
|
February 01, 2014, 05:04:39 PM Last edit: February 01, 2014, 05:20:16 PM by argutus |
|
Did you set the correct boost suffix on the .pro file?
Alright, I fixed that, but now I am running into another error when building daemon: In file included from bignum.h:12:0, from main.h:8, from db.h:8, from net.cpp:6: util.h:25:29: fatal error: boost/version.hpp: No such file or directory compilation terminated. mingw32-make: *** [obj/net.o] Error 1 !!!!!! Error! Build daemon failed. Press any key to continue . . . What directory is boost installed in?
|
|
|
|
phelix (OP)
Legendary
Offline
Activity: 1708
Merit: 1020
|
|
February 01, 2014, 05:46:38 PM |
|
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_system-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_filesystem-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_program_options-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_thread-mgw46-mt-1_54 c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_chrono-mgw46-mt-1_54 collect2.exe: error: ld returned 1 exit status makefile.mingw:124: recipe for target 'boomcoind.exe' failed mingw32-make: *** [boomcoind.exe] Error 1
!!!!!! Error! Build daemon failed. Press any key to continue . . .
Any help?
Wrong mingw version (see bold text above). Follow instructions on the command window when installing mingw or look a couple posts above. You need to uncheck "install gui".
|
|
|
|
argutus
Newbie
Offline
Activity: 21
Merit: 0
|
|
February 01, 2014, 06:05:52 PM |
|
Wrong mingw version (see bold text above). Follow instructions on the command window when installing mingw or look a couple posts above. You need to uncheck "install gui".
Yeah I fixed it, but do you know how I can fix the one I just posted? "Alright, I fixed that, but now I am running into another error when building daemon: In file included from bignum.h:12:0, from main.h:8, from db.h:8, from net.cpp:6: util.h:25:29: fatal error: boost/version.hpp: No such file or directory compilation terminated. mingw32-make: *** [obj/net.o] Error 1 !!!!!! Error! Build daemon failed. Press any key to continue . . . What directory is boost installed in?"
|
|
|
|
by321
Newbie
Offline
Activity: 6
Merit: 0
|
|
February 06, 2014, 07:42:10 AM |
|
I was able to build bitcoin-qt.exe but it crashed on startup too. Anyone figured out how to fix this ?
|
|
|
|
Maisteri
Newbie
Offline
Activity: 3
Merit: 0
|
|
February 13, 2014, 04:04:36 AM |
|
I was able to build bitcoin-qt.exe but it crashed on startup too. Anyone figured out how to fix this ?
Same. Also had trouble building the daemon but I already have it compiled on linux so it's not a big deal really. Daemon build error https://i.imgur.com/vgx79rN.pngxcoin-qt Windows error report Problem signature: Problem Event Name: APPCRASH Application Name: xcoin-qt.exe Application Version: 0.0.0.0 Application Timestamp: 52fc386d Fault Module Name: libstdc++-6.dll Fault Module Version: 0.0.0.0 Fault Module Timestamp: 4ed82a4d Exception Code: c0000005 Exception Offset: 000710cc OS Version: 6.1.7601.2.1.0.256.1 Locale ID: 1035 Additional Information 1: 0a9e Additional Information 2: 0a9e372d3b4ad19135b953a78882e789 Additional Information 3: 0a9e Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
|
|
|
|
phelix (OP)
Legendary
Offline
Activity: 1708
Merit: 1020
|
|
February 13, 2014, 01:03:08 PM |
|
maisteri and kergecoin: check if boost compiled properly: there should be some files in boost_xxx/stage/lib Compare the names to the names (several times) in set_vars.bat
|
|
|
|
Kergekoin
|
|
February 13, 2014, 01:45:43 PM |
|
maisteri and kergecoin: check if boost compiled properly: there should be some files in boost_xxx/stage/lib Compare the names to the names (several times) in set_vars.bat
OK, thanks, i will do that and report back later.
|
|
|
|
tonytwochains
Newbie
Offline
Activity: 1
Merit: 0
|
|
February 13, 2014, 03:10:10 PM |
|
There seems to be an issue that leveldb is being compiled without proper multithreading support.... maybe this is causing the crashes on litecoin and some other altcoins. I will try to find the time to take a look at it.
Hey Phelix. Any luck looking into this one? I have tried to no avail to get a windows alt coin to run stable. The bitcoin src seems g2g. I get a runtime on exit and also runtimes in the debug command window for example if i type "help". Whats strange is other commands are find get peerinfo for example as long as there are no fat fingers. linux/mac build are rock solid. Thanks!
|
|
|
|
phelix (OP)
Legendary
Offline
Activity: 1708
Merit: 1020
|
|
February 13, 2014, 05:41:04 PM |
|
There seems to be an issue that leveldb is being compiled without proper multithreading support.... maybe this is causing the crashes on litecoin and some other altcoins. I will try to find the time to take a look at it.
Hey Phelix. Any luck looking into this one? I have tried to no avail to get a windows alt coin to run stable. The bitcoin src seems g2g. I get a runtime on exit and also runtimes in the debug command window for example if i type "help". Whats strange is other commands are find get peerinfo for example as long as there are no fat fingers. linux/mac build are rock solid. Thanks! Hmm... it seemed the added leveldb parameters did not make a difference when comparing the files. I will have to take a another good look but I busy with other stuff atm.
|
|
|
|
Maisteri
Newbie
Offline
Activity: 3
Merit: 0
|
|
February 13, 2014, 08:44:04 PM Last edit: February 13, 2014, 08:57:56 PM by Maisteri |
|
maisteri and kergecoin: check if boost compiled properly: there should be some files in boost_xxx/stage/lib Compare the names to the names (several times) in set_vars.bat
The .dlls appear to be fine. However, I tried to compile the source on a completely different computer and this time it would not build the daemon or the qt! Also tried a completely fresh install on my main PC and had the same issue. daemon and qt won't build. I am able to build both on Ubuntu with the same source code and all but Windows just does not like these at all it seems. I even tried to build this on a VM running Windows XP but no cigar. Is there a way to make a coin-qt.exe on Ubuntu? qt build error goes as following: Makefile.Release:253: recipe for target 'release/xcoin-qt.exe' failed mingw32-make: *** [release/xcoin-qt.exe] Error 1 Here is a picture of the complete window when compiling the qt. https://i.imgur.com/CcEE3Qk.png
|
|
|
|
Kergekoin
|
|
February 14, 2014, 08:25:37 AM |
|
So you checked that filenames match? I cant do this myself as im not at my pc. Pprobably have to install linux and do as you did. Compile daemon with linux and qt with windows. Also maybe try 1.55 boost version before i start intalling linux. Probably gives same error.
|
|
|
|
Kergekoin
|
|
February 14, 2014, 09:44:10 AM |
|
maisteri and kergecoin: check if boost compiled properly: there should be some files in boost_xxx/stage/lib Compare the names to the names (several times) in set_vars.bat
Success! I just managed to compile daemon as well! Thanks! There was simple flaw in library failname, which i didnt notice when i checked before. Thanks for making Windows compliation a lot easyer and faster!
|
|
|
|
Maisteri
Newbie
Offline
Activity: 3
Merit: 0
|
|
February 14, 2014, 02:26:45 PM |
|
maisteri and kergecoin: check if boost compiled properly: there should be some files in boost_xxx/stage/lib Compare the names to the names (several times) in set_vars.bat
Success! I just managed to compile daemon as well! Thanks! There was simple flaw in library failname, which i didnt notice when i checked before. Thanks for making Windows compliation a lot easyer and faster! Which file it was for you and what error did you fix? I've checked like a hundred times the files and they look right. Even windows search agrees with my eyes!
|
|
|
|
Kergekoin
|
|
February 15, 2014, 10:14:57 PM Last edit: February 17, 2014, 10:26:31 AM by Kergekoin |
|
There was filename mistake in makefile file. Just check that files in mentioned folder match with library names. Mine had "-d-" in between library names in makefile, but actual files didnt have it.
|
|
|
|
Dr.Bob
|
|
February 19, 2014, 03:21:11 PM |
|
Now all working big Thanks But i got a exit bug from wallet-qt anybody know to fix it ? Rest working fine there is only one other bug console command = "help" instand crash with same error msg others commands working fine. Source used > litecoin Error Msg : This application has requested the runtime to terminate it in an unusual way.
|
|
|
|
|