How to get Glui to work with Openglut?

2

January 7, 2009 by ricardovs

I am trying to port a Glui+Glut project into Glui+Openglut, and it’s been a hard time.  So far I’m having a lot of warnings about duplicated fuction definitions such as:

  • 284:1 C:\Dev-Cpp\include\GL\glut.h [Warning] “GLUT_RGB” redefined.
  • 288:1 C:\Dev-Cpp\include\GL\glut.h [Warning] “GLUT_DOUBLE” redefined.
  • 289:1 C:\Dev-Cpp\include\GL\glut.h [Warning] “GLUT_ACCUM” redefined .
  • 414:1 C:\Dev-Cpp\include\GL\glut.h [Warning] “GLUT_WINDOW_STENCIL_SIZE” redefined.

In the header I only have the following graphics libraries:

  • #include <GL/openglut.h>.
  • #include <GL/glui.h>

And  in the linker added:

  • -lglui.
  • -lopenglut.

So if you know how to make it work, won’t you please drop me aline? Thank you.

Advertisements

2 thoughts on “How to get Glui to work with Openglut?

  1. mike lincoln says:

    Did you ever get this to work. I’m suffereing the same pain at the moment and would be interested to hear if you ever made it work!

    Cheers,

    Mike

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: