Problem: $(CPP) $(LINKOBJ) -o $(BIN) $(LIBS)

Hello everyone,

When I write this program to draw a circle in Dev-C++,

I have a problem in the makefile.win at this line:
$(CPP) $(LINKOBJ) -o $(BIN) $(LIBS)


Id returned 1 exit status . Problem with collect2.exe.


Can anyone help with that?

Thanks,










#include <windows.h>
#include <graphics.h>



int main( )
{
initwindow(400, 300, "First Sample");
circle(100, 50, 40);
while (!kbhit( ))
{
delay(200);
}
return 0;
}
Please read:
http://www.cplusplus.com/articles/36vU7k9E/

Also, instead of using Makefiles you should probably consider learning to use CMake.
Topic archived. No new replies allowed.