Remove legacy libpng 1.4 files from submodule

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 777
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Remove legacy libpng 1.4 files from submodule

Post by Lone_Wolf »

When building oolite on linux against libpng 1.6.x one issue arises at runtime:

The submodule oolite-linux-dependencies has png.h & pngconf.h in its include folder .

Some parts of oolite use this file and request libpng 1.4.7 at runtime, making the menus unreadable.
Note that the linker correctly links to libpng 1.6 .

Removing those files before building solves the issue completely .

viewtopic.php?t=21909 has a lengthy discussion about these files.
OS : Arch Linux 64-bit - rolling release

From: The Netherlands, Europe

OXPs : My user page (needs updating)

Retired, occasionally active
User avatar
mcarans
---- E L I T E ----
---- E L I T E ----
Posts: 656
Joined: Sun Jun 20, 2010 6:00 pm

Re: Remove legacy libpng 1.4 files from submodule

Post by mcarans »

Lone_Wolf wrote: Sat Jan 10, 2026 2:58 pm
When building oolite on linux against libpng 1.6.x one issue arises at runtime:

The submodule oolite-linux-dependencies has png.h & pngconf.h in its include folder .

Some parts of oolite use this file and request libpng 1.4.7 at runtime, making the menus unreadable.
Note that the linker correctly links to libpng 1.6 .

Removing those files before building solves the issue completely .

viewtopic.php?t=21909 has a lengthy discussion about these files.
You are right. The modern build only uses the mozilla folder in there, so much of it is outdated.
Post Reply