NVlabs / nvblox_torch

nvblox Torch
Other
23 stars 4 forks source link

ligglog.a link error: undefined reference to `_ULx86_64_init_local' #7

Open GracefulMan opened 3 months ago

GracefulMan commented 3 months ago

When I compile nvblox at step 7, I encounter the following error, which seems to be related to libglog.a.

image the command is:


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```
GracefulMan commented 2 months ago

i have solved this problem by ref:https://github.com/NVlabs/curobo/issues/235

before compile nvblox, we need to add link to libunwind.so in CMakeLists.txt: