boost icon indicating copy to clipboard operation
boost copied to clipboard

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

Open BadganchiP1234 opened this issue 4 months ago • 2 comments

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 avatar Oct 07 '24 14:10 BadganchiP1234