Page 1 of 1

Error building a project in Windows 7 64 bit

Posted: 07 Jan 2014, 04:29
by pnunez
I am trying to build a new project in Windows 7 64 bit with CMake (running Make VS10 Project Files).

First I had to give administrator privileges to VS 2010 because I got this error message
Error3.PNG

As suggested here: http_nospam_www.stackoverflow.com/quest ... st-program

The second issue I ran into was the lack of a BCI2000-specific Qt build for my configuration, so I installed Qt 5.2.0 and added USE_EXTERNAL_QT:BOOL=ON to CMakeCache.

But now it tells me that the C compiler identification is unknown? I have Visual Studio 2010 installed (with SP 1). Any help would be greatly appreciated.
Error1.PNG
Error2.PNG
UPDATE: I tried building a new project on a different PC with the same OS (Windows 7 64 bit) and I got the exact same error.

Re: Error building a project in Windows 7 64 bit

Posted: 30 Sep 2014, 16:06
by ksp6
I am facing the exact same problem. Any suggestions?

- Kedar

Re: Error building a project in Windows 7 64 bit

Posted: 01 Oct 2014, 15:48
by ksp6
I was finally able to get this work. Here is what I did just in case anyone faces the same issue. Just FYI, I am using Cmake version 3.0.2, and "Building against a Qt distribution outside the BCI2000 source tree"

1. Run cmd.exe as an administrator and cd into the \build directory.
2. Now run "Make VS 2010 Project Files.bat"
3. If it gives LNK1123 error, then check your VS2010 installation. Go to Help->About Visual Studio. If the version says RTMRel, then you need to upgrade your VS to Service Pack 1. You can do that through Windows updates.

I was finally able to get this work after a lot of searching. Hopefully this will help someone.

- Kedar