[CMake] CMake + Cygwin + MSVC Toolchain problems

Robert Dailey rcdailey at gmail.com
Fri Nov 11 14:25:08 EST 2011


Based on this URL:
http://cygwin.com/ml/cygwin/2006-07/msg00376.html

Seems like this happens because I am using windows-style paths in Cygwin. I
don't know how to make it use different paths though.

---------
Robert Dailey


On Fri, Nov 11, 2011 at 1:19 PM, Robert Dailey <rcdailey at gmail.com> wrote:

> At line 25 in the depend.make file in question, I have this:
>
> common/exchange/gdexchsrvcommon/CMakeFiles/gdwincommon.dir/gdcomhelpers.cpp.obj:
> C:/Program\ Files/Microsoft\ SDKs/Windows/v6.0A/Include/SCardErr.h
>
> ---------
> Robert Dailey
>
>
>
> On Fri, Nov 11, 2011 at 1:17 PM, Robert Dailey <rcdailey at gmail.com> wrote:
>
>> I have been generating for Visual Studio, but I decided to try setting up
>> my Cygwin environment to point to the MSVC tool chain. So far it's worked
>> wonderfully, but one of my targets is failing and I don't understand
>> Makefiles very well so I have no idea what the problem is. Note that I'm
>> doing an out of source build.
>>
>> Here is the error I get:
>>
>> common/exchange/gdexchsrvcommon/CMakeFiles/gdwincommon.dir/depend.make:25:
>> *** target pattern contains no `%'.  Stop.
>> make[1]: ***
>> [common/exchange/gdexchsrvcommon/CMakeFiles/gdwincommon.dir/all] Error 2
>> make: *** [all] Error 2
>>
>> Is this enough information or do you need some more info? About 20
>> dependent targets prior to this one compiled just fine.
>>
>> ---------
>>  Robert Dailey
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111111/6dcf60ff/attachment.htm>


More information about the CMake mailing list