[Insight-developers] VXL + WrapITK for Farsight

Kevin H. Hobbs hobbsk at ohiou.edu
Tue Jun 9 17:24:20 EDT 2009


On Tue, 2009-06-09 at 16:42 -0400, Kevin H. Hobbs wrote:

> Linking CXX shared module ../../../../bin/_VXLNumericsPython.so
> cd /home/kevin/kitware/Insight_build/Wrapping/WrapITK/Modules/VXLNumerics && /home/kevin/kitware/CMake_Build/bin/cmake -E cmake_link_script CMakeFiles/_VXLNumericsPython.dir/link.txt --verbose=1
> /usr/lib64/ccache/c++  -fPIC -fPIC  -ftemplate-depth-50 -Wall -Wno-deprecated -w  -ftemplate-depth-50 -Wall -Wno-deprecated -O3 -DNDEBUG    -shared -Wl,-soname,_VXLNumericsPython.so -o ../../../../bin/_VXLNumericsPython.so CMakeFiles/_VXLNumericsPython.dir/wrap_VXLNumericsPythonPython.o CMakeFiles/_VXLNumericsPython.dir/wrap_vcl_complexPython.o CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_matrixPython.o CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_vectorPython.o CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_c_vectorPython.o CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_diag_matrixPython.o CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_file_matrixPython.o CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_file_vectorPython.o CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_fortran_copyPython.o CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_matrix_fixedPython.o CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_matrix_fixed_refPython.o CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_matrix_refPython.o CMakeFiles/_VXLNumericsPython.dir/wrap_vnl_vector_refPython.o -L. -L/home/kevin/kitware/vxl-build/lib -L/home/kevin/kitware/Insight_build/bin -litkvnl ../../../../bin/libitkvnl_inst.so.3.15.0 ../../../../bin/libSwigRuntimePython.so /usr/lib64/python2.5/config/libpython2.5.so -lvnl_algo -lvnl -lv3p_netlib -lnetlib -lvcl -lm -Wl,-rpath,.:/home/kevin/kitware/vxl-build/lib:/home/kevin/kitware/Insight_build/bin:/usr/lib64/python2.5/config
> /usr/bin/ld: cannot find -litkvnl

I entered the directory
Insight_build/Wrapping/WrapITK/Modules/VXLNumerics and repeated the
command without the -litkvnl which completed successfully and then went
back to the top of the build tree and make was able to proceed...

I did some grepping of CMakeLists.txts and I
think ./Wrapping/WrapITK/Modules/VXLNumerics/CMakeLists.txt is the only
place where this library is used.

[kevin at gargon Insight]$ for all in `find ./ -name CMakeLists.txt` ; do grep -l -w itkvnl $all; done
./Code/Review/CMakeLists.txt
./Utilities/vxl/core/vnl/tests/CMakeLists.txt
./Utilities/vxl/core/vnl/algo/CMakeLists.txt
./Utilities/vxl/core/vnl/examples/CMakeLists.txt
./Utilities/vxl/core/vnl/CMakeLists.txt
./Wrapping/WrapITK/Modules/VXLNumerics/CMakeLists.txt

Should it not be linked in if ITK_USE_SYSTEM_VXL is set?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20090609/540c6d48/attachment.pgp>


More information about the Insight-developers mailing list