Bitcoin Forum
September 28, 2024, 05:22:34 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: altcoin compile problem under windows  (Read 303 times)
supercanada1 (OP)
Sr. Member
****
Offline Offline

Activity: 798
Merit: 253


View Profile
May 25, 2015, 05: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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!