[Insight-users] build of cableswig - how to specify the SWIG Lib directory?

Darren Weber darren.weber.lists at gmail.com
Thu May 14 16:10:39 EDT 2009


A source build and binary install for cswig fails with:

[ dweber at X ~/ports ]$ cswig
Cannot find SWIG Lib directory.  Checked:

/opt/local/var/macports/build/_Users_dweber_ports_devel_cableswig/work/cableswig-20090514/SWIG/Lib
[ dweber at X ~/ports ]$
[ dweber at X ~/ports ]$ otool -L /opt/local/bin/cswig
/opt/local/bin/cswig:
    /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version
7.4.0)
    /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version
1.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
111.1.3)


This build of cableswig must use a DESTDIR on the install and the final
installation is actually moved from that DESTDIR into a ${prefix} location
(actually /opt/local in this case).  The final location for the SWIG Lib is
actually /opt/local/lib/CableSwig/SWIGLib/.

How can we specify this SWIG Lib directory during the build configuration?
Is it a cmake variable or is it a CMakeList.txt setting?

Thanks in advance,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090514/679df9b3/attachment.htm>


More information about the Insight-users mailing list