PureZIP conflicts with Png Image Decoder :(

Everything else that doesn't fall into one of the other PB categories.
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

PureZIP conflicts with Png Image Decoder :(

Post by Inf0Byt3 »

Hi, I am using PB's png image decoder in association with PureZIP and i keep getting this error... Anyone knows a workaround for this please?

Image
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Post by Thorsten1867 »

I've the same problem in EasySetup. It seems not to be possible to use both together (PNG uses ZLib, too)
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Where is PureZIP?
thefool
Always Here
Always Here
Posts: 5881
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Yes, it's a know problem.
You cannot use PureZIP and ImagePluginPNG together in the same project.
They both use a static ZLIB library ; I don't know what to do to avoid the POLINK error. Maybe some guru knows ...
What you can do :
- use another image plugin
- use a ZLIB DLL
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Well i replaced the PNG Image decoder with the TIFF one (i needed to draw alpha images) and now it's working properly.

Thanks!
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

I get an error:
---------------------------
PureBasic - Error
---------------------------
Error: The following PureLibrary is missing: LibraryExtension
---------------------------
OK
---------------------------

Edit: Never mind.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Trond wrote:I get an error:
---------------------------
PureBasic - Error
---------------------------
Error: The following PureLibrary is missing: LibraryExtension
---------------------------
OK
---------------------------
http://freenet-homepage.de/gnozal/PureZIP.zip is PB3.94 lib.
http://freenet-homepage.de/gnozal/PureZIP_.zip is PB 4.0x lib
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply