build using cmake
build using cmake
I followed the instructions as provided on the link:
http://www.bci2000.org/wiki/index.php/P ... ng_BCI2000
but when i run the Make VS10 Project Files.bat file and answer the questions.
It shows the following errors:
Qt OPENGL library not found.
Qt QTGUI library not found.
Qt QTCORE library not found.
Unknown Cmake command "QT4_WRAP_CPP".
Please help.
Thank you.
http://www.bci2000.org/wiki/index.php/P ... ng_BCI2000
but when i run the Make VS10 Project Files.bat file and answer the questions.
It shows the following errors:
Qt OPENGL library not found.
Qt QTGUI library not found.
Qt QTCORE library not found.
Unknown Cmake command "QT4_WRAP_CPP".
Please help.
Thank you.
-
- Posts: 4
- Joined: 10 Feb 2014, 14:58
Re: build using cmake
I have the same problem! Did you find the solution?
Re: build using cmake
What operating system are you using?
What compiler are you using?
What IDE are you trying to make the project for?
What compiler are you using?
What IDE are you trying to make the project for?
-
- Posts: 4
- Joined: 10 Feb 2014, 14:58
Re: build using cmake
I'm using windows 7 with visual studio 2010 c++ compiler
Last edited by Ceclombart on 26 Feb 2014, 14:41, edited 2 times in total.
Re: build using cmake
32- or 64-bit Windows?
Visual Studio 2010 Pro or Express?
Depending on your configuration, I might be able to test it exactly and update the Wiki if anything is wrong.
Visual Studio 2010 Pro or Express?
Depending on your configuration, I might be able to test it exactly and update the Wiki if anything is wrong.
-
- Posts: 4
- Joined: 10 Feb 2014, 14:58
Re: build using cmake
Thank you for your answer but i found the solution on this page:http://www.bci2000.org/phpbb/viewtopic.php?f=8&t=2058
"We managed to fix this by downloading and installing Qt 4.8 and modifying the FindQt.cmake file in the build/cmake directory of BCI2000 from "SET( USE_STD_QT FALSE )" to read "SET( USE_STD_QT TRUE )". This fix isn't ideal, since the Qt installation is another 200MB after checking out the BCI2000 source code, but I'm not sure what else to do."
This was windows 7 64 bits and Visual studio express
"We managed to fix this by downloading and installing Qt 4.8 and modifying the FindQt.cmake file in the build/cmake directory of BCI2000 from "SET( USE_STD_QT FALSE )" to read "SET( USE_STD_QT TRUE )". This fix isn't ideal, since the Qt installation is another 200MB after checking out the BCI2000 source code, but I'm not sure what else to do."
This was windows 7 64 bits and Visual studio express
Re: build using cmake
I'm glad you fixed it. Obviously you aren't the only one that's had this issue. I don't know why I've been able to make using Win7-x64 and VS2010 Express without issue, while others have had problems. Even though you've solved it, could you help me debug it a little more?
I assumed you used "Make VS10 Project Files.cmd" (instead of .bat) found in your build directory. Is this correct?
Do you have a folder at bci2000\build\download_cache\qt? If so, what are its contents? I wonder if I was able to make without issue because I lug this folder around with me to new systems, including qt I've downloaded for other systems.
I assumed you used "Make VS10 Project Files.cmd" (instead of .bat) found in your build directory. Is this correct?
Do you have a folder at bci2000\build\download_cache\qt? If so, what are its contents? I wonder if I was able to make without issue because I lug this folder around with me to new systems, including qt I've downloaded for other systems.
- qt-4.7.0.include
qt-4.7.0.win32-g++
qt-4.7.0.win32-msvc2008
qt-4.7.0.win32-msvc2010
qt-4.8.4.include
qt-4.8.4.win32-amd64-msvc2008
qt-4.8.4.win32-msvc2008
qt-4.8.4.win32-msvc2010
-
- Posts: 4
- Joined: 10 Feb 2014, 14:58
Re: build using cmake
I assumed you used "Make VS10 Project Files.cmd" (instead of .bat) found in your build directory. Is this correct?
No I used Make VS10 Project Files.bat, i dont have any "Make VS10 Project Files.cmd" in my directory.
Do you have a folder at bci2000\build\download_cache\qt?
I don't have this folder sorry :/
But i have an other issue now, i tried to use the neurosky contribution but when i tried to compile i have this error
LINK : fatal error LNK1181: impossible d'ouvrir le fichier en entrée '..\..\..\frameworks\CoreLib\Release\BCI2000FrameworkCore.lib'
Do you have any ideas?
Thank you for your interest
No I used Make VS10 Project Files.bat, i dont have any "Make VS10 Project Files.cmd" in my directory.
Do you have a folder at bci2000\build\download_cache\qt?
I don't have this folder sorry :/
But i have an other issue now, i tried to use the neurosky contribution but when i tried to compile i have this error
LINK : fatal error LNK1181: impossible d'ouvrir le fichier en entrée '..\..\..\frameworks\CoreLib\Release\BCI2000FrameworkCore.lib'
Do you have any ideas?
Thank you for your interest
Re: build using cmake
How did you download the source code?
Choose a different folder somewhere and download BCI2000 from svn as instructed here.
This will get you the latest version of the source code. It has some bugs but I think for your purposes it should work well. The make and build process is different and you should see those folders I indicated previously.
Choose a different folder somewhere and download BCI2000 from svn as instructed here.
This will get you the latest version of the source code. It has some bugs but I think for your purposes it should work well. The make and build process is different and you should see those folders I indicated previously.
Who is online
Users browsing this forum: Google [Bot] and 15 guests