Bitcoin Forum
April 27, 2015, 09:00:57 AM *
News: Latest stable version of Bitcoin Core: 0.10.0 [Torrent]
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: bitcoin-qt build error  (Read 2147 times)
stcupp
Full Member
***
Offline Offline

Activity: 196


View Profile

Ignore
January 18, 2012, 01:29:45 AM
 #1

ok so i followed the directions on this page for building in windows

https://github.com/bitcoin/bitcoin/blob/master/doc/readme-qt.rst

the boost dependencies was missing the assign folder in the includes so i got it from boost

now im getting this error

Code:
./build\init.o: In function `Z23SetStartOnSystemStartupb':
C:\Users\Stcupp\Downloads\bitcoin-bitcoin-v0.5.1-126-g43cda5f\bitcoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug/../bitcoin-bitcoin-43cda5f/src/init.cpp:578: undefined reference to `CoInitialize@4'
C:\Users\Stcupp\Downloads\bitcoin-bitcoin-v0.5.1-126-g43cda5f\bitcoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug/../bitcoin-bitcoin-43cda5f/src/init.cpp:584: undefined reference to `CoCreateInstance@20'
C:\Users\Stcupp\Downloads\bitcoin-bitcoin-v0.5.1-126-g43cda5f\bitcoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug/../bitcoin-bitcoin-43cda5f/src/init.cpp:605: undefined reference to `IID_IPersistFile'
C:\Users\Stcupp\Downloads\bitcoin-bitcoin-v0.5.1-126-g43cda5f\bitcoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug/../bitcoin-bitcoin-43cda5f/src/init.cpp:615: undefined reference to `CoUninitialize@0'
C:\Users\Stcupp\Downloads\bitcoin-bitcoin-v0.5.1-126-g43cda5f\bitcoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug/../bitcoin-bitcoin-43cda5f/src/init.cpp:620: undefined reference to `CoUninitialize@0'
collect2: ld returned 1 exit status
mingw32-make.exe[1]: *** [debug\bitcoin-qt.exe] Error 1
mingw32-make.exe: *** [debug] Error 2
19:28:32: The process "C:\QtSDK\mingw\bin\mingw32-make.exe" exited with code 2.
Error while building project bitcoin-qt (target: Desktop)
When executing build step 'Make'

does anyone know whats going wrong here?

1430125257
Hero Member
*
Offline Offline

Posts: 1430125257

View Profile Personal Message (Offline)

Ignore
1430125257
Reply with quote  #2

1430125257
Report to moderator
1430125257
Hero Member
*
Offline Offline

Posts: 1430125257

View Profile Personal Message (Offline)

Ignore
1430125257
Reply with quote  #2

1430125257
Report to moderator
1430125257
Hero Member
*
Offline Offline

Posts: 1430125257

View Profile Personal Message (Offline)

Ignore
1430125257
Reply with quote  #2

1430125257
Report to moderator
coin palaceDO NOT ENTER HUMAN! Slots from Bender are  HERE
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1430125257
Hero Member
*
Offline Offline

Posts: 1430125257

View Profile Personal Message (Offline)

Ignore
1430125257
Reply with quote  #2

1430125257
Report to moderator
1430125257
Hero Member
*
Offline Offline

Posts: 1430125257

View Profile Personal Message (Offline)

Ignore
1430125257
Reply with quote  #2

1430125257
Report to moderator
cheat_2_win
Full Member
***
Offline Offline

Activity: 215


View Profile

Ignore
January 20, 2012, 07:13:39 PM
 #2

ok so i followed the directions on this page for building in windows

https://github.com/bitcoin/bitcoin/blob/master/doc/readme-qt.rst

the boost dependencies was missing the assign folder in the includes so i got it from boost

now im getting this error

Code:
./build\init.o: In function `Z23SetStartOnSystemStartupb':
C:\Users\Stcupp\Downloads\bitcoin-bitcoin-v0.5.1-126-g43cda5f\bitcoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug/../bitcoin-bitcoin-43cda5f/src/init.cpp:578: undefined reference to `CoInitialize@4'
C:\Users\Stcupp\Downloads\bitcoin-bitcoin-v0.5.1-126-g43cda5f\bitcoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug/../bitcoin-bitcoin-43cda5f/src/init.cpp:584: undefined reference to `CoCreateInstance@20'
C:\Users\Stcupp\Downloads\bitcoin-bitcoin-v0.5.1-126-g43cda5f\bitcoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug/../bitcoin-bitcoin-43cda5f/src/init.cpp:605: undefined reference to `IID_IPersistFile'
C:\Users\Stcupp\Downloads\bitcoin-bitcoin-v0.5.1-126-g43cda5f\bitcoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug/../bitcoin-bitcoin-43cda5f/src/init.cpp:615: undefined reference to `CoUninitialize@0'
C:\Users\Stcupp\Downloads\bitcoin-bitcoin-v0.5.1-126-g43cda5f\bitcoin-qt-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug/../bitcoin-bitcoin-43cda5f/src/init.cpp:620: undefined reference to `CoUninitialize@0'
collect2: ld returned 1 exit status
mingw32-make.exe[1]: *** [debug\bitcoin-qt.exe] Error 1
mingw32-make.exe: *** [debug] Error 2
19:28:32: The process "C:\QtSDK\mingw\bin\mingw32-make.exe" exited with code 2.
Error while building project bitcoin-qt (target: Desktop)
When executing build step 'Make'

does anyone know whats going wrong here?

After adding "ole32.lib" and "uuid.lib" to the list of libraries, these problems seems to go away. I am having hard time actually running the created executable.
stcupp
Full Member
***
Offline Offline

Activity: 196


View Profile

Ignore
January 20, 2012, 11:19:17 PM
 #3

me too i finally got it to build but it wont run.... i was told nobody has built it in windows that even the windows exe was built in linux using gitian so im working on building with gitian now

cheat_2_win
Full Member
***
Offline Offline

Activity: 215


View Profile

Ignore
January 21, 2012, 12:07:18 AM
 #4

me too i finally got it to build but it wont run.... i was told nobody has built it in windows that even the windows exe was built in linux using gitian so im working on building with gitian now

I have a feeling that it might be due mixing of mingw and msvc compilers.
Gavin Andresen
Legendary
*
qt
Offline Offline

Activity: 1652


Chief Scientist


View Profile WWW

Ignore
January 21, 2012, 01:24:42 AM
 #5

We need more Windows developers, by the way; if you know a lot about developing in C++ on Windows and want to (for example) create a Visual Studio project or resurrect makefile.vc or fix the build instructions if they're not right that'd be spiffy.

How often do you get the chance to work on a potentially world-changing project?
cheat_2_win
Full Member
***
Offline Offline

Activity: 215


View Profile

Ignore
January 21, 2012, 02:16:18 AM
 #6

I will try to compile everything from source code rather than using the dependencies packages. Once everything works, I will definitely post the instructions.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!