hengli / camodocal

CamOdoCal: Automatic Intrinsic and Extrinsic Calibration of a Rig with Multiple Generic Cameras and Odometry
Other
1.17k stars 391 forks source link

Cannot build CamOdoCalibration_test, HandEyeCalibration_test, #59

Closed ChidanandKumarKS closed 7 years ago

ChidanandKumarKS commented 7 years ago

CANNOT BUILD CamOdoCalibration_test, HandEyeCalibration_test, and PlanarHandEyeCalibration_test because it depends on OPENCV and HAVE_OPENCV_XFEATURES2D_NONFREE.

My status of this library is as follows

CMake Warning (dev) at CMakeLists.txt:4 (project): Policy CMP0048 is not set: project() command manages VERSION variables. Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The following variable(s) would be set to empty:

PROJECT_VERSION

This warning is for project developers. Use -Wno-dev to suppress it.

-- Could NOT find CUDA (missing: CUDA_CUDART_LIBRARY) (found version ".") CMake Warning at cmake/DependencyUtilities.cmake:19 (find_package): By not providing "FindCeres.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Ceres", but CMake did not find one.

Could not find a package configuration file provided by "Ceres" with any of the following names:

CeresConfig.cmake
ceres-config.cmake

Add the installation prefix of "Ceres" to CMAKE_PREFIX_PATH or set "Ceres_DIR" to a directory containing one of the above files. If "Ceres" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): cmake/LibraryConfig.cmake:41 (camodocal_optional_dependency) CMakeLists.txt:20 (include)

-- Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h -- Failed to find glog - Could not find glog library, set GLOG_LIBRARY to full path to libglog. -- Could NOT find Glog (missing: GLOG_INCLUDE_DIRS GLOG_LIBRARIES) -- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h -- Failed to find gflags - Could not find gflags library, set GFLAGS_LIBRARY to full path to libgflags. -- Could NOT find Gflags (missing: GFLAGS_INCLUDE_DIRS GFLAGS_NAMESPACE) -- Found Intel TBB -- OpenCV version: 2.4.6.1 -- Using internal version of ceres-solver -- Boost version: 1.46.1 -- Found the following Boost libraries: -- filesystem -- program_options -- serialization -- system -- thread -- Build type is Release -- Found SSE4.1 extensions, using flags: -msse4.1 -mfpmath=sse -- Looking for C++ include iso646.h -- Looking for C++ include iso646.h - not found -- Found LibDL: /usr/lib/i386-linux-gnu/libdl.so -- Found LIBNSL: /usr/lib/i386-linux-gnu/libnsl.so -- Could NOT find Librt (missing: Librt_LIBRARIES) -- Found LIBM: /usr/lib/i386-linux-gnu/libm.so -- CANNOT BUILD CamOdoCalibration_test, HandEyeCalibration_test, and PlanarHandEyeCalibration_test because it depends on OPENCV and HAVE_OPENCV_XFEATURES2D_NONFREE. --


-- DEPENDENCY: Required: Found:


-- BLAS yes yes -- Eigen3 yes yes -- LAPACK yes yes -- SuiteSparse yes yes -- CUDA no yes -- Ceres no yes -- GTest no yes -- OpenMP no yes -- Glog no no -- Gflags no yes -- TBB no yes -- OpenCV no yes -- Threads no yes --


-- Library: Build: Condition:


-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Failed -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Failed -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed -- Performing Test COMPILER_HAS_DEPRECATED -- Performing Test COMPILER_HAS_DEPRECATED - Failed -- agast TRUE (satisfied) -- camodocal_brisk TRUE (satisfied) -- camodocal_calib TRUE (satisfied) -- camodocal_camera_systems TRUE (satisfied) -- camodocal_chessboard TRUE (satisfied) -- camodocal_dbow2 TRUE (satisfied) -- camodocal_dutils TRUE (satisfied) -- camodocal_dutilscv TRUE (satisfied) -- camodocal_dvision TRUE (satisfied) -- camodocal_gpl TRUE (satisfied) -- camodocal_location_recognitionTRUE (satisfied) -- camodocal_fivepoint TRUE (satisfied) -- camodocal_pose_estimation TRUE (satisfied) -- camodocal_pose_graph TRUE (satisfied) -- camodocal_pugixml TRUE (satisfied) -- camodocal_sparse_graph TRUE (satisfied) --


-- Executable: Build: Condition:


-- dbow2_demo TRUE (satisfied) -- train_voctree TRUE (satisfied) --


-- Test: Build: Condition:


-- -- Configuring done -- Generating done

ChidanandKumarKS commented 7 years ago

Kindly provide the solution as iam ubuntu 14.04