Post
Topic
Board Development & Technical Discussion
Re: Building headless Bitcoin and Bitcoin-qt on Windows
by
TechAUmNu
on 15/02/2014, 15:27:03 UTC
I am currently trying to compile litecoin-qt.exe using makefile.debug but keep getting this error:

Code:
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.


Quote
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:
Quote

Did you compile qt debug libraries? (configure with -debug-and-release instead of -release only)

That might be the problem then :S