[Insight-users] build of cableswig - how to specify the SWIG Lib directory?
Luis Ibanez
luis.ibanez at kitware.com
Fri May 15 07:13:53 EDT 2009
Hi Darren,
You may find useful to look at the Tutorial:
http://farsight-toolkit.org/wiki/FARSIGHT_Tutorials/Building_Software/Building_CableSwig
Please let us know if you still find any problems.
Thanks
Luis
--------------------
Darren Weber wrote:
>
> 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
>
>
> ------------------------------------------------------------------------
>
> _____________________________________
> 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 ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list