This has been tried on both a WinXP (64 bit) and a Win7 (32 bit) system. IDE is Visual Studio 2010.
Running the file "Make VS10 Project Files.bat", renders the error "Unknown CMake command "QT4_WRAP_CPP".", both from the current revision (4761) or at the latest release version (4230).
Following the advice given in other threads, and linking to an own installation of QT4 (v.4.8.6) works initially, but renders the error "QtCore4.dll cannot be found" when running a built test module, as per this thread. The wiki also advices against this build method, citing "DLL hell" issues.
To quote mellingers post
I cannot get this method to work. I have tested it on both XP and 7, CMake v.2.8.3 (linked from here) and latest stable release (3.0.2, downloaded from Cmake.org). Output below;There is no USE_STD_QT any more -- instead, cmake will try to detect whether there is a BCI2000-precompiled version of Qt available for your platform/compiler, and will try to detect an external installation of Qt if this is not the case.
Code: Select all
C:\Documents and Settings\Administrator\My Documents\BCI2000\v4230\build>cmake
-G "Visual Studio 10"
-- Check for working C compiler using: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 10
-- Check for working CXX compiler using: Visual Studio 10 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Qt QTGUI library not found.
Qt QTCORE library not found.
-- Creating Project files for BCI2000 Version 3.0.5
-- Skipping custom extension DataGloveLogger
---- (to enable, set the BUILD_DATAGLOVELOGGER setting to TRUE)
-- Skipping custom extension WebcamLogger
---- (to enable, set the BUILD_WEBCAMLOGGER setting to TRUE)
-- Skipping custom extension EyetrackerLogger
---- (to enable, set the BUILD_EYETRACKERLOGGER setting to TRUE)
-- Skipping custom extension WiimoteLogger
---- (to enable, set the BUILD_WIIMOTELOGGER setting to TRUE)
-- Skipping custom extension GazeMonitorFilter
---- (to enable, set the BUILD_GAZEMONITORFILTER setting to TRUE)
-- Skipping custom extension AudioExtension
---- (to enable, set the BUILD_AUDIOEXTENSION setting to TRUE)
---Adding Framework Library: BCI2000FrameworkCore
---Adding Framework Library: BCI2000FrameworkSigSrcModule
---Adding Framework Library: BCI2000FrameworkSigProcModule
---Adding Framework Library: BCI2000FrameworkAppModule
Qt QTOPENGL library not found.
Qt QTGUI library not found.
Qt QTCORE library not found.
Qt QTOPENGL library not found.
Qt QTGUI library not found.
Qt QTCORE library not found.
CMake Error at C:/Documents and Settings/Administrator/My Documents/BCI2000/v423
0/src/extlib/3DAPI/Demo/CMakeLists.txt:31 (QT4_WRAP_CPP):
Unknown CMake command "QT4_WRAP_CPP".
-- Configuring incomplete, errors occurred!
Press any key to continue . . .