Re: [Dev-C++] problem linking to freeglut
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Chris D. <cd...@sh...> - 2004-01-01 22:00:51
|
Unfortunately, that didn't help. My application compiles without error, it's some kind of linking problem. I'm using freeglut 2.2.0 from http://freeglut.sourceforge.net/. Damien A wrote: > Include windows.h before including glut. > > >From: Chris Dion >To: dev...@li... >Subject: > [Dev-C++] problem linking to freeglut >Date: Thu, 01 Jan 2004 13:18:08 > -0800 >MIME-Version: 1.0 >Hello all, > >I tried searching the archive > before posting, but sourceforge >doesn't want to cooperate today. I'm > having trouble linking to the >freeglut lib that came in the DevPak > found here: >http://www.nigels.com/glt/devpak/ using Dev-Cpp 4.9.8.5. > > >I had similar problems linking with the glut libs that were > included >with this version of Dev-Cpp. Any suggestions? > >Here is a > snippet of the compiler output: >g++.exe src/cobject.o src/cstring.o > src/main.o src/cmemorystream.o >src/capplication.o src/cwindow.o -o > "Core.exe" -L"C:/Dev-Cpp/lib" >-lopengl32 -lfreeglut > >src/capplication.o(.text+0xc):capplication.cpp: undefined reference > >to `_imp__glutInitDisplayMode@4' > >src/capplication.o(.text+0x1e):capplication.cpp: undefined reference > >to `_imp__glutIdleFunc@4' > >src/capplication.o(.text+0xb8):capplication.cpp: undefined reference > >to `_imp__glutDisplayFunc@4' > >src/capplication.o(.text+0xca):capplication.cpp: undefined reference > >to `_imp__glutReshapeFunc@4' > >src/capplication.o(.text+0xdc):capplication.cpp: undefined reference > >to `_imp__glutMouseFunc@4' |