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

using the repo with Ubuntu20 and C++17 #17

Open
niuwengang opened this issue Nov 6, 2023 · 0 comments
Open

using the repo with Ubuntu20 and C++17 #17

niuwengang opened this issue Nov 6, 2023 · 0 comments

Comments

@niuwengang
Copy link

niuwengang commented Nov 6, 2023

When using this repo with ubuntu20 and c++17,you need to add and modify some code.

  1. data_io.cpp
#add
 #include <boost/thread/thread.hpp>  
  1. CMakeLists.txt
#add
find_package(Boost REQUIRED COMPONENTS
serialization timer thread chrono)
#modified
SET(CMAKE_CXX_FLAGS "-O3 -std=c++17 -w -fopenmp -pthread ")
SET(CMAKE_C_FLAGS "-O3 -std=c++17 -fopenmp -pthread ")
SET(DEP_LIBS ${DEP_LIBS} ${OpenCV_LIBS} ${PCL_LIBRARIES} ${libLAS_LIBRARIES}  ${Boost_INCLUDE_DIRS})
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

1 participant