Author

Topic: Getting QT Error while trying to build blackcoin-qt on Windows (Read 878 times)

hero member
Activity: 690
Merit: 501
Some more details on your build environment please. What version of GCC are you trying to compile with?

I am thinking that is the problem. From a Windows command line, if I call
Code:
g++ --version
, it says 4.8.2. However, if I call the g++ executable in C:\QtSdk\mingw\bin, it is version 4.4.0. From what I have found online, this may have been fixed in a later version. I tried replacing the g++ executable with the one from my PATH (in C:\mingw32\bin), but it gave me a CreateProcess: no such file error.

I downloaded an updated mingw folder from here: http://ic3man5.wordpress.com/2012/03/04/updating-mingw-gccg-for-qt-creator-windows/ and am going to replace the mingw folder in C:\QtSdk. Hopefully that will work.


EDIT -- That fixed it! I updated g++ using the link above. Now I am getting other problems though, such as

cannot find -lboost_filesystem-mt
multiple definition of 'std::out_of_range::~out_of_range()'

Will keep working on it
hero member
Activity: 798
Merit: 500
Some more details on your build environment please. What version of GCC are you trying to compile with?
hero member
Activity: 690
Merit: 501
I think I managed to get all my dependencies and libraries right (fingers crossed), but now when trying to build blackcoin-qt, the QTSdk compiler gives me this error while building qtipcserver.o:

Code:
In function 'bool boost::interprocess::winapi::unlink_file(const char*)':
internal compiler error: in gimple_rhs_has_side_effects, at gimple.c:2343
[build/qtipcserver.o] Error1

The unlink_file function is on line 1638 of win32_api.hpp in the boost library. This seems like a GCC error, any ideas?
Jump to: