Hello,
I put a header file (std_lib_facilities.h) in codelite folder (home/loc/codelite). Is it a right location because the compiler could not locate the header file in build step? Please see the snapshot attached to show all files at this location. Thank you very much.
Best regards,
Header file locatiion.
-
- CodeLite Curious
- Posts: 7
- Joined: Thu Aug 13, 2020 4:50 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Header file locatiion.
You do not have the required permissions to view the files attached to this post.
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Header file locatiion.
Hi,
I'm sure there are lots of ways you could fix the problem, but the obvious, easy one is to move (or symlink) the file to the same dir as other header files in the project, ones that are successfully found.
Regards,
David
Why there? Do you have a particular reason e.g. is it a file that is shared between several projects?I put a header file (std_lib_facilities.h) in codelite folder (home/loc/codelite)
If the compiler can't find it there, obviously not. If you really want it there, you'll have to tell the compiler somehow.Is it a right location
I'm sure there are lots of ways you could fix the problem, but the obvious, easy one is to move (or symlink) the file to the same dir as other header files in the project, ones that are successfully found.
Regards,
David