Page 1 of 1

Cmake could not find qttemp.exe

Posted: 25 Nov 2015, 18:04
by quangnguyen
Hello,

I'm trying to build BCI2000 in window 7 - 32bit by VS2010. When building using cmake GUI, I got this error message:

Code: Select all

CMake Error at cmake/FindQt.cmake:50 (MESSAGE):
  Could not extract
  C:/BCI2000src/build_msvc2010/CMakeFiles/extlib/qt-5.3.2/qttemp.exe, error
  is: The system cannot find the file specified
Call Stack (most recent call first):
  cmake/FindQt.cmake:100 (GET_EXTRACT_QT)
  cmake/FindQt.cmake:124 (GET_PRECOMP_QT)
  cmake/FindQt.cmake:185 (FIND_PRECOMP_QT)
  cmake/Utils.cmake:102 (INCLUDE)
  CMakeLists.txt:22 (UTILS_INCLUDE)
I stored my source code in C:\BCI2000src\build and put all binaries in C:\BCI2000src\build_msvc2010.

It seemed that cmake could not find the file qttemp.exe (hence, unable to extract it).

Does anybody have a clue about this issue?
Thanks,
Quang

Re: Cmake could not find qttemp.exe

Posted: 07 Dec 2015, 14:54
by pbrunner
Quangnguyen,

we will soon release BCI2000 v3.6 which will require VS2012 SP4 and CMake 3.2.x. The current BCI2000 SVN trunk compiles fine and is currently beta tested. Can you please download the BCI2000 svn trunk [1], install VS2012 SP4 (which is required), CMake 3.2.x and execute the "Make VS2012 Project Files.cmd" command to create the BCI2000 visual studio solution file? This should then compile fine. Let me know if you run into any problems.

Regards, Peter

[1] http://www.bci2000.org/svn/trunk

Re: Cmake could not find qttemp.exe

Posted: 09 Dec 2015, 08:39
by quangnguyen
Dear Peter,

It works perfectly, thank you so much.

Regards,
Quang

Re: Cmake could not find qttemp.exe

Posted: 09 Dec 2015, 10:33
by pbrunner
Quang,

no problem.

May I also recruit you for the BCI2000 beta test?

For this purpose please check out the BCI2000 beta test thread:
http://www.bci2000.org/phpbb/viewtopic. ... 8315#p8315

Regards, Peter