From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by sourceware.org (Postfix) with ESMTPS id 32789389803E for ; Fri, 13 Nov 2020 19:08:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 32789389803E Received: by mail-wm1-x336.google.com with SMTP id c16so10164243wmd.2 for ; Fri, 13 Nov 2020 11:08:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VXZLfryY920k2SKLcNJcMALodciZn8mL6F67cIyQfOo=; b=eEg8Ue0xepkNXqf0PNZy2+ejJ5djLu3sTtnSoTKXA5PdxlOXC1tPDlgelrAqAlcl/N kqyA9AMP9Y/J5Q3B88eQqyomaNinctG+tyAqQ8qQPJg/FNCzm7CSyieFCSyhrzSvkGjs vYFf89H7+bNPUJqtRvt++ORN/Nmy80l60odbhIeFm7yGfzIhr6dD+72hfo6Zy6dOsDdF mJPjAO5ZzFZs4off84+Uynozh81kiTujUPm70o9uEtiMNiFpzChd1DLJjfeC+ajowGDJ pUpG7FjC0lnogpfKp3QyAYLZXYF1fj8Yfi1mrSMPFmYL2KfPIzxTyaltNZ9/yvj+J5zh utvA== X-Gm-Message-State: AOAM5330JhtXuqjyHwgRGttFO5wWylNI/qikgVHCnaoW21JlIpOMZnBy p14aVmOmVqhixR9R5rQna8HVtWYD80zRhi9oBjE= X-Google-Smtp-Source: ABdhPJxaUpAndP6wcagBQi6uMNRGYhSfjyxuaClh8fIH4gwissSsxBO+5fKQbULVlTleCswaZGu87ZPNomwJWjb72ZU= X-Received: by 2002:a1c:21c1:: with SMTP id h184mr4181826wmh.106.1605294536132; Fri, 13 Nov 2020 11:08:56 -0800 (PST) MIME-Version: 1.0 References: <5faeac7f.1c69fb81.b55df.57c2SMTPIN_ADDED_BROKEN@mx.google.com> In-Reply-To: <5faeac7f.1c69fb81.b55df.57c2SMTPIN_ADDED_BROKEN@mx.google.com> From: Jonathan Wakely Date: Fri, 13 Nov 2020 19:08:44 +0000 Message-ID: Subject: Re: GCC fails to find headers under Ubuntu To: Gordon McKay Cc: "gcc-help@gcc.gnu.org" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2020 19:08:58 -0000 On Fri, 13 Nov 2020 at 15:55, Gordon McKay via Gcc-help 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.