On 9/19 Sep 2011 23:39:27, Tony Theodore wrote:
> It seems freeglut is the culprit here, it wasn't being built
> statically in the first place. I've added a test program for both this
> and glew:
Maybe so, but the real problem was really a user error, Brad has the
wrong order of libraries to link (Windows is different in this than
Linux, order is important), in example.pro:
LIBS += -lglut -L../lib -lopencsg
is wrong, I changed it to:
LIBS += -L../lib -lopencsg -lGLEW -lglut
still no go, Qt adds the dependencies before...
So now with:
LIBS += -L../lib -lopencsg -lGLEW -lglut -lglu32 -lopengl32
-lwinmm -lgdi32
it works! A nice rotating solid on Windows (several, chosen with
right-mouse menu.)
Actually if it really works is left for an expert, Brad? Concave shape
with CSG algorithms looks different (not solid) than Goldfeather.
--
René Berber