[Insight-developers] Re: problem with cableswig when sources are removed

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Thu Dec 8 04:18:01 EST 2005


On Wed, 07 Dec 2005 19:45:27 +0100, Brad King <brad.king at kitware.com>
wrote:

> Gaetan Lehmann wrote:
>>> It is supposed to look in the install location for the SWIG/Lib   
>>> directory.
>>  SWIG/Lib ?
>> I have a SWIGLib dir, but no SWIG/Lib
>> /usr/lib/CableSwig/SWIGLib/
>
> That was a typo.  I meant SWIGLib.
>
>>>    #cmakedefine SWIG_LIB_INSTALL "@SWIG_LIB_INSTALL@"
>> it is not defined.
>> I try to force it with cmake
>
> It should have been defined by SWIG/CMakeLists.txt at the bottom:
>
> # Install support library.
> SET(SWIG_LIB_INSTALL  
> ${CMAKE_INSTALL_PREFIX}${CableSwig_INSTALL_ROOT}/lib/CableSwig/SWIGLib)
> SUBDIRS(Lib)
>

I haven't search why, but setting SWIG_LIB_INSTALL with cmake
(-DSWIG_LIB_INSTALL:PATH=/usr/lib/CableSwig/SWIGLib/) works.

Thanks for your help :-)


-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr


More information about the Insight-developers mailing list