Rocksolid Light

groups  faq  privacy  How to post  login

Message-ID:  

You're growing out of some of your problems, but there are others that you're growing into.


rocksolid / de.comp.os.unix.programming / include-Path bei C

SubjectAuthor
* include-Path bei CMarco Moock
`* Re: include-Path bei CTim Landscheidt
 `- Re: include-Path bei CMarco Moock

1
Subject: include-Path bei C
From: Marco Moock
Newsgroups: de.comp.os.unix.programming
Date: Thu, 1 Feb 2024 18:20 UTC
Path: i2pn2.org!i2pn.org!news.samoylyk.net!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: mm+sol...@dorfdsl.de (Marco Moock)
Newsgroups: de.comp.os.unix.programming
Subject: include-Path bei C
Date: Thu, 1 Feb 2024 19:20:48 +0100
Message-ID: <upgne0$16f6h$4@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Date: Thu, 1 Feb 2024 18:20:48 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1260753"; mail-complaints-to="abuse@news.solani.org"
Cancel-Lock: sha1:6jCqCTbmFnVZcHXD4l279ptZ2UM=
X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu)
X-User-ID: eJwNy8kBwDAIA7CVwmHDOpTU+4/Q6i8EjVtJMCHoTJ6edd97S8dpZfGMRUM983IdpbCSY//4ARhtEPE=
View all headers

Hallo zusammen!

Ich versuche gerade ein uraltes Programm zu kompilieren.

Das beinhaltet:
#include <freetype.h> #das habe ich ausprobiert
//#include "freetype.h" # das war ursprünglich drin

Bei make mit strace davor kommt:
SDLttf.h:32:10: fatal error: freetype.h: Datei oder Verzeichnis nicht gefunden
32 | #include <freetype.h>
| ^~~~~~~~~~~~

Die Datei gibt es im System: /usr/include/freetype2/freetype/freetype.h

Was mache ich hier falsch?

--
Gruß
Marco

Spam und Werbung bitte an ichwillgesperrtwerden@nirvana.admins.ws

Subject: Re: include-Path bei C
From: Tim Landscheidt
Newsgroups: de.comp.os.unix.programming
Organization: https://www.tim-landscheidt.de/
Date: Thu, 1 Feb 2024 19:31 UTC
References: 1
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: tim...@tim-landscheidt.de (Tim Landscheidt)
Newsgroups: de.comp.os.unix.programming
Subject: Re: include-Path bei C
Date: Thu, 01 Feb 2024 19:31:31 +0000
Organization: https://www.tim-landscheidt.de/
Lines: 26
Message-ID: <87frycf0bw.fsf@vagabond.tim-landscheidt.de>
References: <upgne0$16f6h$4@solani.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net +Z76VGXRheGiqEIZNZWFoAlTaDtixIbAvlzZddDQSx/iIVHLIl
Cancel-Lock: sha1:NAL1sDrQTA7r2R1VJeBBm5VgmrA= sha1:8DXiStu/tv39nA4e3bATITDaq6U= sha256:/frDV8TYsyVv7QCdFAyRNACCOx1kLZxi3dOZbhtxbgA=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux)
View all headers

Marco Moock <mm+solani@dorfdsl.de> wrote:

> Ich versuche gerade ein uraltes Programm zu kompilieren.

> Das beinhaltet:
> #include <freetype.h> #das habe ich ausprobiert
> //#include "freetype.h" # das war ursprünglich drin

> Bei make mit strace davor kommt:
> SDLttf.h:32:10: fatal error: freetype.h: Datei oder Verzeichnis nicht gefunden
> 32 | #include <freetype.h>
> | ^~~~~~~~~~~~

> Die Datei gibt es im System: /usr/include/freetype2/freetype/freetype.h

> Was mache ich hier falsch?

IIRC prüft #include nur, ob es eine Kombination von (Element
aus -I) + Dateiname gibt, die existiert, insbesondere wird
nicht rekursiert. Das heißt, wenn /usr/include in den zu
durchsuchenden Verzeichnissen ist, muss man wahlweise
„#include <freetype2/freetype/freetype.h>“ verwenden oder
den Suchpfad mit „-I/usr/include/freetype2/freetype“ erwei-
tern.

Tim

Subject: Re: include-Path bei C
From: Marco Moock
Newsgroups: de.comp.os.unix.programming
Date: Thu, 1 Feb 2024 20:06 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: mm+sol...@dorfdsl.de (Marco Moock)
Newsgroups: de.comp.os.unix.programming
Subject: Re: include-Path bei C
Date: Thu, 1 Feb 2024 21:06:10 +0100
Message-ID: <upgtji$16f6h$9@solani.org>
References: <upgne0$16f6h$4@solani.org>
<87frycf0bw.fsf@vagabond.tim-landscheidt.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Date: Thu, 1 Feb 2024 20:06:10 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1260753"; mail-complaints-to="abuse@news.solani.org"
Cancel-Lock: sha1:8a9MTZeiIfZSNxubn9l+9m0vxqU=
X-User-ID: eJwNxskRACEIBMCU1uFywhFY8g9Bqz9t4ssr1M3V5skE2nZB3g+lfkTT0ftbDAyqmCcYo0nZFx+hERU=
X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu)
View all headers

Am 01.02.2024 19:31 Uhr schrieb Tim Landscheidt:

> muss man wahlweise
> „#include <freetype2/freetype/freetype.h>“ verwenden oder
> den Suchpfad mit „-I/usr/include/freetype2/freetype“ erwei-
> tern.

Danke, das hat dieses Problem behoben.
Habe ich im Makefile gemacht.

--
Gruß
Marco

Spam und Werbung bitte an ichschickereklame@cartoonies.org


rocksolid / de.comp.os.unix.programming / include-Path bei C

1
server_pubkey.txt

rocksolid light 0.9.136
clearnet tor