20 Jul 11:01
Agar seems to compile without OpenGL [win / msys]
From: ADI64 <aholfter@...>
Subject: Agar seems to compile without OpenGL [win / msys]
Newsgroups: gmane.comp.lib.agar.general
Date: 2008-07-20 09:01:55 GMT
Subject: Agar seems to compile without OpenGL [win / msys]
Newsgroups: gmane.comp.lib.agar.general
Date: 2008-07-20 09:01:55 GMT
Hey all, I compiled the agar library under windows with msys ( --enable-threads --with-freetype --with-gl ). Configure checked for OpenGL32, found it and said it's working and compiled the library. In my project, I use parts of the glview.c example in a c++ project. The code part is: -------------------------------- AG_Window *gui; AG_GLView *glv; AG_HBox *hb; .... gui = AG_WindowNew(AG_WINDOW_PLAIN); hb = AG_HBoxNew(gui, AG_HBOX_EXPAND); AG_LabelNewString(gui, 0, "Heyho, let's go"); // Create the AG_GLView widget. glv = AG_GLViewNew(hb, AG_GLVIEW_EXPAND); -------------------------------- Everything compiles and links fine, but the AG_GLViewNew function seems to make problems. The Error output is: -------------------------------- ||=== SDLtest, Debug ===| obj\Debug\engine.o||In function `_ZN7TEngine14T3D_OpenWindowEiib':|(Continue reading)
RSS Feed