Hello,
I'm using the last vxl repository in a ubuntu machine.
I compiled vxl without problem.
I'm writing my classes and wrappers from vxl, cmake work fine finding
vxl, BUT
at the and of generating the Makefile I get the warning:
CMake Warning at projects/annotation_tool/exec/CMakeLists.txt:3
(ADD_EXECUTABLE):
Cannot generate a safe linker search path for target annotation_tool_exec
because files in some directories may conflict with libraries in implicit
directories:
link library [libgeotiff.so] in /usr/lib may be hidden by files in:
/home/piccir/Documents/vxl_build/lib
Some of these libraries may not be found correctly.
Now libgeotiff is required from vxl and he makes his own version in lib,
but is different from the one in /usr/lib.
I'll post this problem on vxl mailing list too.
When compiling I get this error:
/usr/bin/ld:
/home/piccir/Documents/vxl_build/lib/libgeotiff.a(geo_tiffp.o):
undefined reference to symbol '_TIFFrealloc'
/usr/bin/ld: note: '_TIFFrealloc' is defined in DSO
/usr/lib/i386-linux-gnu/libtiff.so so try adding it to the linker
command line
/usr/lib/i386-linux-gnu/libtiff.so: could not read symbols: Invalid
operation
How to change the library to link in cmake? or I have to manually edit
the Makefile??
Thank you
Marco
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake