Page 1 of 1

Collect2.exe: Fehler: ld hat 1 Exit-Status zurückgegeben

Posted: 05 Jan 2025, 10:05
by Guest
Ich brauche bitte Hilfe, wenn ich versuche, meine .C-Datei in PNG zu kompilieren

Code: Select all

gcc --std=c99 -Wall -lz a.c -o a.png
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find -lz
collect2.exe: error: ld returned 1 exit status
Was bedeutet das?