PDA

View Full Version : cmake help


gibroni
01-20-2013, 09:03 PM
Ok im new to this cmake stuff that the project just went to and am looking for helping getting started with it. i downloaded and tried setting up and using but have a few things im unsure of. I want to build 64 bit and am using visual studio 2010 professional. when i am configuring in cmake, it says to specify which generator to use for this project. if i select 2010 64 i get nowhere, if i select 2011 64 then it lets me move on and start setting dependacies and such. i thought i might have figured it all out, but am stuck on a cmake_linker-not found issue. anyone able to give a little help on what i might be doing wrong or some directions on trying to get started with this ? thanks.

KLS
01-21-2013, 12:37 AM
What is the exact error message(s) you get when you try to generate a Visual Studio 10 Win64?

gibroni
01-21-2013, 01:27 AM
CMake Error at CMakeLists.txt:4 (PROJECT):
Cannot enable 64-bit tools with Visual Studio 2010 Express.

Install the Microsoft Windows SDK v7.1 to get 64-bit tools:

http://msdn.microsoft.com/en-us/windows/bb980924.aspx



not sure if i would need that sdk v7.1 for 64 bit tools since im not using express, im using professional and as far as i know it has everything installed. guess will check it out and see what happens.

gibroni
01-21-2013, 01:38 AM
well the sdk v7.1 fails trying to install.

KLS
01-21-2013, 01:49 AM
Well that says 2010 express. Do you have that installed in addition to professional? 2010 express can only do 32 bit, 2012 express can do both 32 and 64.

If you have express installed too then perhaps it's conflicting with the professional install.

gibroni
01-21-2013, 11:03 AM
I only have 2010 prof installed

KLS
01-21-2013, 07:57 PM
Most of what I can find relating to this is where people had express installed then installed another version over it before uninstalling express.

You could try building 32-bit instead as something seems wonky about your vc install.

lerxst2112
01-21-2013, 08:37 PM
Make sure you have the service pack for 2010 installed. You can find it in Windows Update or here: http://www.microsoft.com/en-us/download/details.aspx?id=23691