Compilation Problems

Forum for software developers to discuss BCI2000 software development
Locked
Speier
Posts: 4
Joined: 16 Aug 2011, 20:26

Compilation Problems

Post by Speier » 16 Aug 2011, 20:45

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?

mellinger
Posts: 1341
Joined: 12 Feb 2003, 11:06

Re: Compilation Problems

Post by mellinger » 17 Aug 2011, 08:48

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

Speier
Posts: 4
Joined: 16 Aug 2011, 20:26

Re: Compilation Problems

Post by Speier » 17 Aug 2011, 18:45

Downloaded it again today and I had no problems building against a Qt distribution outside the BCI2000 source tree. Thanks for your help.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests