Everything I compile turns out with the same error, i have reinstalled the compiler with different revisions, installed it on other windows computer and its the same over and over. I am on the verge of getting a mac...
Code:
/mingw/lib/libmingw32.a(main.o):main.c:(.text+0x104): undefined reference to `WinMain@16'
all the code...
Code:
================ READY ================
g++ model.cpp -lglaux -lopengl32 -lglu32
g++ model.cpp -lglaux -lopengl32 -lglu32
Process started >>>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccfZqWec.o:model.cpp:(.text+0x96c): undefined reference to `LoadGLTexture(char const*)'
/mingw/lib/libmingw32.a(main.o):main.c:(.text+0x104): undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
<<< Process finished.
================ READY ================
A thankyou in advance for any help