Title: bitcoin-qt build error
Post by: stcupp on January 18, 2012, 01:29:45 AM
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 ./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?
Title: Re: bitcoin-qt build error
Post by: cheat_2_win on January 20, 2012, 07:13:39 PM
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 ./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.
Title: Re: bitcoin-qt build error
Post by: stcupp on January 20, 2012, 11:19:17 PM
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
Title: Re: bitcoin-qt build error
Post by: cheat_2_win on January 21, 2012, 12:07:18 AM
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.
Title: Re: bitcoin-qt build error
Post by: Gavin Andresen on January 21, 2012, 01:24:42 AM
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.
Title: Re: bitcoin-qt build error
Post by: cheat_2_win on January 21, 2012, 02:16:18 AM
I will try to compile everything from source code rather than using the dependencies packages. Once everything works, I will definitely post the instructions.
|