Page 1 of 1

Compilation Problems

Posted: 16 Aug 2011, 20:45
by Speier
I am trying to compile on a windows 7 system and am running into several problems. Initially, I tried to compile using the pre-compiled static Qt libraries using MinGW with gcc 4.4.0. When I try to configure it with Make MinGW Makefiles.bat, I get the error:
CMake Error at cmake/SignalProcessingMacro.cmake:32 (QT4_AUTOMOC):
Unknown CMake command "QT4_AUTOMOC".

I then tried to build against a Qt distribution outside the source tree using Qt version 4.7.3 and MinGW with gcc 4.4.0. It now configures correctly, but when I try to compile using mingw32-make, I get the error:
error: cannot convert 'std::string' to 'const char*' for argument '1' to 'char* __cxxabiv1::__cxa_demangle(const char*, char*, size_t*, int*)'

I've changed the versions of Qt and MinGW and even tried using Borland C++ Builder and I get the same error every time. Am I missing something?

Re: Compilation Problems

Posted: 17 Aug 2011, 08:48
by mellinger
Hi,

the CMake error message referring to QT4_AUTOMOC is strange. Which version of CMake are you using?

MinGW compilation was actually broken for a few days, but should work again now. Borland Builder support is being fixed right now, and will be available a few hours from now.

Sorry for the inconvenience,
Juergen

Re: Compilation Problems

Posted: 17 Aug 2011, 18:45
by Speier
Downloaded it again today and I had no problems building against a Qt distribution outside the BCI2000 source tree. Thanks for your help.