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
git clone https://github.com/koide3/gtsam_points
mkdir gtsam_points/build && cd gtsam_points/build
cmake .. -DBUILD_WITH_CUDA=ON
make -j$(nproc)
sudo make install
I then also changed the config file as suggested:
If you want to try the CPU-based odometry estimation and global optimization, in config.json, set
"config_odometry" : "config_odometry_cpu.json",
"config_sub_mapping" : "config_sub_mapping_cpu.json",
"config_global_mapping" : "config_global_mapping_cpu.json",
but when building the workspace I still get this cuda related error:
~/glim_ws$ colcon build --symlink-install
[0.476s] WARNING:colcon.colcon_ros.prefix_path.ament:The path '/home/maleeha/glim_ws/install/glim_ros' in the environment variable AMENT_PREFIX_PATH doesn't exist
[0.476s] WARNING:colcon.colcon_ros.prefix_path.catkin:The path '/home/maleeha/glim_ws/install/glim_ros' in the environment variable CMAKE_PREFIX_PATH doesn't exist
Starting >>> glim
--- stderr: glim
CMake Error at /usr/share/cmake-3.22/Modules/FindCUDAToolkit.cmake:675 (message):
Could not find nvcc, please set CUDAToolkit_ROOT.
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/usr/local/lib/cmake/gtsam_points/gtsam_points-config.cmake:50 (find_dependency)
CMakeLists.txt:28 (find_package)
Failed <<< glim [0.09s, exited with code 1]
Summary: 0 packages finished [0.59s]
1 package failed: glim
1 package had stderr output: glim
1 package not processed
could anyone explain what might the source of the error be?
The text was updated successfully, but these errors were encountered:
I performed the source installation given in the tutorial, while setting CUDA = OFF here
https://koide3.github.io/glim/installation.html
git clone https://github.com/koide3/gtsam_points
mkdir gtsam_points/build && cd gtsam_points/build
cmake .. -DBUILD_WITH_CUDA=ON
make -j$(nproc)
sudo make install
I then also changed the config file as suggested:
If you want to try the CPU-based odometry estimation and global optimization, in config.json, set
"config_odometry" : "config_odometry_cpu.json",
"config_sub_mapping" : "config_sub_mapping_cpu.json",
"config_global_mapping" : "config_global_mapping_cpu.json",
but when building the workspace I still get this cuda related error:
~/glim_ws$ colcon build --symlink-install
[0.476s] WARNING:colcon.colcon_ros.prefix_path.ament:The path '/home/maleeha/glim_ws/install/glim_ros' in the environment variable AMENT_PREFIX_PATH doesn't exist
[0.476s] WARNING:colcon.colcon_ros.prefix_path.catkin:The path '/home/maleeha/glim_ws/install/glim_ros' in the environment variable CMAKE_PREFIX_PATH doesn't exist
Starting >>> glim
--- stderr: glim
CMake Error at /usr/share/cmake-3.22/Modules/FindCUDAToolkit.cmake:675 (message):
Could not find nvcc, please set CUDAToolkit_ROOT.
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/usr/local/lib/cmake/gtsam_points/gtsam_points-config.cmake:50 (find_dependency)
CMakeLists.txt:28 (find_package)
Failed <<< glim [0.09s, exited with code 1]
Summary: 0 packages finished [0.59s]
1 package failed: glim
1 package had stderr output: glim
1 package not processed
could anyone explain what might the source of the error be?
The text was updated successfully, but these errors were encountered: