Installing Window9!

External libraries (GTK, GSL, SDL, Allegro, OpenGL, etc) questions.
Post Reply
Posts: 1
Joined: Sep 30, 2022 17:50

Installing Window9!

Post by Liowan »

Hi guys, I just downloaded the Window9 library, compiled it from source with no errors and attempted to work through an example. Here is the error:

E:\Basic\FreeBASIC-1.09.0-winlibs-gcc-9.3.0\bin\win32\ld.exe: cannot find -lz

I have no idea what this "lz" is or how to fix it! :oops:
Posts: 12177
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Installing Window9!

Post by fxm »

Welcome to the forum !

VANYA wrote: Mar 29, 2022 10:15
RNBW wrote: Mar 29, 2022 9:42 All of a sudden I am getting a "ld.exe cannot find -lz" error when using GUI library for windows.

What is the linker trying to link to and where do I find it?
You need to add the ZLIB library (only libz.a).
She can be found here or here (for windows).
Post Reply