mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect-gui.git
synced 2025-06-24 05:04:12 +08:00
.. | ||
build.sh | ||
CMakeLists.txt | ||
liblivox_sdk_wrapper.so | ||
livox_sdk_wrapper.cpp | ||
README.MD | ||
sdk_test.py |
找到 CMakeLists.txt 中编译静态库的地方,确保添加 -fPIC 标志。可以通过以下方式添加:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")