detect-gui/vendors/livox
2024-11-21 11:39:52 +08:00
..
build.sh 1、update 2024-11-21 11:39:52 +08:00
CMakeLists.txt 1、update 2024-11-21 11:39:52 +08:00
liblivox_sdk_wrapper.so 1、update 2024-11-21 11:39:52 +08:00
livox_sdk_wrapper.cpp 1、update 2024-11-21 11:39:52 +08:00
README.MD 1、update 2024-11-21 11:39:52 +08:00
sdk_test.py 1、update 2024-11-21 11:39:52 +08:00

找到 CMakeLists.txt 中编译静态库的地方,确保添加 -fPIC 标志。可以通过以下方式添加:

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")