Hi Jonathan, Jim
Thank you for your swift response!
I'm afraid it was a relatively simple error I had made. I as attempting
to perform steps in the 'makefile' individually without due regard to
some fairly important bits of it.
I had cloned the GitHub 'star-charter' repository correctly and ensured
that the gsl libraries were also present and correct. When I perform
'make' instead of trying to be clever it all works correctly.
Thanks again,
Gordon
------ Original Message ------
From: "Jonathan Wakely" <jwakely.gcc@xxxxxxxxx>
To: "Gordon McKay" <gordon_mckay@xxxxxxxxxxxxxx>
Cc: "gcc-help@xxxxxxxxxxx" <gcc-help@xxxxxxxxxxx>
Sent: Friday, 13 Nov, 20 At 19:08
Subject: Re: GCC fails to find headers under Ubuntu
On Fri, 13 Nov 2020 at 15:55, Gordon McKay via Gcc-help
<gcc-help@xxxxxxxxxxx> wrote:
Hi,
I have a C project, star-charter, which is a straight clone from GitHub.
From my $Home in Ubuntu I have a folder, Cprojects, where I keep all my
C/C++ projects, each in a separate sub-folder.
My start-charter GitHub clone is in the star-charter subfolder
The makefile is in the star-charter subfolder
All of the source is in the src sub folder of star-charter
Main.c is in the src sub-folder.
Various libraries and headers are in sub-folders of src, for eample the
gsl headers
When I attempt to compile main.c which refere to the gsl headers in
INCLUDE statements with the sub-folder gsl and header name , a file not
found error is thrown.
What is the exact command you are running, and the exact error?
We can't help without accurate information about exactly what you're
doing and what the error is.