freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help compiling freetype demos


From: Werner LEMBERG
Subject: Re: Need help compiling freetype demos
Date: Wed, 10 May 2023 05:50:06 +0000 (UTC)

> I'm subscribed already and getting emails from the mailing list.

Indeed, you are, sorry.  For some reason, I got a mailman admin
message...

> https://hastebin.com/share/gejakiluli.yaml
> Here's the output of meson setup.

I get approximately the same, except the 'lrelease' warning for Qt5,
which I've never seen before.  Maybe your Qt5 installation is
incomplete?

> After doing that, recloning the project, and recompiling, I got this
> shorter list of linker errors:
> https://hastebin.com/share/venelugome.bash
> 
> The first log had multiple sets of errors, but the second one has
> only one set: the one under the heading "Linking target ftdiff"
> 
> What should I do next?

Good question.  I don't know.  I use meson 0.59.4, you have version
0.61.2, maybe this makes a difference?

My linker flags for `ftdiff` are

```
-Wl,--as-needed
-Wl,--no-undefined
-Wl,--start-group
libftcommon.a
libcommon.a
graph/libgraph.a
subprojects/freetype2/libfreetype.a
/usr/lib64/libpng16.so
/usr/lib64/libz.so
/usr/lib64/librsvg-2.so
-lm
/usr/lib64/libgio-2.0.so
/usr/lib64/libgdk_pixbuf-2.0.so
/usr/lib64/libgobject-2.0.so
/usr/lib64/libglib-2.0.so
/usr/lib64/libcairo.so
/usr/lib64/libX11.so
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/libz.so
-lbz2
/usr/lib64/libharfbuzz.so
/usr/lib64/libbrotlidec.so
-Wl,--end-group
```

Your list is

```
-Wl,--as-needed
-Wl,--no-undefined
-Wl,-rpath,/usr/local/lib/x86_64-linux-gnu
-Wl,-rpath-link,/usr/local/lib/x86_64-linux-gnu
-Wl,--start-group
libftcommon.a
libcommon.a
graph/libgraph.a
subprojects/freetype2/libfreetype.a
/usr/local/lib/x86_64-linux-gnu/libpng16.so
/usr/lib/x86_64-linux-gnu/librsvg-2.so
-lm
/usr/lib/x86_64-linux-gnu/libgio-2.0.so
/usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so
/usr/lib/x86_64-linux-gnu/libglib-2.0.so
/usr/lib/x86_64-linux-gnu/libcairo.so
/usr/lib/x86_64-linux-gnu/libX11.so
/usr/lib/x86_64-linux-gnu/libz.so
/usr/lib/x86_64-linux-gnu/libharfbuzz.so
/usr/lib/x86_64-linux-gnu/libbrotlidec.so
-Wl,--end-group
```

which looks good, AFAICS, so I'm clueless, sorry.

BTW, I've just updated the meson-wrap files in the git repository.  I
doubt that this helps, but...

Anybody else who has some insight?


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]