Header file locatiion.

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

Header file locatiion.

Post 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,
You do not have the required permissions to view the files attached to this post.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Header file locatiion.

Post 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
Post Reply