Page 1 of 1

Header file locatiion.

Posted: Fri Aug 14, 2020 11:56 am
by Noone
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,

Re: Header file locatiion.

Posted: Fri Aug 14, 2020 1:04 pm
by DavidGH
Hi,
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.

Regards,

David