RE: [Dev-C++] problem linking to freeglut
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Damien A <g_...@ho...> - 2004-01-01 21:45:43
|
<html><div style='background-color:'><DIV class=RTE> <P>Include windows.h before including glut.<BR><BR></P></DIV> <DIV></DIV>>From: Chris Dion <CD...@SH...> <DIV></DIV>>To: dev...@li... <DIV></DIV>>Subject: [Dev-C++] problem linking to freeglut <DIV></DIV>>Date: Thu, 01 Jan 2004 13:18:08 -0800 <DIV></DIV>>MIME-Version: 1.0 <DIV></DIV><mailto:dev...@li...?subject=unsubscribe><mailto:dev...@li...><mailto:dev...@li...?subject=help><mailto:dev...@li...?subject=subscribe> <DIV></DIV>>Hello all, <DIV></DIV>> <DIV></DIV>>I tried searching the archive before posting, but sourceforge <DIV></DIV>>doesn't want to cooperate today. I'm having trouble linking to the <DIV></DIV>>freeglut lib that came in the DevPak found here: <DIV></DIV>>http://www.nigels.com/glt/devpak/ using Dev-Cpp 4.9.8.5. <DIV></DIV>> <DIV></DIV>>I had similar problems linking with the glut libs that were included <DIV></DIV>>with this version of Dev-Cpp. Any suggestions? <DIV></DIV>> <DIV></DIV>>Here is a snippet of the compiler output: <DIV></DIV>>g++.exe src/cobject.o src/cstring.o src/main.o src/cmemorystream.o <DIV></DIV>>src/capplication.o src/cwindow.o -o "Core.exe" -L"C:/Dev-Cpp/lib" <DIV></DIV>>-lopengl32 -lfreeglut <DIV></DIV>>src/capplication.o(.text+0xc):capplication.cpp: undefined reference <DIV></DIV>>to `_imp__glutInitDisplayMode@4' <DIV></DIV>>src/capplication.o(.text+0x1e):capplication.cpp: undefined reference <DIV></DIV>>to `_imp__glutIdleFunc@4' <DIV></DIV>>src/capplication.o(.text+0xb8):capplication.cpp: undefined reference <DIV></DIV>>to `_imp__glutDisplayFunc@4' <DIV></DIV>>src/capplication.o(.text+0xca):capplication.cpp: undefined reference <DIV></DIV>>to `_imp__glutReshapeFunc@4' <DIV></DIV>>src/capplication.o(.text+0xdc):capplication.cpp: undefined reference <DIV></DIV>>to `_imp__glutMouseFunc@4' <DIV></DIV>> <DIV></DIV>> <DIV></DIV>> <DIV></DIV>>------------------------------------------------------- <DIV></DIV>>This SF.net email is sponsored by: IBM Linux Tutorials. <DIV></DIV>>Become an expert in LINUX or just sharpen your skills. Sign up for <DIV></DIV>>IBM's <DIV></DIV>>Free Linux Tutorials. Learn everything from the bash shell to sys <DIV></DIV>>admin. <DIV></DIV>>Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click <DIV></DIV>>_______________________________________________ <DIV></DIV>>Dev-cpp-users mailing list <DIV></DIV>>Dev...@li... <DIV></DIV>>TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm <DIV></DIV>>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users <DIV></DIV></mailto:dev...@li...?subject=subscribe></mailto:dev...@li...?subject=help></mailto:dev...@li...></mailto:dev...@li...?subject=unsubscribe></div><br clear=all><hr>Tired of spam? Get <a href="http://g.msn.com/8HMBEN/2734??PS=">advanced junk mail protection</a> with MSN 8.</html> |