[CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

Olumide 50295 at web.de
Thu Dec 6 17:49:07 EST 2007


Bill Hoffman wrote:
>> I've started the visual studio (.NET 2003) command prompt as you 
>> described and typed the commands
>>
>> cmake -G"Unix Makefiles" C:\Work\Demo\TestTexturePlugin
>> cmake -G"NMake Makefiles" C:\Work\Demo\TestTexturePlugin
>>
>> in it, but I still got the errors:
>> CMAKE_CXX_COMPILER
>> CMake Error: Could not find cmake module file:C:/Program Files/Common 
>> Files/System/Mapi/1033/CMakeFiles/CMakeCXXCompiler.cmake
>> CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
>> CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
>> -- Configuring done
>>
>>
> Bad compiler installation?   Can you run nmake and cl from that prompt?

nmake and cl work from that prompt.

C:\Program Files\Common Files\System\MAPI\1033>nmake

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.

-----------------------------------------------------

C:\Program Files\Common Files\System\MAPI\1033>cl
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]


PS: the di C:\Program Files\Common Files\System\Mapi\1033\CMakeFiles 
exists but it contains only the file cmake.check_cache


More information about the CMake mailing list