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

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

Open
GracefulMan opened this issue Apr 16, 2024 · 1 comment
Assignees

Comments

@GracefulMan
Copy link

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
Copy link
Author

GracefulMan commented Apr 28, 2024

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:

  • step 1: install libunwind and find the lib location: sudo apt install libunwind-dev, then use whereis libunwind to get the path to libunwind.so, we assume the path is: /path/to/libunwind.so
  • step 2: in nvblox's CMakeLists.txt file, add link to libunwind.so :
    image

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

No branches or pull requests

2 participants