Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler Issues #35

Closed
pdell-kitware opened this issue Jul 29, 2022 · 2 comments
Closed

Compiler Issues #35

pdell-kitware opened this issue Jul 29, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@pdell-kitware
Copy link
Collaborator

CT-ICP is written in C++-17,

This means you need a compiler which support C++17,

To configure the compiler you want before building the project, write the following lines:

export CC=<path-to-c-compiler>
export CXX=<path-to-cxx-compiler>

cmake .. etc..
@pdell-kitware pdell-kitware added the documentation Improvements or additions to documentation label Jul 29, 2022
@ajxdhe
Copy link

ajxdhe commented Jul 30, 2022

Thank you for your answer
but I got the new issue in ROS
when I
cd ros/roscore
mkdir cmake-build-release && cd cmake-build-release #< Create the build directory
cmake .. -DCMAKE_BUILD_TYPE=Release
It got the error
cmake .. -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
INFO [ROSCore] -- Variable "SUPERBUILD_INSTALL_DIR" not specified. Trying to set it to /home/skywalker/install
INFO [ROSCore] -- Variable "CT_ICP_INSTALL_DIR" not specified. Trying to set it to /home/skywalker/install/CT_ICP/lib/cmake.
CMake Error at /home/skywalker/ct_icp/cmake/superbuild_utils.cmake:27 (include):
include could not find requested file:

/home/skywalker/install/superbuild_import.cmake

Call Stack (most recent call first):
CMakeLists.txt:33 (SLAM_INCLUDE_SUPERBUILD)

CMake Error at CMakeLists.txt:36 (find_package):
Could not find a package configuration file provided by "SlamCore" with any
of the following names:

SlamCoreConfig.cmake
slamcore-config.cmake

Add the installation prefix of "SlamCore" to CMAKE_PREFIX_PATH or set
"SlamCore_DIR" to a directory containing one of the above files. If
"SlamCore" provides a separate development package or SDK, be sure it has
been installed.

-- Configuring incomplete, errors occurred!
See also "/home/skywalker/ct_icp/ros/roscore/cmake-build-release/CMakeFiles/CMakeOutput.log".

@pdell-kitware
Copy link
Collaborator Author

Hi @ajxdhe, please see the answer in Issue #37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants