I have some external header files in a separate directory (its the sqlite3.h). I want to be able to use them in my Eclipse CDT project. How would I include the directory to Eclipse?
Share
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.
Go to Project > Properties > C/C++ General > Paths and Symbols > Includes. Click Add, then File System and navigate to where the header files are stored.
(I usually select “Add to all configurations” and “Add to all languages” because it’s easier to do it now than come back and change them later.)