|
From: Dragoon <dr...@ic...> - 2000-12-07 20:22:17
|
Hi to all on the list, i'm a semi-new C coder, trying to test out the Mingw32 compiler with a few opengl sources i have, it works fine with the opengl32 lib (-lopengl32) etc. even the win32 lib works, i can get a window working, great. but when i try to link the GLUT lib, it fails every time, giving me some crap about undefined references to '__glutInitDisplayMode' and a few others. what am i doing wrong? i'm using the gcc-2.95.2-msvcrt version of mingw32, gcc date 7/11/99. also, from compiling some old app, i got 'undefined ref to WinMain@16", WTF? finally this is probably obvious, but i can't find the answer so i'll ask you guys. how do i direct the compiler output to a file (i'm using win95) any advice apperciated, thanks |