public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jim Wilson <jimw@sifive.com>
To: Gordon McKay <gordon_mckay@btinternet.com>
Cc: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Re: GCC fails to find headers under Ubuntu
Date: Fri, 13 Nov 2020 18:56:33 -0800	[thread overview]
Message-ID: <CAFyWVaYSamfFuojkayCfQtYjwjmVjpNarGXfzKvHkxkv0M7i-w@mail.gmail.com> (raw)
In-Reply-To: <5faeabef.1c69fb81.3ead6.65e7SMTPIN_ADDED_BROKEN@mx.google.com>

On Fri, Nov 13, 2020 at 7:53 AM Gordon McKay via Gcc-help <
gcc-help@gcc.gnu.org> wrote:

> 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.
> I have tried everything to correct this apparenty simple problem.
>

You didn't provide enough details to reproduce.  However, gsl is a common
linux package.  The program is probably expecting to find the headers in
/usr/include/gsl.  Try something like "sudo apt install libgsl-dev" to
install the package so that the headers can be found.  Not clear how you
got gsl into a subfolder.  I doubt that is part of the star-chart program.

Jim

       reply	other threads:[~2020-11-14  2:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5faeabef.1c69fb81.3ead6.65e7SMTPIN_ADDED_BROKEN@mx.google.com>
2020-11-14  2:56 ` Jim Wilson [this message]
     [not found] <5faeac7f.1c69fb81.b55df.57c2SMTPIN_ADDED_BROKEN@mx.google.com>
2020-11-13 19:08 ` Jonathan Wakely
2020-11-15 15:16   ` GORDON MCKAY
2020-11-13 15:53 Gordon McKay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFyWVaYSamfFuojkayCfQtYjwjmVjpNarGXfzKvHkxkv0M7i-w@mail.gmail.com \
    --to=jimw@sifive.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=gordon_mckay@btinternet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).