On Mon, Oct 20, 2008 at 09:29:35PM +0000, 115Volt wrote: > Hi, > > i'm considering to use agre in one of my projects, > but i don't wan't to use open gl. > So i'm searching for a vc2005 binary with nogl. > All binaries on the downloadpage seem to need opengl > except for the cygwin binary. > At least i get linker errors which indicate that the need open gl. > > I allready considered to compile it, > but i can't figure out how to compile it with -nogl, > is there a #define or something i need to define before recompiling it?
This shouldn't be necessary. We don't provide -nogl flavors of the precompiled binaries (or project file .zip's) for them, because libopengl32 should be part of Platform SDK regardless of whether you are using it or not. As long as you use AG_InitVideoSDL(), Agar will not use OpenGL. If you really want a nogl flavor, the easiest method is to build from mingw/msys with ./configure --without-gl. If you really want a nogl flavor built under vc2005, follow these steps: - Download and install BSDBuild (http://bsdbuild.hypertriton.com/) - Install premake.exe (http://premake.sourceforge.net/) - Edit the file "Makefile.proj" on the top-level Agar source directory and add "windows:i386:vs2005:-nogl:--without-gl" to ${PROJFILES}. - From the Agar source directory, execute "make proj". If successful, you will find "nogl" versions of the project files under ./ProjectFiles. _______________________________________________ Agar mailing list [email protected] http://libagar.org/lists.html
