hengli / camodocal

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

I cannot build it on ubuntu14.04. There are cmake errors. #66

Open blairlpp opened 7 years ago

blairlpp commented 7 years ago

`CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_LANGUAGES_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_LANGUAGES_COMPILER CMake Error: Could not find cmake module file: /home/lpp/git_src/camodocal/build/CMakeFiles/2.8.12.2/CMakeLANGUAGESCompiler.cmake CMake Error: Could not find cmake module file: CMakeLANGUAGESInformation.cmake CMake Error: CMAKE_LANGUAGES_COMPILER not set, after EnableLanguage CUDA_TOOLKIT_ROOT_DIR not found or specified -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) -- Found installed version of Eigen: -- Found required Ceres dependency: Eigen version 3.2.0 in /usr/include/eigen3 -- Found required Ceres dependency: glog -- Found required Ceres dependency: gflags -- Found Ceres version: 1.13.0 installed in: /usr/local with components: [LAPACK, SuiteSparse, SparseLinearAlgebraLibrary, CXSparse, SchurSpecializations, OpenMP] -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_MAIN_LIBRARY) -- Found Intel TBB -- OpenCV version: 3.2.0 -- defined HAVE_OPENCV3 -- Boost version: 1.54.0 -- 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 -- Could NOT find Librt (missing: Librt_LIBRARIES) -- 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 no -- Ceres no yes -- GTest no yes -- OpenMP no yes -- Glog no yes -- Gflags no yes -- TBB no yes -- OpenCV no yes -- Threads no yes --


-- Library: Build: Condition:


-- agast TRUE (satisfied) -- camodocal_brisk TRUE (satisfied) -- camodocal_calib TRUE (satisfied) -- camodocal_camera_models 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:


-- CataCamera_test FALSE
-- EquidistantCamera_test FALSE
-- PinholeCamera_test FALSE
-- CMake Error at /usr/share/cmake-2.8/Modules/WriteBasicConfigVersionFile.cmake:39 (message): No VERSION specified for WRITE_BASIC_CONFIG_VERSION_FILE() Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/CMakePackageConfigHelpers.cmake:152 (write_basic_config_version_file) cmake/InstallProjectConfig.cmake:10 (write_basic_package_version_file) CMakeLists.txt:300 (INCLUDE)

-- Configuring incomplete, errors occurred! See also "/home/lpp/git_src/camodocal/build/CMakeFiles/CMakeOutput.log". See also "/home/lpp/git_src/camodocal/build/CMakeFiles/CMakeError.log". `

ahundt commented 7 years ago

try installing the latest version of cmake

blairlpp commented 7 years ago

Thanks for ur help. I can succefully build the executable called extrinsic calibration and infrastructure-based calibration. But how to use the two exe? Hope for ur reply. @ahundt

ahundt commented 7 years ago

That I don't know, sorry! I've only done hand eye calibration with this code base. :-)

evinpinar commented 7 years ago

There are not any bin files after the cmake. What might be the problem?

ahundt commented 7 years ago

@epinar cmake just generates build files. Did you also make install?