-
Notifications
You must be signed in to change notification settings - Fork 125
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
ROS Installation Issue #37
Comments
Have you performed the superbuild steps (STEP 1 and 2 ?), before this step ? The fact that |
I performed the step1 ( add -DWITH_VIZ3D=ON) |
the gcc version is 11 |
I perform again |
Is this the first error that you have ? Also,
|
do you mean I have to add -DWITH_VIZ3D=ON in step1 or 2? |
You need to add it to the two configure steps of cmake First for the superbuild (Step 1)
Then for the main build (Step 2): In any case, if you plan to use ROS, you do not really need it. |
I superbuilded ,Builded and installed CT-ICP library again but the error also exist cd ros/roscore /home/skywalker/install/superbuild_import.cmake Call Stack (most recent call first): CMake Error at CMakeLists.txt:36 (find_package): SlamCoreConfig.cmake Add the installation prefix of "SlamCore" to CMAKE_PREFIX_PATH or set -- Configuring incomplete, errors occurred! Originally posted by @ajxdhe in #35 (comment) |
Ok,
|
CT_ICP/bin: CT_ICP/include: CT_ICP/include/ct_icp: CT_ICP/include/ct_icp/algorithm: CT_ICP/include/ct_icp/reactors: CT_ICP/include/ct_icp-viz3d: CT_ICP/include/SlamCore: CT_ICP/include/SlamCore/algorithm: CT_ICP/include/SlamCore/concurrent: CT_ICP/include/SlamCore/data: CT_ICP/include/SlamCore/experimental: CT_ICP/include/SlamCore/experimental/iterator: CT_ICP/include/SlamCore/reactors: CT_ICP/include/SlamCore-viz3d: CT_ICP/lib: CT_ICP/lib/cmake:
commit 884b21b (HEAD -> master, origin/master, origin/HEAD)
diff --git a/readme.md b/readme.md mkdir .cmake-build-superbuild && cd .cmake-build-superbuild #< Creates the cmake folder
cmake ../superbuild #< (1) Configure step
-cmake --build . --config Release #< Build step (Downloads and install the dependencies)
+cmake --build . --config Release #< Build step (Downloads and install the dependencies), add -DWITH_VIZ3D=ON to install with the GUI
:
commit 884b21b4e1c2205dac7835328a29a9edccf52841 (HEAD -> master, origin/master, origin/HEAD)
Author: pdell-kitware <[email protected]>
Date: Thu Jul 28 17:03:24 2022 +0200
Update readme.md
diff --git a/readme.md b/readme.md
index 43cc071..df7da0b 100644
--- a/readme.md
+++ b/readme.md
@@ -56,8 +56,10 @@ Superbuild**](https://gitlab.kitware.com/keu-computervision/MappingResearchKEU/S
```bash
mkdir .cmake-build-superbuild && cd .cmake-build-superbuild #< Creates the cmake folder
cmake ../superbuild #< (1) Configure step
-cmake --build . --config Release #< Build step (Downloads and install the dependencies)
+cmake --build . --config Release #< Build step (Downloads and install the dependencies), add -DWITH_VIZ3D=ON to install with the GUI |
Can you try pulling the latest version of |
what should I do ? |
|
I finished it what should i do next step |
You can try to rebuild (not the superbuild, you can skip step 0), Step 2 + Step 3, |
the step 3 also have the error but it seem different
Call Stack (most recent call first): CMake Error at /home/skywalker/ct_icp/cmake/superbuild_utils.cmake:34 (message): -- Configuring incomplete, errors occurred! |
Is there a file |
no It isn't |
the file is in /home/skywalker/ct_icp/install/ |
Ok thanks I'll look into that ! |
Can you try the branch
Then only step 3 |
When I do cmake --build . --target install --config Release --parallel 12 it got the error
Call Stack (most recent call first): test/unit/CMakeFiles/test_pc2_conversion.dir/build.make:597: recipe for target 'test/unit/test_pc2_conversion' failed |
Aren't you compiling with gcc ? What is the compiler for this execution, is it If possible try with clang before step 3 (delete the cache),
|
the clang version is 9.0 [ 16%] Building CXX object src/CMakeFiles/ROSCore.dir/nav_msgs_conversion.cxx.o |
I'll try to replicate the bug with the CI, and I'll get back to you |
I sincerely appreciate your work .I should have a sleep (It's midnight in China)qwq |
should I try the branch fix? |
Ok, So I managed to build ROSCore on Can you:
And give me the result of each execution (separately) |
1.I use the ubuntu 18.04 and ros melodic 3.the result of the git checkout master Already in'Master' Your branch is 1 submission ahead of'origin/master'. (use "git push" to publish your local submission)) 4 the complete LOG of the console is skywalker@skywalker-ASUS-TUF-Gaming-F15-FX506HCB-FX506HCB:
Call Stack (most recent call first): test/unit/CMakeFiles/test_pc2_conversion.dir/build.make:597: recipe for target 'test/unit/test_pc2_conversion' failed |
Ok, thanks, Now:
Give me the complete console output of the previous line,
|
If the above fails:
|
the complete console output of the previous line, cmake --build . --target install --config Release --parallel 12 4 I have install the dependencies 5.the output of strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX |
|
From @ajxdhe
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:
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:
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".
Originally posted by @ajxdhe in #35 (comment)
The text was updated successfully, but these errors were encountered: