Header file locatiion.

General questions regarding the usage of CodeLite
CodeLite Curious
Posts: 7
Joined: Thu Aug 13, 2020 4:50 am
Genuine User: Yes
IDE Question: C++

Header file locatiion.

Post by Noone » Fri Aug 14, 2020 11:56 am


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,
You do not have the required permissions to view the files attached to this post.

CodeLite Plugin
Posts: 690
Joined: Wed Sep 03, 2008 7:26 pm

Re: Header file locatiion.

Post by DavidGH » Fri Aug 14, 2020 1:04 pm

I put a header file (std_lib_facilities.h) in codelite folder (home/loc/codelite)
Why there? Do you have a particular reason e.g. is it a file that is shared between several projects?
Is it a right location
If the compiler can't find it there, obviously not. If you really want it there, you'll have to tell the compiler somehow.

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.



Post Reply