boostorg / boost

Super-project for modularized Boost
https://github.com/boostorg/wiki/wiki/Getting-Started%3A-Overview
Boost Software License 1.0
7.23k stars 1.77k forks source link

Unable to find boost atomic library header files//boost-1.84.0 #962

Open BadganchiP1234 opened 1 month ago

BadganchiP1234 commented 1 month ago

ERROR: Compilation failed Stdout: [ 50%] Building CXX object CMakeFiles/test_atomic.dir/atomicity.cpp.o Stderr: /sdk/sysroots/core2-64-poky-linux/usr/share/doc/boost-atomic/examples/atomicity.cpp:38:10: fatal error: test_clock.hpp: No such file or directory 38 | #include "test_clock.hpp" | ^~~~ compilation terminated. make[2]: **** [CMakeFiles/test_atomic.dir/build.make:76: CMakeFiles/test_atomic.dir/atomicity.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:83: CMakeFiles/test_atomic.dir/all] Error 2 make: *** [Makefile:91: all] Error 2 Returncode: Expected: 0 Actual: 2

Tried adding below path but still failing with same issue. Could you please help here?

include_directories( ${Boost_LIBRARY_DIRS}/atomic/test )

BadganchiP1234 commented 1 month ago

Could you please help here?

mclow commented 1 month ago

A lot more people will see your problem if you post it to the boost-users mailing list: https://lists.boost.org/mailman/listinfo.cgi/boost-users