[CMake] Include path Tcl under Cygwin

Arjen Markus arjen.markus at deltares.nl
Thu Jun 27 02:37:06 EDT 2013


Hi Marco,

something odd here:
My Cygwin distribution does have all the Tcl include files
in the usual directory - /usr/include. I run the Cygwin-version
of CMake and therefore it should be using all the modules
that come with Cygwin. I see no immediate reason for it to
return the path to the Windows version of Tcl.

(cygpath does do the trick though, thanks for that tip)

Regards,

Arjen

On 2013-06-26 14:43, Arjen Markus wrote:
> Hi Marco,
> 
> I will have a look at cygpath, thanks.
> 
> I do have Tcl installed under Cygwin, but maybe not the
> include files, so it is finding the ones from the Windows
> installation. Hm.
> 
> Regards,
> 
> Arjen
> 
> On Wed, 26 Jun 2013 14:40:41 +0200
>  marco atzeri <marco.atzeri at gmail.com> wrote:
>> Il 6/26/2013 2:23 PM, Arjen Markus ha scritto:
>>> Hello,
>>>
>>> for the PLplot project I am looking for the solution of a
>>> problem that occurs under Cygwin:
>>> The FindTcl module returns the path for the include files
>>> as "c:/tcl/include".
>>
>> I assume you are not using the cygwin tcl ..
>> as the package contebt and location is reported here
>>
>> http://cygwin.com/packages/tcl/tcl-8.5.11-1
>>
>>> This is fine under Windows and MinGW/MSYS, but it causes a
>>> problem under Cygwin: the colon interfers with the syntax
>>> of a Makefile. My guess is that this problem will occur
>>> with other packages too.
>>>
>>> So I am looking for a way to turn the path "c:/xxx" to
>>> "/cygdrive/c/xxx", but since the prefix "/cygdrive/" may be
>>> installation dependent, a mere replacement seems risky.
>>
>> man cygpath
>>
>>>
>>> Any suggestions?
>>>
>>> Regards,
>>>
>>> Arjen
>>
>> Regards
>> Marco
>>
>>
>> -- 
>>
>> 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
>>
> 
> 
> 
> 
> DISCLAIMER: This message is intended exclusively for the addressee(s) 
> and may contain confidential and privileged information. If you are not 
> the intended recipient please notify the sender immediately and destroy 
> this message. Unauthorized use, disclosure or copying of this message is 
> strictly prohibited.
> The foundation 'Stichting Deltares', which has its seat at Delft, The 
> Netherlands, Commercial Registration Number 41146461, is not liable in 
> any way whatsoever for consequences and/or damages resulting from the 
> improper, incomplete and untimely dispatch, receipt and/or content of 
> this e-mail.
> 
> 
> 
> 
> -- 
> 
> 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
> 

 

DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail.






More information about the CMake mailing list