Error building a project in Windows 7 64 bit

Known Issues and Problems with BCI2000
Locked
pnunez
Posts: 1
Joined: 19 Dec 2013, 07:00

Error building a project in Windows 7 64 bit

Post by pnunez » 07 Jan 2014, 04:29

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.

ksp6
Posts: 12
Joined: 22 Mar 2013, 11:29

Re: Error building a project in Windows 7 64 bit

Post by ksp6 » 30 Sep 2014, 16:06

I am facing the exact same problem. Any suggestions?

- Kedar

ksp6
Posts: 12
Joined: 22 Mar 2013, 11:29

Re: Error building a project in Windows 7 64 bit

Post by ksp6 » 01 Oct 2014, 15:48

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

Locked

Who is online

Users browsing this forum: No registered users and 5 guests