[CMake] Include path Tcl under Cygwin

marco atzeri marco.atzeri at gmail.com
Thu Jul 4 04:59:42 EDT 2013


Il 7/4/2013 10:30 AM, Arjen Markus ha scritto:
> On Thu, 04 Jul 2013 10:21:16 +0200
>   marco atzeri <marco.atzeri at gmail.com> wrote:
>
>>
>> only as you have Windows TCL on the path,
>> before the cygwin one.
>>
>
> No, it is not that simple. The path starts with:
>
> /usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Intel/Composer
> XE 2011 SP1/redist/intel64/mkl:....
>
> so Cygwin's tclsh is definitely found before any other
> version.
>
>
>>
>> on my system, I see:
>>
>> CMakeCache.txt:TCL_INCLUDE_PATH:PATH=/usr/include
>> CMakeCache.txt:TCL_LIBRARY:FILEPATH=/usr/lib/libtcl.dll.a
>> CMakeCache.txt:TCL_TCLSH:FILEPATH=/bin/tclsh
>> CMakeCache.txt://Details about finding TCL
>> CMakeCache.txt:FIND_PACKAGE_MESSAGE_DETAILS_TCL:INTERNAL=[/usr/lib/libtcl.dll.a][/usr/include][v()]
>>
>> CMakeCache.txt://Details about finding TCLTK
>> CMakeCache.txt:FIND_PACKAGE_MESSAGE_DETAILS_TCLTK:INTERNAL=[/usr/lib/libtcl.dll.a][/usr/include][/usr/lib/libtk.dll.a][/usr/include][v()]
>>
>>
>
> That is definitely more reasonable.
>
>>
>> Just to be sure, are you  referring to plplot-5.9.9
>> or to another software ?
>>
>
> Yes, this is plplot-5.9.9

ok, so adjust the TCL_INCLUDE_PATH to the right place.

You will find some other issues later:

QHULL is not detected as looking for headers in the wrong place
  (upstream changed location on last relase,
   I can send a patch if you are interested)

similar problem for octave, but you can just put the right PATH

OCTAVE_LIBRARIES:FILEPATH=/usr/lib/octave/3.6.4/liboctave.dll.a
OCTAVE_INCLUDE_PATH:INTERNAL=/usr/include;/usr/include/octave-3.6.4

I was unable to follow up after "test_svg_dyndriver.dir",
but I have not really tried as this software seems too big for my taste

>
> Regards,
>
> Arjen

Marco



More information about the CMake mailing list