This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Compile error for quaternion_demo on VS2008

Tags: None
(comma "," separated)
vernal
Registered Member
Posts
37
Karma
0
Hi,

I downloaded latest eigen 2.0.9 package. I have latest Qt 4.5.3 and latest boost 1.41.0 installed. When I run CMake 2.80 to create the project files I select to build the demos and input my boost directory. Configure succeeds, but I'm not having some optional components. So far so good.

I open the ALL_BUILD project in VS2008 SP1 and let it build. All sub-projects build fine except for quaternion_demo: Tons of errors are found in gl.h which seems to belong to the Microsoft Windows SDK 6.0a.

I read that might have to do with a missing include of windows.h but where would I include it?

Do I need a special OpenGL package like GLUT?

Should quaternion_demo rather use the OpenGL features of Qt?

Please tell me what the intended behaviour of quaternion_demo is, i.e. which libraries it usually uses.

Best regards,
vernal

Last edited by vernal on Fri Nov 27, 2009 8:19 am, edited 1 time in total.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
hi,

quaternion_demo is only a very small example showing how to interface Eigen with OpenGL, and illustrating the interest of the Quaternion's slerp function over Euler angles or other solutions.

If you really want to see it in action, you need Qt, and a correct opengl header file, that's it. Now, since I don't know windows, I cannot help you with setting up an opengl development environment for that platform.
vernal
Registered Member
Posts
37
Karma
0
Thank you. That "correct OpenGL header file" is not part of Qt as I understand your reply? Would freeglut provide such a header file within linux?


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]