From: Fay J. F Dr C. U. AFSEO/SK <joh...@eg...> - 2006-09-22 17:40:14
|
I just found why I didn't get an error ... In "freeglut_std.h" on lines 85-93 we find some pragmas that are defined only for "_MSC_VER" or __WATCOMC__" and not for "_WIN32_WCE". These pragmas pull in the libraries "winmm.lib", "user32.lib", "gdi32.lib", "opengl32.lib", and "glu32.lib". Should we add some more conditions under which to bring these libraries in automatically? Or should we try taking them out? John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group 850-883-1294 joh...@eg... -----Original Message----- From: Fay John F Dr CTR USAF AFSEO/SK Sent: Friday, September 22, 2006 12:33 PM To: 'FreeGLUT developers list' Subject: RE: [Freeglut-developer] Linking problems on Windows Andreas, Interestingly, I just took the "gdi32.lib" reference out of my list of libraries (in the MSVC project settings) for the Callback Maker demo--I couldn't find a "winmm.lib" in the list at all--and it compiled and linked beautifully. Can you tell me what link errors you got? John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group 850-883-1294 joh...@eg... -----Original Message----- From: fre...@li... [mailto:fre...@li...] On Behalf Of Andreas Volz Sent: Tuesday, September 19, 2006 3:45 PM To: fre...@li... Subject: Re: [Freeglut-developer] Linking problems on Windows <snip> I compiled freeglut with -DFREEGLUT_STATIC. But I missed to add this define to my example. Now it works (nearly). There's still the same problem as with (real) GLUT. I need to link against -lfreeglut -lglu32 -lopengl32 -lwinmm -lgdi32 in exact this order to get no unresolved symbols. I tried to compile freeglut with -lwinmm and -lgdi32 to avoid this, but no change. I don't like linking all my apps to -lwinmm and -lgdi32. This troubles all my autotool scripts that work for Linux. So why is this needed on windows and how could I avoid it? regards Andreas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freeglut-developer mailing list Fre...@li... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |