uwb-localization icon indicating copy to clipboard operation
uwb-localization copied to clipboard

Build error

Open plumewind opened this issue 4 years ago • 3 comments

hello,

I build the project , use "catkin_make -j1", but got:

-- +++ processing catkin package: 'uwb_calibration' -- ==> add_subdirectory(uwb_calibration) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Found Boost: /usr/include (found version "1.65.1") found components: system thread iostreams chrono date_time atomic regex -- Found required Ceres dependency: Eigen version 3.3.4 in /usr/include/eigen3 -- Found required Ceres dependency: glog -- Found required Ceres dependency: gflags -- Found Ceres version: 2.0.0 installed in: /usr/local with components: [EigenSparse, SparseLinearAlgebraLibrary, LAPACK, SchurSpecializations] -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Reflexxes_LIBRARIES linked by target "slam_pp_node" in directory /home/bran/catkin_uwb_imu/src/slam_pp

-- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. Makefile:2103: recipe for target 'cmake_check_build_system' failed make: *** [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed

Then in the slam_pp/CMakeLists.txt, I found: find_library(Reflexxes_LIBRARIES flexxes ${PROJECT_SOURCE_DIR}/exLib/Reflexxes) set(Relfexxes_INCLUDE_DIRS ${PROJECT_SOURCE_DIR}/exLib/Reflexxes/Reflexxes) But not the folder

What can I do ? Thanks a lot.

plumewind avatar Dec 24 '20 08:12 plumewind

Hey there, you should install Reflexxes library first, and the lib could be downloaded from this site http://www.reflexxes.ws/

MeredithRowe avatar Jan 27 '21 11:01 MeredithRowe

hello,

I build the project , use "catkin_make -j1", but got:

-- +++ processing catkin package: 'uwb_calibration' -- ==> add_subdirectory(uwb_calibration) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Found Boost: /usr/include (found version "1.65.1") found components: system thread iostreams chrono date_time atomic regex -- Found required Ceres dependency: Eigen version 3.3.4 in /usr/include/eigen3 -- Found required Ceres dependency: glog -- Found required Ceres dependency: gflags -- Found Ceres version: 2.0.0 installed in: /usr/local with components: [EigenSparse, SparseLinearAlgebraLibrary, LAPACK, SchurSpecializations] -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Reflexxes_LIBRARIES linked by target "slam_pp_node" in directory /home/bran/catkin_uwb_imu/src/slam_pp

-- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. Makefile:2103: recipe for target 'cmake_check_build_system' failed make: *** [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed

Then in the slam_pp/CMakeLists.txt, I found: find_library(Reflexxes_LIBRARIES flexxes ${PROJECT_SOURCE_DIR}/exLib/Reflexxes) set(Relfexxes_INCLUDE_DIRS ${PROJECT_SOURCE_DIR}/exLib/Reflexxes/Reflexxes) But not the folder

What can I do ? Thanks a lot.

Hello, I have the same problem as you, how did you solve this problem?

mxchange21 avatar Jan 18 '22 09:01 mxchange21

You can remove Reflexxes_LIBRARIES in CMakeLists.txt. There are no files using it.

LvJohny avatar May 31 '22 03:05 LvJohny