the errors are 25 C:\Users\**********\Documents\Makefile.win recipe for target 'Teachg.exe' failed
C:\Users\**********\Documents\collect2.exe [Error] ld returned 1 exit status
C:\Users\**********\Documents\main.o main.cpp:(.text+0x0): first defined here
C:\Program Files (x86)\Dev-Cpp\MinGW32\lib\libbgi.a(winthread.o) winthread.cxx:(.text+0x640): multiple definition of `WndProc(HWND__*, unsigned int, unsigned int, long)@16'
can someone tell me what to do to fix these errors please? thank you! :D
This means that WndProc is already defined in libbgi that you are linking using "-lbgi"
I dont know what libbgi is so cant comment if you need to keep the version in bgi or the one you have defined in main.cpp, but you have to keep only one of these