You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(base) hou@hou:~/StaticMappingSpace/StaticMapping/build$ cmake -DENABLE_TEST=ON ..
-- OpenMP flags = -fopenmp
-- Eigen found (include: /usr/local/include/eigen3, version: 3.1.0)
-- FLANN found (include: , lib: lz4;flann;flann_cpp)
-- FLANN found (include: , lib: lz4;flann;flann_cpp)
-- OpenNI found (include: /usr/include/ni, lib: /usr/lib/libOpenNI.so)
-- OpenNI2 found (include: /usr/include/openni2, lib: /usr/lib/libOpenNI2.so)
-- OpenNI found (include: /usr/include/ni, lib: /usr/lib/libOpenNI.so)
-- OpenNI2 found (include: /usr/include/openni2, lib: /usr/lib/libOpenNI2.so)
-- QHULL found (include: /usr/include, lib: optimized;/usr/lib/x86_64-linux-gnu/libqhull.so;debug;/usr/lib/x86_64-linux-gnu/libqhull.so)
-- pcl version 1.9.1
-- Found Boost: /usr/include (found version "1.71.0") found components: timer thread chrono date_time atomic
-- Searching for LibLAS + library
-- Could NOT find libLAS (missing: LIBLAS_LIBRARY LIBLAS_INCLUDE_DIR)
-- Found PNG in dir: /usr/include;/usr/include
-- Found Eigen in dir: /usr/include/eigen3 version: 3.3.7
-- Found Intel TBB
-- TBB version: 11101
-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
-- Found installed version of gflags: /usr/lib/x86_64-linux-gnu/cmake/gflags
-- Detected gflags version: 2.2.2
-- Found glog (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
-- Image Magick version : 6.9.10-23
-- Enable simple profiling.
-- Found Boost: /usr/include (found version "1.71.0") found components: unit_test_framework thread chrono date_time atomic
SATUSEnable building examples
-- Local libs: static_mapping_builder;static_mapping_builder_data;static_mapping_backend;static_mapping_registrators;static_mapping_pre_processors;static_mapping_descriptor;static_mapping_common;pugixml
-- Link libs: Boost::timer;Boost::thread;gtsam;/usr/lib/x86_64-linux-gnu/libpng.so;/usr/local/lib/libpointmatcher.so;Boost::thread;Boost::filesystem;Boost::system;Boost::program_options;Boost::date_time;Boost::chrono;/usr/local/lib/libnabo.a;gomp;rt;/usr/lib/x86_64-linux-gnu/libtbb.so;/usr/lib/x86_64-linux-gnu/libtbbmalloc.so;gflags_shared;/usr/lib/x86_64-linux-gnu/libglog.so;/usr/local/lib/libGeographic.so
-- CXX FLAGS: -O2 -Wall -Wextra -fPIC -Wno-sign-compare -Wno-unused-parameter -Wno-unused-but-set-variable -fopenmp -isystem /usr/include/pcl-1.8
-- Using ROS noetic
-- Using CATKIN_DEVEL_PREFIX: /home/hou/StaticMappingSpace/StaticMapping/build/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/noetic
-- This workspace overlays: /opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/hou/StaticMappingSpace/StaticMapping/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10")
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Configuring done
CMake Warning (dev) in /usr/src/googletest/googlemock/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "gmock" has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in /usr/src/googletest/googletest/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "gtest" has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at ros_node/CMakeLists.txt:17 (add_executable):
Target "static_mapping_node" links to target "Boost::program_options" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Hi, has anyone encountered this error when running the compile command 'cmake -DENABLE_TEST=ON'. Does anyone know how to fix it? Thank you!
My installation environment:
Ubuntu 20.04
The text was updated successfully, but these errors were encountered:
(base) hou@hou:~/StaticMappingSpace/StaticMapping/build$ cmake -DENABLE_TEST=ON ..
-- OpenMP flags = -fopenmp
-- Eigen found (include: /usr/local/include/eigen3, version: 3.1.0)
-- FLANN found (include: , lib: lz4;flann;flann_cpp)
-- FLANN found (include: , lib: lz4;flann;flann_cpp)
-- OpenNI found (include: /usr/include/ni, lib: /usr/lib/libOpenNI.so)
-- OpenNI2 found (include: /usr/include/openni2, lib: /usr/lib/libOpenNI2.so)
-- OpenNI found (include: /usr/include/ni, lib: /usr/lib/libOpenNI.so)
-- OpenNI2 found (include: /usr/include/openni2, lib: /usr/lib/libOpenNI2.so)
-- QHULL found (include: /usr/include, lib: optimized;/usr/lib/x86_64-linux-gnu/libqhull.so;debug;/usr/lib/x86_64-linux-gnu/libqhull.so)
-- pcl version 1.9.1
-- Found Boost: /usr/include (found version "1.71.0") found components: timer thread chrono date_time atomic
-- Searching for LibLAS + library
-- Could NOT find libLAS (missing: LIBLAS_LIBRARY LIBLAS_INCLUDE_DIR)
-- Found PNG in dir: /usr/include;/usr/include
-- Found Eigen in dir: /usr/include/eigen3 version: 3.3.7
-- Found Intel TBB
-- TBB version: 11101
-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
-- Found installed version of gflags: /usr/lib/x86_64-linux-gnu/cmake/gflags
-- Detected gflags version: 2.2.2
-- Found glog (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
-- Image Magick version : 6.9.10-23
-- Enable simple profiling.
-- Found Boost: /usr/include (found version "1.71.0") found components: unit_test_framework thread chrono date_time atomic
SATUSEnable building examples
-- Local libs: static_mapping_builder;static_mapping_builder_data;static_mapping_backend;static_mapping_registrators;static_mapping_pre_processors;static_mapping_descriptor;static_mapping_common;pugixml
-- Link libs: Boost::timer;Boost::thread;gtsam;/usr/lib/x86_64-linux-gnu/libpng.so;/usr/local/lib/libpointmatcher.so;Boost::thread;Boost::filesystem;Boost::system;Boost::program_options;Boost::date_time;Boost::chrono;/usr/local/lib/libnabo.a;gomp;rt;/usr/lib/x86_64-linux-gnu/libtbb.so;/usr/lib/x86_64-linux-gnu/libtbbmalloc.so;gflags_shared;/usr/lib/x86_64-linux-gnu/libglog.so;/usr/local/lib/libGeographic.so
-- CXX FLAGS: -O2 -Wall -Wextra -fPIC -Wno-sign-compare -Wno-unused-parameter -Wno-unused-but-set-variable -fopenmp -isystem /usr/include/pcl-1.8
-- Using ROS noetic
-- Using CATKIN_DEVEL_PREFIX: /home/hou/StaticMappingSpace/StaticMapping/build/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/noetic
-- This workspace overlays: /opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/hou/StaticMappingSpace/StaticMapping/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10")
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Configuring done
CMake Warning (dev) in /usr/src/googletest/googlemock/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "gmock" has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
LINK_INTERFACE_LIBRARIES:
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in /usr/src/googletest/googletest/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "gtest" has an INTERFACE_LINK_LIBRARIES property which differs from
its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
LINK_INTERFACE_LIBRARIES:
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at ros_node/CMakeLists.txt:17 (add_executable):
Target "static_mapping_node" links to target "Boost::program_options" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
Hi, has anyone encountered this error when running the compile command 'cmake -DENABLE_TEST=ON'. Does anyone know how to fix it? Thank you!
My installation environment:
Ubuntu 20.04
The text was updated successfully, but these errors were encountered: