Compilation Problems
Posted: 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?
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?