Sunday, June 14, 2009

Setting up Eclipse + wxWidgets 2.8.10 + OpenGL

Ok, here's just a little update if you want to work with wxWidgets and OpenGL inside Eclipse.
It took me a while to figure out how to make Eclipse building my wxWidgets/OpenGL tests but the trick is easy now that I've found it! ^^
Here are the updated-opengl commands to paste into the Linker flags :

Debug Build
-lopengl32 -lglu32 `wx-config --debug=yes --static=no --libs std,gl`

Release Build
-lopengl32 -lglu32 `wx-config --debug=no --static=no --libs std,gl`

0 comments:

Post a Comment