While installing cuRobo + IsaacSim + NVBlox natively, I noticed a couple of bugs/typos in the installation guide.
In the following, I refer to the instructions below Installing nvblox for PRECXX11_ABI and Isaac Sim
cd ${PKGS_PATH} && git clone https://github.com/valtsblukis/nvblox.git && cd ${PKGS_PATH}/nvblox/nvblox mkdir build && cd build && \
cmake .. -DBUILD_REDISTRIBUTABLE=ON \
-DCMAKE_CXX_FLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 -DPRE_CXX11_ABI_LINKABLE=ON \
-DSQLITE3_BASE_PATH="${PKGS_PATH}/sqlite/install/" -DGLOG_BASE_PATH="${PKGS_PATH}/glog/install/" \
-DGFLAGS_BASE_PATH="${PKGS_PATH}/gflags/install/" -DCMAKE_CUDA_FLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 && \
make -j32 && \
sudo make install
In the first line, there is a missing && between cd ${PKGS_PATH}/nvblox/nvblox and mkdir build.
But what's more severe:
cd ${PKGS_PATH} && git clone https://github.com/NVlabs/nvblox_torch.git && cd nvblox_torch
sh install.sh $(python -c 'import torch.utils; print(torch.utils.cmake_prefix_path)')
python -m pip install -e .
is not going to work because CMake will have no way to find the installation of Glog we did in a previous step.
Analogously to the commands seen above, I fixed this by passing -DGLOG_BASE_PATH="${PKGS_PATH}/glog/install" withininstall.shand modifiedsrc/nvblox_torch/cpp/CMakeLists.txt` to include
Issue Details
While installing cuRobo + IsaacSim + NVBlox natively, I noticed a couple of bugs/typos in the installation guide.
In the following, I refer to the instructions below Installing nvblox for PRECXX11_ABI and Isaac Sim
In the first line, there is a missing
&&
betweencd ${PKGS_PATH}/nvblox/nvblox
andmkdir build
.But what's more severe:
is not going to work because CMake will have no way to find the installation of Glog we did in a previous step. Analogously to the commands seen above, I fixed this by passing
-DGLOG_BASE_PATH="${PKGS_PATH}/glog/install" within
install.shand modified
src/nvblox_torch/cpp/CMakeLists.txt` to includeAlso make sure that
target_link_libraries
correctly uses this variable afterwards by writing it uppercase.