Page 1 of 1

First step towards VS 2010 compilation

Posted: Mon Jun 06, 2011 1:14 pm
by toncho11
Is there VS 2010 projects in the source?

For example I would like to compile: openvibe-plugins\classification
I need to create a new project in VS and add the source myself?

win32-generate-vc-proj.cmd give me this error:

Code: Select all

Press any key to continue . . .
CMake Error: Could not create named generator Visual Studio 10 2010

Visual studio projects generation terminated successfully
otherwise win32-build.cmd works fine, so I think I have all the build dependencies in place. I have a compiled distro and it works fine.

I am more of C# developer than C++.

Re: First step towards VS 2010 compilation

Posted: Mon Jun 06, 2011 3:30 pm
by lbonnet
Hi !
In fact I didn't manage to tweak win32-generate-vc-proj.cmd in order to generate VS2010 projects.
Last time I checked cmake official documentation, it seemed like it was not possible.

If you have VS2008, you can still generate the VS2008 project, and convert it with VS2010 (the editor should ask you for it when opening the vcproj file).

I don't have much time to spent on this problem now, I'm afraid :(

Cheers

Laurent-