Author

Topic: altcoin compile problem under windows (Read 311 times)

sr. member
Activity: 798
Merit: 253
May 25, 2015, 12:51:38 PM
#1
I have compuiled the same code on ubuntu and it generated pplication fine. But when I downloaded the same code and compile under windows by mingw and Qt, it always shows error.
what I did is:
1. set the path in Control panel of windows8, system: C:\Qt\qt-everywhere-opensource-src-4.8.5\bin
2. go to C:\MinGW\msys\1.0, click msys, open terminal
3. from the terminal, I cd c:\, goto c drive, then cd mycoin
4 in folder mycoin on msys terminal, I run: qmake bitcoin-qt.pro RELEASE=1 USE_UPNP=1 -config release QMAKE_LFLAGS+="-static-libgcc -static-libstdc++" BOOST_INCLUDE_PATH=C:/MinGW/msys/1.0/local/include BOOST_LIB_PATH=C:/MinGW/msys/1.0/local/lib BOOST_LIB_SUFFIX=-mgw46-mt-s-1_54,   here, I use bitcoin-qt.pro
5 in the same directory, I run make -f Makefile.Release

Now it shows a lot of errors:
undefined reference, finally: collect2 ld 1 make *** [release/mycoin-qt.exe] error 1
thanks
Jump to: