libfreetype link problems after last update

support for the powerpc toolchain
nebiun
Posts: 89
Joined: Sat Dec 28, 2013 2:42 pm

libfreetype link problems after last update

Post by nebiun » Fri Feb 02, 2024 9:04 am

Hi,
after last update via Pacman I have problems recompiling my *stable* apps.
In the link phase I have this errors:

Code: Select all

C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/ppc/lib\libfreetype.a(autofit.o): in function `af_face_globals_free':
autofit.c:(.text.af_face_globals_free+0xa8): undefined reference to `hb_font_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_face_globals_free+0xb0): undefined reference to `hb_buffer_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/ppc/lib\libfreetype.a(autofit.o): in function `hb_ft_reference_table_':
autofit.c:(.text.hb_ft_reference_table_+0x8c): undefined reference to `hb_blob_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/ppc/lib\libfreetype.a(autofit.o): in function `af_shaper_get_coverage':
autofit.c:(.text.af_shaper_get_coverage+0x70): undefined reference to `hb_font_get_face'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0xbc): undefined reference to `hb_ot_tags_from_script_and_language'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x120): undefined reference to `hb_set_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x144): undefined reference to `hb_ot_layout_collect_lookups'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x14c): undefined reference to `hb_set_is_empty'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x158): undefined reference to `hb_set_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x178): undefined reference to `hb_ot_layout_lookup_collect_glyphs'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x184): undefined reference to `hb_set_next'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x1a8): undefined reference to `hb_set_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x1d0): undefined reference to `hb_ot_layout_collect_lookups'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x1d8): undefined reference to `hb_set_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x1f0): undefined reference to `hb_ot_layout_lookup_collect_glyphs'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x1fc): undefined reference to `hb_set_next'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x2b8): undefined reference to `hb_ot_layout_lookup_would_substitute'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x2cc): undefined reference to `hb_set_next'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x310): undefined reference to `hb_set_subtract'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x334): undefined reference to `hb_set_next'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x370): undefined reference to `hb_set_next'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x380): undefined reference to `hb_set_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x388): undefined reference to `hb_set_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x390): undefined reference to `hb_set_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x398): undefined reference to `hb_set_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x3f8): undefined reference to `hb_set_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x41c): undefined reference to `hb_ot_layout_collect_lookups'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_coverage+0x424): undefined reference to `hb_set_is_empty'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/ppc/lib\libfreetype.a(autofit.o): in function `af_face_globals_new':
autofit.c:(.text.af_face_globals_new+0xe4): undefined reference to `hb_face_create_for_tables'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_face_globals_new+0xf4): undefined reference to `hb_face_set_index'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_face_globals_new+0x100): undefined reference to `hb_face_set_upem'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_face_globals_new+0x108): undefined reference to `hb_font_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_face_globals_new+0x114): undefined reference to `hb_face_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_face_globals_new+0x11c): undefined reference to `hb_buffer_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_face_globals_new+0x584): undefined reference to `hb_blob_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_face_globals_new+0x590): undefined reference to `hb_face_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_face_globals_new+0x59c): undefined reference to `hb_blob_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/ppc/lib\libfreetype.a(autofit.o): in function `af_shaper_get_cluster':
autofit.c:(.text.af_shaper_get_cluster+0x70): undefined reference to `hb_font_set_scale'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_cluster+0xbc): undefined reference to `hb_buffer_clear_contents'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_cluster+0xd4): undefined reference to `hb_buffer_add_utf8'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_cluster+0xdc): undefined reference to `hb_buffer_guess_segment_properties'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_cluster+0xf4): undefined reference to `hb_shape'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_cluster+0x10c): undefined reference to `hb_buffer_clear_contents'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_cluster+0x124): undefined reference to `hb_buffer_add_utf8'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_cluster+0x12c): undefined reference to `hb_buffer_guess_segment_properties'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_cluster+0x140): undefined reference to `hb_shape'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_cluster+0x14c): undefined reference to `hb_buffer_get_glyph_infos'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_cluster+0x15c): undefined reference to `hb_buffer_get_glyph_infos'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_cluster+0x174): undefined reference to `hb_buffer_get_length'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_shaper_get_cluster+0x258): undefined reference to `hb_buffer_clear_contents'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/ppc/lib\libfreetype.a(autofit.o): in function `af_cjk_metrics_init_widths':
autofit.c:(.text.af_cjk_metrics_init_widths+0x64): undefined reference to `hb_buffer_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_cjk_metrics_init_widths+0xc4): undefined reference to `hb_buffer_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_cjk_metrics_init_widths+0x180): undefined reference to `hb_buffer_get_glyph_infos'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_cjk_metrics_init_widths+0x190): undefined reference to `hb_buffer_get_glyph_positions'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_cjk_metrics_init_widths+0x1b0): undefined reference to `hb_buffer_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/ppc/lib\libfreetype.a(autofit.o): in function `af_cjk_metrics_init_blues':
autofit.c:(.text.af_cjk_metrics_init_blues+0x44): undefined reference to `hb_buffer_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_cjk_metrics_init_blues+0x2f0): undefined reference to `hb_buffer_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_cjk_metrics_init_blues+0x308): undefined reference to `hb_buffer_get_glyph_infos'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_cjk_metrics_init_blues+0x318): undefined reference to `hb_buffer_get_glyph_positions'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/ppc/lib\libfreetype.a(autofit.o): in function `af_latin_metrics_init_widths':
autofit.c:(.text.af_latin_metrics_init_widths+0x64): undefined reference to `hb_buffer_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_latin_metrics_init_widths+0xc4): undefined reference to `hb_buffer_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_latin_metrics_init_widths+0x180): undefined reference to `hb_buffer_get_glyph_infos'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_latin_metrics_init_widths+0x190): undefined reference to `hb_buffer_get_glyph_positions'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_latin_metrics_init_widths+0x1b0): undefined reference to `hb_buffer_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/ppc/lib\libfreetype.a(autofit.o): in function `af_latin_metrics_init_blues':
autofit.c:(.text.af_latin_metrics_init_blues+0x68): undefined reference to `hb_buffer_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_latin_metrics_init_blues+0x380): undefined reference to `hb_buffer_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_latin_metrics_init_blues+0x54c): undefined reference to `hb_buffer_get_glyph_infos'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_latin_metrics_init_blues+0x55c): undefined reference to `hb_buffer_get_glyph_positions'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/ppc/lib\libfreetype.a(autofit.o): in function `af_latin_metrics_init':
autofit.c:(.text.af_latin_metrics_init+0xc4): undefined reference to `hb_buffer_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_latin_metrics_init+0x124): undefined reference to `hb_buffer_get_glyph_infos'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_latin_metrics_init+0x134): undefined reference to `hb_buffer_get_glyph_positions'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_latin_metrics_init+0x198): undefined reference to `hb_buffer_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/devkitPro/portlibs/ppc/lib\libfreetype.a(autofit.o): in function `af_cjk_metrics_check_digits.isra.0':
autofit.c:(.text.af_cjk_metrics_check_digits.isra.0+0x4c): undefined reference to `hb_buffer_create'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_cjk_metrics_check_digits.isra.0+0xb4): undefined reference to `hb_buffer_get_glyph_infos'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_cjk_metrics_check_digits.isra.0+0xc4): undefined reference to `hb_buffer_get_glyph_positions'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_cjk_metrics_check_digits.isra.0+0x108): undefined reference to `hb_buffer_destroy'
C:/devkitPro/devkitPPC/bin/../lib/gcc/powerpc-eabi/13.2.0/../../../../powerpc-eabi/bin/ld.exe: autofit.c:(.text.af_cjk_metrics_check_digits.isra.0+0x154): undefined reference to `hb_buffer_destroy'
collect2.exe: error: ld returned 1 exit status
Can someone help me?

nebiun
Posts: 89
Joined: Sat Dec 28, 2013 2:42 pm

Re: libfreetype link problems after last update

Post by nebiun » Fri Feb 02, 2024 9:22 am

Again me :D
Error seem to be in /opt/devkitpro/portlibs/ppc/bin/freetype-config

Now is:

Code: Select all

$ /opt/devkitpro/portlibs/ppc/bin/freetype-config --libs
-L/opt/devkitpro/portlibs/ppc/lib -lpng16 -lm -lz -lharfbuzz -lm -L/opt/devkitpro/portlibs/ppc/lib -L/opt/devkitpro/portlibs/ppc/lib -lz -lfreetype -lbz2
But -lharfbuzz is used by freetype, so I think that this is the correct order for the libraries:

Code: Select all

$ /opt/devkitpro/portlibs/ppc/bin/freetype-config --libs
-L/opt/devkitpro/portlibs/ppc/lib -lpng16 -lm -lz -lm -L/opt/devkitpro/portlibs/ppc/lib -L/opt/devkitpro/portlibs/ppc/lib -lz -lfreetype -lharfbuzz -lbz2
Adding -lharfbuzz after `freetype-config --libs` in Makefile solve my problem

nebiun
Posts: 89
Joined: Sat Dec 28, 2013 2:42 pm

Re: libfreetype link problems after last update

Post by nebiun » Fri Feb 02, 2024 11:53 am

Again :D

Seem that real problem is in:
devkitPro\portlibs\ppc\lib\pkgconfig\freetype2.pc

Replacing line 12:
Libs: -L/opt/devkitpro/portlibs/ppc/lib -lfreetype -lbz2
with:
Libs: -L/opt/devkitpro/portlibs/ppc/lib -lfreetype -lharfbuzz -lbz2

seem solve the problem, but I don't know if this is the right solution...

WinterMute
Site Admin
Posts: 1829
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: libfreetype link problems after last update

Post by WinterMute » Sun Feb 04, 2024 3:14 am

Apologies, not sure why that didn't pick up the dependencies properly when it was built. 2.13.2-2 should fix things for you.
Help keep devkitPro toolchains free, Donate today

Personal Blog

nebiun
Posts: 89
Joined: Sat Dec 28, 2013 2:42 pm

Re: libfreetype link problems after last update

Post by nebiun » Sun Feb 04, 2024 9:49 am

Hi,
sorry, problem is not solved.

Code: Select all

dkp-libs/ppc-freetype 2.13.2-2 (ppc-portlibs) [installed]
    FreeType is a freely available software library to render fonts.

Code: Select all

$ ls -l "c:devkitPro\portlibs\ppc\lib\pkgconfig\freetype2.pc"
-rw-r--r-- 1 nebiu nebiu 450 Feb  4 03:04 'c:devkitPro\portlibs\ppc\lib\pkgconfig\freetype2.pc'

Code: Select all

$ /opt/devkitpro/portlibs/ppc/bin/freetype-config --libs
-L/opt/devkitpro/portlibs/ppc/lib -lpng16 -lm -lz -lharfbuzz -lm -L/opt/devkitpro/portlibs/ppc/lib -L/opt/devkitpro/portlibs/ppc/lib -lz -lfreetype -lbz2

WinterMute
Site Admin
Posts: 1829
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: libfreetype link problems after last update

Post by WinterMute » Sun Feb 04, 2024 2:31 pm

It looks fine on this end

Code: Select all

% /opt/devkitpro/portlibs/ppc/bin/freetype-config --libs 
-L/opt/devkitpro/portlibs/ppc/lib -lfreetype -lbz2 -lpng16 -lz -lm -lz -lharfbuzz -lm
What's your host OS?

edit: nvm, I see the c: in your path that indicates windows. There still seems to be an issue with pkgconf (used as replacement for pkg-config on msys2)

https://github.com/pkgconf/pkgconf/issues/342
Help keep devkitPro toolchains free, Donate today

Personal Blog

nebiun
Posts: 89
Joined: Sat Dec 28, 2013 2:42 pm

Re: libfreetype link problems after last update

Post by nebiun » Sun Feb 04, 2024 3:39 pm

msys2

$ uname -a
MINGW64_NT-10.0-19045 DESKTOP-C8OINBK 3.4.10.x86_64 2023-12-22 10:06 UTC x86_64 Msys

WinterMute
Site Admin
Posts: 1829
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: libfreetype link problems after last update

Post by WinterMute » Sun Feb 04, 2024 6:19 pm

Sorry, I edited post above while you were replying.

There still seems to be an issue with pkgconf (used as replacement for pkg-config on msys2)

https://github.com/pkgconf/pkgconf/issues/342
Help keep devkitPro toolchains free, Donate today

Personal Blog

WinterMute
Site Admin
Posts: 1829
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: libfreetype link problems after last update

Post by WinterMute » Wed Feb 07, 2024 12:48 pm

I've removed the freetype dependency on harfbuzz in this now. The circular dependency I think is more hassle than it's worth
Help keep devkitPro toolchains free, Donate today

Personal Blog

nebiun
Posts: 89
Joined: Sat Dec 28, 2013 2:42 pm

Re: libfreetype link problems after last update

Post by nebiun » Wed Feb 07, 2024 6:27 pm

ppc-freetype-2.13.2-3
Problem solved!
Thankyou.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest