this is my problem.. it tells me that it can not find the levmar package:

luc...@schwarz:~/work/ransac$ make
Linking CXX executable TestAcquireGPS
/usr/bin/ld: cannot find -llevmar
collect2: ld returned 1 exit status
make[2]: *** [TestAcquireGPS] Error 1
make[1]: *** [CMakeFiles/TestAcquireGPS.dir/all] Error 2
make: *** [all] Error 2
luc...@schwarz:~/work/ransac$

but, in my CMakeLists.txt file I have the following lines:

INCLUDE_DIRECTORIES (../common/levmar)
LINK_DIRECTORIES (../../common/levmar)

ADD_EXECUTABLE (TestAcquireGPS TestAcquireGPS.cpp
        AcquireGPS.cpp)
TARGET_LINK_LIBRARIES (TestAcquireGPS vtkCommon vtkRendering vtkWidgets
vtkHybrid vtkGraphics ann lapack levmar)

What am I missing ?
Thank you in advance !
_______________________________________________
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 CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to