Re: [Plib-users] The Necessity of DLL's
Brought to you by:
sjbaker
From: Adnan B. <adn...@gm...> - 2005-04-01 03:25:44
|
if you put glut32.dll in your project folder it will still work as you thinking about plib never used it but as i worked on glut and glui.glui is small but interesting for menus instead of using right mouse better to use GUI. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Apr 1, 2005 3:57 AM, Steve Baker <sjb...@ai...> wrote: > Matt Jones wrote: > > Hi, I'm new to PLIB and am just looking into whether it is suitable for > > my project. > > > > The application will be on win32 (with a later view to porting across > > platforms) and I expect to use either GLUT or freeglut. > > > > Does this mean I will have to provide the glut32.dll with my project? > > Despite the possibility of statically linking with libraries like > > glut32.lib it still seems all GLUT apps require this DLL too, and > > ideally I want to minimise dependencies... > > If you utterly want to minimise depenencies and your windowing needs are > very basic (ie opening one window and rendering OpenGL into it) - then > you may be able to manage with PLIB's own 'PW' windowing library. For > simple single window applications, it's a lot like GLUT...but it's a part > of PLIB so there are no extra dependencies. > > > So maybe freeglut is better for this (ie. it may allow static linking > > without using any DLL's at runtime)? Indeed I would much prefer to use > > freeglut for a variety of reasons. > > Both GLUT and freeglut will work as either statically or dynamically linked > libraries. I'm not a Windows user - but I think it's your choice. > > > Hoping this question is not misplaced: what do I need to do to build an > > application with freeglut (and remove dependencies on GLUT)? > > Not much - freeglut is intended as a plug-compatible library - if you are > compiled and running with GLUT.DLL, you can just replace that with the > freeglut DLL and it should still work - you don't even need to recompile. > > > I know in readme.GLUT it says it does not depend on glut, but without > > the DLL there anything I try still gives the same 'unable to locate > > glut32.dll'. > > It sounds like you are still linking against it...look at your > compile commands. > > ---------------------------- Steve Baker ------------------------- > HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> > HomePage : http://www.sjbaker.org > Projects : http://plib.sf.net http://tuxaqfh.sf.net > http://tuxkart.sf.net http://prettypoly.sf.net > -----BEGIN GEEK CODE BLOCK----- > GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- > V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ > -----END GEEK CODE BLOCK----- > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > |