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

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

Open
BadganchiP1234 opened this issue Oct 7, 2024 · 2 comments
Open

Comments

@BadganchiP1234
Copy link

BadganchiP1234 commented Oct 7, 2024

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
Copy link
Author

Could you please help here?

@mclow
Copy link
Contributor

mclow commented Oct 14, 2024

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

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