Hi, I have successfully got the camera intrinsic parameters with CamOdoCal and I want to use initUndistortMap() to correct the raw image.
In my plan, I make a new project to call the functions of CamOdoCal. My CMakelists is :
But when making, it meets some trouble.
[ 0%] Building CXX object CMakeFiles/Camera_Undistort.dir/Undistort.cpp.o [ 1%] Linking CXX executable Camera_Undistort /usr/bin/ld: cannot find -lCamOdoCal
I am not sure that what lCamOdoCal is. Is there someone to say someting? Thank you!
Hi, I have successfully got the camera intrinsic parameters with CamOdoCal and I want to use initUndistortMap() to correct the raw image. In my plan, I make a new project to call the functions of CamOdoCal. My CMakelists is :
`cmake_minimum_required(VERSION 2.8) project(Camera_Undistort)
add_subdirectory(./CamOdoCal)
Set the opencv path and not find the ros opencv
SET(OpenCV_DIR /usr/local/share/OpenCV) find_package(OpenCV REQUIRED)
include_directories( "/usr/include/eigen3" ${OpenCV_INCLUDE_DIRS} )
add_executable(Camera_Undistort Undistort.cpp)
target_link_libraries(Camera_Undistort ${OpenCV_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIR} CamOdoCal)`
But when making, it meets some trouble.
[ 0%] Building CXX object CMakeFiles/Camera_Undistort.dir/Undistort.cpp.o [ 1%] Linking CXX executable Camera_Undistort /usr/bin/ld: cannot find -lCamOdoCal
I am not sure that what lCamOdoCal is. Is there someone to say someting? Thank you!