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

cc1plus: fatal error: CMakeFiles/run_lidar2camera.dir/src/run_lidar2camera.cpp.d: No such file or directory #136

Open
963070827 opened this issue Jan 7, 2024 · 2 comments

Comments

@963070827
Copy link

cc1plus: fatal error: CMakeFiles/run_lidar2camera.dir/src/run_lidar2camera.cpp.d: No such file or directory
compilation terminated.
CMakeFiles/run_lidar2camera.dir/build.make:75: recipe for target 'CMakeFiles/run_lidar2camera.dir/src/run_lidar2camera.cpp.o' failed
make[2]: *** [CMakeFiles/run_lidar2camera.dir/src/run_lidar2camera.cpp.o] Error 1
CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/run_lidar2camera.dir/all' failed
make[1]: *** [CMakeFiles/run_lidar2camera.dir/all] Error 2
Makefile:90: recipe for target 'all' failed
make: *** [all] Error 2

@cumtbjt
Copy link

cumtbjt commented Jan 29, 2024

使用的docker环境 相同的报错

@cumtbjt
Copy link

cumtbjt commented Jan 29, 2024

set(CMAKE_CXX_FLAGS "-g3 -O -Wall")
把CmakeLists的第三行的小o改成大O即可解决问题 成功编译
希望能够帮到你!

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