Re: Build failure Oracle Linux 9.3

"John Selverian" <[email protected]> Thu, 29 Feb 2024 11:35:32 -0500
Newsgroups gmane.comp.lib.fox-toolkit.user
Organization JAHM Software
Message-ID <[email protected]>
I ran into a similar problem and had to install PNG 1.6. This was
unexpected since I kept my system updated, it was Ubuntu 20.04



-----Original Message-----
From: [email protected] <[email protected]> 
Sent: Thursday, February 29, 2024 11:08 AM
To: Phil Otken <[email protected]>
Cc: [email protected]
Subject: Re: [Foxgui-users] Build failure Oracle Linux 9.3


You have two choices: Install the old version of libpng (<1.2 I
believe) for the version of FOX you're using, or install the
current FOX library and use the newer version of PNG (currently
1.6).

The former is likely the Q&D fix to your problem, but you'd have
to recompile the old png library.  Moreover, to ensure you'd be
able to ship your executables to others, I'd recommend linking it
statically, as your audience may not have the old png installed.

Long term, I suggest updating to FOX 1.7 which supports current
PNG library; it may require minor changes to your code, mostly.

The API of older PNG library had references to jump buffer [a
poor man's exception handling used in C].  In a nutshell, the
issue is that the newer CPUs of today need a different size of
this buffer.


                -- JVZ


_______________________________________________
Foxgui-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/foxgui-users