bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug with collect2.exe: error: ld returned 1 exit status make: *** [Makef


From: Ibrahim Salma
Subject: Bug with collect2.exe: error: ld returned 1 exit status make: *** [Makefile:2: all] Error 1
Date: Tue, 9 Aug 2022 17:38:05 +0200

Hi, i am having problem with makefile or make command can you please help me it's giving me an error message like this:

collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:2: all] Error 1



This is the code in the Makefile:

all:
    g++ -I src/include -L src/lib -o main main.cpp -lmingw32 -lSDL2main -lSDL2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]