old c coder
|
|
February 15, 2014, 06:20:23 AM |
|
I am currently trying to compile litecoin-qt.exe using makefile.debug but keep getting this error: c:/deps/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32 /bin/ld.exe: cannot find -lQtGuid c:/deps/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32 /bin/ld.exe: cannot find -lQtNetworkd c:/deps/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32 /bin/ld.exe: cannot find -lQtCored collect2: ld returned 1 exit status
I think its something to do with Qt but I cant figure out what... Any ideas? I am using boost 1.55 db 4.6.3 mingw 2.6.2 openssl-1.0.1c qt 4.8.5 I am able to compile using makefile.release but it just runs for a few seconds with no GUI and then stops again. Note that your output says it is looking for gcc 4.6.2 and you say you are using gcc 2.6.2??? So something is wrong there for starters! Also, traditionally we use BerkeleyDB 4.8.30 note db 4.6.3! Ron
|
LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf The day is coming when a single carrot, freshly observed, will set off a revolution. Paul Cezanne
|
|
|
Cassey
Sr. Member
Offline
Activity: 470
Merit: 250
Better to have 100 friends than 100 rubles
|
|
February 15, 2014, 06:41:14 AM |
|
I am currently trying to compile litecoin-qt.exe using makefile.debug but keep getting this error: c:/deps/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32 /bin/ld.exe: cannot find -lQtGuid c:/deps/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32 /bin/ld.exe: cannot find -lQtNetworkd c:/deps/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32 /bin/ld.exe: cannot find -lQtCored collect2: ld returned 1 exit status
I think its something to do with Qt but I cant figure out what... Any ideas? I am using boost 1.55 db 4.6.3 mingw 2.6.2 openssl-1.0.1c qt 4.8.5 If this was a linux box, I'd say you didn't have the QtGUI package installed. Have you tried this with QT 5.2.0 per post #1? Cassey
|
Cassey
|
|
|
taniman
Newbie
Offline
Activity: 6
Merit: 0
|
|
February 15, 2014, 01:00:53 PM |
|
I am trying to compile smartcoind.exe, but I am bumping in the following error
C:/deps/boost_1_53_0/boost/program_options/eof_iterator.hpp:75: undefined refere nce to `boost::program_options::detail::common_config_file_iterator::get()' obj/util.o: In function `ZN5boost15program_options6detail26basic_config_file_ite ratorIcEC1ERSiRKSt3setISsSt4lessISsESaISsEEb': C:/deps/boost_1_53_0/boost/program_options/detail/config_file.hpp:145: undefined reference to `boost::program_options::detail::common_config_file_iterator::comm on_config_file_iterator(std::set<std::string, std::less<std::string>, std::alloc ator<std::string> > const&, bool)' C:/deps/boost_1_53_0/boost/program_options/detail/config_file.hpp:148: undefined reference to `boost::program_options::detail::common_config_file_iterator::get( )' collect2.exe: error: ld returned 1 exit status makefile.mingw:76: recipe for target 'smartcoind.exe' failed mingw32-make: *** [smartcoind.exe] Error 1
Anybody experience this before?
|
|
|
|
nitrogenetics (OP)
|
|
February 15, 2014, 02:55:40 PM |
|
I am trying to compile smartcoind.exe, but I am bumping in the following error
C:/deps/boost_1_53_0/boost/program_options/eof_iterator.hpp:75: undefined refere nce to `boost::program_options::detail::common_config_file_iterator::get()' obj/util.o: In function `ZN5boost15program_options6detail26basic_config_file_ite ratorIcEC1ERSiRKSt3setISsSt4lessISsESaISsEEb': C:/deps/boost_1_53_0/boost/program_options/detail/config_file.hpp:145: undefined reference to `boost::program_options::detail::common_config_file_iterator::comm on_config_file_iterator(std::set<std::string, std::less<std::string>, std::alloc ator<std::string> > const&, bool)' C:/deps/boost_1_53_0/boost/program_options/detail/config_file.hpp:148: undefined reference to `boost::program_options::detail::common_config_file_iterator::get( )' collect2.exe: error: ld returned 1 exit status makefile.mingw:76: recipe for target 'smartcoind.exe' failed mingw32-make: *** [smartcoind.exe] Error 1
Anybody experience this before?
Fixing the makefile seems to solve the linking error LIBS= \ -l boost_system-mgw48-mt- s-1_5x \ -l boost_filesystem-mgw48-mt- s-1_5x \ -l boost_program_options-mgw48-mt- s-1_5x \ -l boost_thread-mgw48-mt- s-1_5x \
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
nitrogenetics (OP)
|
|
February 15, 2014, 03:01:14 PM |
|
I am currently trying to compile litecoin-qt.exe using makefile.debug but keep getting this error: c:/deps/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32 /bin/ld.exe: cannot find -lQtGuid c:/deps/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32 /bin/ld.exe: cannot find -lQtNetworkd c:/deps/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32 /bin/ld.exe: cannot find -lQtCored collect2: ld returned 1 exit status
I think its something to do with Qt but I cant figure out what... Any ideas? I am using boost 1.55 db 4.6.3 mingw 2.6.2 openssl-1.0.1c qt 4.8.5 I am able to compile using makefile.release but it just runs for a few seconds with no GUI and then stops again. Did you compile qt debug libraries? (configure with -debug-and-release instead of -release only)
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
TechAUmNu
Newbie
Offline
Activity: 4
Merit: 0
|
|
February 15, 2014, 03:27:03 PM |
|
I am currently trying to compile litecoin-qt.exe using makefile.debug but keep getting this error: c:/deps/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32 /bin/ld.exe: cannot find -lQtGuid c:/deps/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32 /bin/ld.exe: cannot find -lQtNetworkd c:/deps/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32 /bin/ld.exe: cannot find -lQtCored collect2: ld returned 1 exit status
I think its something to do with Qt but I cant figure out what... Any ideas? I am using boost 1.55 db 4.6.3 mingw 2.6.2 openssl-1.0.1c qt 4.8.5 I am able to compile using makefile.release but it just runs for a few seconds with no GUI and then stops again. Note that your output says it is looking for gcc 4.6.2 and you say you are using gcc 2.6.2??? So something is wrong there for starters! Also, traditionally we use BerkeleyDB 4.8.30 note db 4.6.3! Ron That should have said mingw 4.6.2 and db 4.8.30 The error does not exist in mingw or db clearly since it is saying it cannot find -lQtGuid, etc. The post above that says I am probably missing QtGui is much more helpful. Since it is looking for some library which I probably don't have. If this was a linux box, I'd say you didn't have the QtGUI package installed. Have you tried this with QT 5.2.0 per post #1?
I since I am trying to compile litecoin not bitcoin so I do not want to have to make those changes to get 5.2.0 working. I will have a look to see if the QtGui stuff is missing in the meantime. Thanks edit: Did you compile qt debug libraries? (configure with -debug-and-release instead of -release only)
That might be the problem then :S
|
|
|
|
Cassey
Sr. Member
Offline
Activity: 470
Merit: 250
Better to have 100 friends than 100 rubles
|
|
February 15, 2014, 03:36:55 PM |
|
My alt litecoin based code compiled perfecting following the recently updated post #1. The key appeared to be getting a compatible list of package releases, which the post now has.
My only update would be to mention you can do the qmakes in a Mingw32 window since your not doing a full QT 5.2.0 install. Just make sure the QT install in in your PATH.
|
Cassey
|
|
|
TechAUmNu
Newbie
Offline
Activity: 4
Merit: 0
|
|
February 15, 2014, 03:41:28 PM |
|
My alt litecoin based code compiled perfecting following the recently updated post #1. The key appeared to be getting a compatible list of package releases, which the post now has.
My only update would be to mention you can do the qmakes in a Mingw32 window since your not doing a full QT 5.2.0 install. Just make sure the QT install in in your PATH.
Thanks, I am currently trying a fresh download and build of 4.8.5, if that doesn't work I will go back and make the changes for 5.2.0.
|
|
|
|
taniman
Newbie
Offline
Activity: 6
Merit: 0
|
|
February 15, 2014, 09:07:14 PM |
|
I am trying to compile smartcoind.exe, but I am bumping in the following error
C:/deps/boost_1_53_0/boost/program_options/eof_iterator.hpp:75: undefined refere nce to `boost::program_options::detail::common_config_file_iterator::get()' obj/util.o: In function `ZN5boost15program_options6detail26basic_config_file_ite ratorIcEC1ERSiRKSt3setISsSt4lessISsESaISsEEb': C:/deps/boost_1_53_0/boost/program_options/detail/config_file.hpp:145: undefined reference to `boost::program_options::detail::common_config_file_iterator::comm on_config_file_iterator(std::set<std::string, std::less<std::string>, std::alloc ator<std::string> > const&, bool)' C:/deps/boost_1_53_0/boost/program_options/detail/config_file.hpp:148: undefined reference to `boost::program_options::detail::common_config_file_iterator::get( )' collect2.exe: error: ld returned 1 exit status makefile.mingw:76: recipe for target 'smartcoind.exe' failed mingw32-make: *** [smartcoind.exe] Error 1
Anybody experience this before?
Fixing the makefile seems to solve the linking error LIBS= \ -l boost_system-mgw48-mt- s-1_5x \ -l boost_filesystem-mgw48-mt- s-1_5x \ -l boost_program_options-mgw48-mt- s-1_5x \ -l boost_thread-mgw48-mt- s-1_5x \ Thank you very much, That did it for me.
|
|
|
|
awais3344
|
|
February 17, 2014, 09:25:11 AM |
|
when I run mingw32-make -f makefile.mingw in cmd. I get this error. In file included from c:/boost-1.43.0-mgw/boost/thread/detail/platform.hpp:17:0,
from c:/boost-1.43.0-mgw/boost/thread/thread.hpp:12, from c:/boost-1.43.0-mgw/boost/thread.hpp:13, from util.h:26, from alert.h:13, from alert.cpp:11: c:/boost-1.43.0-mgw/boost/config/requires_threads.hpp:29:4: error: #error "Threa ding support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THR EADS" # error "Threading support unavaliable: it has been explicitly disabled with B OOST_DISABLE_THREADS" ^ makefile.mingw:124: recipe for target 'obj/alert.o' failed mingw32-make: *** [obj/alert.o] Error 1
Any help is much appreciated. thanks
|
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ NEOSCOIN +POD Developers +Active Community - V2 Coming Soon! Live In-App Trading, Live Pool Stats - IRC - Arbitrush Anonymous System soon!! NEOSCOIN ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
|
|
awais3344
|
|
February 17, 2014, 09:38:55 AM |
|
ok, so i guess the error is because of old version of boost. I am downloading new version to see how it goes.
|
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ NEOSCOIN +POD Developers +Active Community - V2 Coming Soon! Live In-App Trading, Live Pool Stats - IRC - Arbitrush Anonymous System soon!! NEOSCOIN ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
|
|
awais3344
|
|
February 17, 2014, 10:51:40 AM |
|
step bootstrap.bat mingw error: C:\boost_1_55_0>bootstrap.bat mingw Building Boost.Build engine gcc: error: yyacc.c: No such file or directory gcc: fatal error: no input files compilation terminated. 'yacc' is not recognized as an internal or external command, operable program or batch file.
Failed to build Boost.Build engine. Please consult bootstrap.log for furter diagnostics.
You can try to obtain a prebuilt binary from
http://sf.net/project/showfiles.php?group_id=7586&package_id=72941
Also, you can file an issue at http://svn.boost.org Please attach bootstrap.log in that case. Now stuck on this. cant figure out what's wrong.
|
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ NEOSCOIN +POD Developers +Active Community - V2 Coming Soon! Live In-App Trading, Live Pool Stats - IRC - Arbitrush Anonymous System soon!! NEOSCOIN ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
|
|
adjed
|
|
February 17, 2014, 04:58:55 PM |
|
Hello, I've been following the guide step by step but at the end when I try to build the wallet mingw32-make -f Makefile.Release. This is what I get. Looks like it has to do with boos 1_55_0 but It is installed and all the patches from the guide done. Any light? Thanks!
|
|
|
|
awais3344
|
|
February 17, 2014, 07:40:59 PM |
|
new error c:\mingw\include\winsock.h:315:8: error: previous definition of 'struct ip_mreq'
struct ip_mreq { ^ In file included from compat.h:17:0, from netbase.h:11, from net.h:19, from rpcnet.cpp:5: c:\mingw\include\ws2tcpip.h:390:13: error: expected initializer before 'freeaddr info' void WSAAPI freeaddrinfo (struct addrinfo*); ^ c:\mingw\include\ws2tcpip.h:391:12: error: expected initializer before 'getaddri nfo' int WSAAPI getaddrinfo (const char*,const char*,const struct addrinfo*, ^ c:\mingw\include\ws2tcpip.h:393:12: error: expected initializer before 'getnamei nfo' int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD, ^ makefile.mingw:124: recipe for target 'obj/rpcnet.o' failed mingw32-make: *** [obj/rpcnet.o] Error 1 if someone is willing to help? I am about to compile the source, and this error occurs.
|
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ NEOSCOIN +POD Developers +Active Community - V2 Coming Soon! Live In-App Trading, Live Pool Stats - IRC - Arbitrush Anonymous System soon!! NEOSCOIN ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
|
|
awais3344
|
|
February 18, 2014, 07:31:08 AM |
|
Update, i did a clean install of everything and i was able to strip bitcoind without any errors. I am compiling qt 5.2 libs
|
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ NEOSCOIN +POD Developers +Active Community - V2 Coming Soon! Live In-App Trading, Live Pool Stats - IRC - Arbitrush Anonymous System soon!! NEOSCOIN ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
|
|
olu
Newbie
Offline
Activity: 10
Merit: 0
|
|
February 18, 2014, 06:55:22 PM |
|
Hello, I've been following the guide step by step but at the end when I try to build the wallet mingw32-make -f Makefile.Release. This is what I get. http://i62.tinypic.com/344zdcp.jpgLooks like it has to do with boos 1_55_0 but It is installed and all the patches from the guide done. Any light? Thanks! This is usually where most people run into the brick-wall errors. That being said, please look through the cmd for the part that gives error, not warning. It should list the .cpp (or header) and the line number, then the actual problem. If you look at the "-Wunused" warnings, you see warning as opposed to error, so please provide the part earlier up in the script where you encounter the error.
|
|
|
|
sacskate
|
|
February 18, 2014, 10:50:43 PM |
|
I'm having trouble compiling qt.pro. It can not find the src directory or any other directories. The qt.pro is in the same directory as the others. It basically finds nothing.
|
|
|
|
Cassey
Sr. Member
Offline
Activity: 470
Merit: 250
Better to have 100 friends than 100 rubles
|
|
February 18, 2014, 11:24:50 PM |
|
try moving it up above /src - that is where mine is.
|
Cassey
|
|
|
sacskate
|
|
February 19, 2014, 01:10:02 AM |
|
try moving it up above /src - that is where mine is.
It is above /src. It couldn't find anything when I tried compiling. The src directory, all the files and the qt.pro are in the bitcoin folder. I set qtbase\bin in the PATH, but it would still say qmake not found. So I put a copy of qmake.exe in the bitcoin folder and it then gave me the "can not find errors". Could this be my problem?
|
|
|
|
awais3344
|
|
February 19, 2014, 05:53:53 AM |
|
ok, i was compiling on windows 8 32bit. So i was able to compile, strip bitcoind. and makefile release. And after that. Then I try to run bitcoin-qt.exe it says loading wallet. Just like normal. Then suddenly windows error pops up "app has stopped working", then "close the program" it shows me no error. So no idea what's wrong? Also there are no dll files in the folder like it should have, right?
|
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ NEOSCOIN +POD Developers +Active Community - V2 Coming Soon! Live In-App Trading, Live Pool Stats - IRC - Arbitrush Anonymous System soon!! NEOSCOIN ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
|
|
|