Am Sonntag, 18. Dezember 2011, 07:12:10 schrieb BigPilot:
> Hi,
> 
>  I'm trying to build the LibMSN-4.2 library which is build using CMake.
> I''m, however, encountering two problems:
> 
>  - I have both Visual Studio 2008 Professional (C/C++/C#) and Visual Studio
> 2010 Express Edition C# only installed on my machine. CMake however detects
> Visual Studio 2010 and complains it can't find a suitable compiler. No
> matter what I try, I can't make it understand that it should use Visual
> Studio 2008 (i.e. MSVC9).
> 
>  In the root file I tried addding
> 
>  set(CMAKE_GENERATOR "Visual Studio 9 2008")
> 
>  before the project command. It still detects MSVC10.

How do you call CMake? Usually you would just call it using "cmake -G "Visual 
Studio 9 2008" ...". Also make sure you have deleted everything in the build 
directory before trying again because the compiler is cached and cannot be 
changed after the initial configure.

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to