I am using mingw 5.1.3 with msys (DTK) and have a problem while
linking against libopengl32.a (and libglu32.a). Before I post it as a
bug, I wanted to check with you guys if I have missed something.
I have reduced the code to the following:
int main(int argc, char* argv)
and compile the lot with:
gcc -lopengl32 -lglu32 test.c
I get the error messages:
ccKYcaaa.o:test.cpp:(.text+0x45): undefined reference to `glVertex3f@...'
ccKYcaaa.o:test.cpp:(.text+0x70): undefined reference to `gluOrtho2D@...'
collect2: ld returned 1 exit status
I do not get what the problem is, since that should be a no brainier.
Thanks for the help,