[CMake] VC2010 Express + CMake = fails

Robert Dailey rcdailey at gmail.com
Sat Nov 19 13:48:59 EST 2011


I mean specifically is there some environment variable that CMake checks
for the location of VC2010? I want to make sure the correct path is set on
it.

Thanks.

---------
Robert Dailey


On Sat, Nov 19, 2011 at 12:08 PM, Michael Jackson <
mike.jackson at bluequartz.net> wrote:

> The best way to ensure your environment is setup correctly is to launch
> cmake from one of the dedicated command prompts that come with visual
> studio.
>
> -----
> Mike Jackson                     www.bluequartz.net
> Principal Software Engineer       mike.jackson at bluequartz.net
> BlueQuartz Software               Dayton, Ohio
> ____________________________
> Sent from my mobile device. Please excuse the shortness of the reply.
>
> On Nov 19, 2011, at 9:46, Robert Dailey <rcdailey at gmail.com> wrote:
>
> Seems that for some reason the VC2010 scripts are finding the VS 2003
> compiler, which is where the shorthand form of that path points. Obviously
> the path for VC2010 Express doesn't have ".NET" in the path.
>
> Where is it looking for the path to VC2010 Express? Maybe my environment
> is setup improperly.
>
> ---------
> Robert Dailey
>
>
> On Fri, Nov 18, 2011 at 10:48 PM, Bill Hoffman <bill.hoffman at kitware.com>wrote:
>
>> On 11/18/2011 6:58 PM, Robert Dailey wrote:
>>
>>> Well since this is VC Express, I don't have a "devenv.com
>>> <http://devenv.com>" file in my Common7 folder, so I guess that
>>> explains it?
>>>
>>>
>>> Shouldn't CMake support VC2010 express?
>>>
>>> ---------
>>>
>>
>> It does, it is just confused because you have two compilers...
>>
>> See Modules/CMakeVS10FindMake.**cmake  for the logic.  Basically, you
>> need to set CMAKE_MAKE_PROGRAM to MSBuild I think.   I can't remember but I
>> think there was some issue with VCExpress.exe and VS 2010 not working at
>> all.
>>
>> -Bill
>>
>>
>> --
>>
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/**
>> opensource/opensource.html<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<http://www.cmake.org/Wiki/CMake_FAQ>
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake>
>>
>
> --
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111119/85d5909a/attachment.htm>


More information about the CMake mailing list