I have a problem using – including boost library.
#include <boost/dynamic_bitset.hpp>
And I’m getting error: boost/dynamic_bitset.hpp: No such file or directory
I have a boost folder inside where my project is… How to fix it ? Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you have the
boostfolder inside your project, you may just need to tell the compiler to look into that folder for header files.With gcc/g++ this can be done with the
-I</path/to/headers>option (without angular parentheses).Other compilers work the same way with possibly different flags than
-I.