Using CDT to Develop OpenGL and Glut [message #19512] |
Fri, 28 January 2005 07:33 |
Eclipse User |
|
|
|
Originally posted by: BruceDickinson.t-online.de
Hi I am new to the Eclipse platform,
I plan to use Eclipse to develop some OpenGl apps (mainly for study).
The Problem: cant build the project.
I use MinGW and Cygwin under Win XP for gcc and so on. I can include
GL/gl.h and GL/glut.h without trouble (after a lot of trying out) but I
am not able to build, since there is always the following error for
each gl and glut function:
-----------------------------
main.o */Eigene Dateien/Programmierung/MyOpenGl/Debug/../main.cpp:11:
undefined reference to `glClear@4' E:/Eigene
Dateien/Programmierung/MyOpenGl/Debug/../main.cpp:14: undefined
reference to `glColor3f@12' MyOpenGl line 0 28.
-----------------------------
The code completion works, so I can see that I use the correct function
name, but it just wont build.
If any one knows a tutorial explaining how to set up the environment or
has some hints, I would be very thankful.
Thanks
Marc
|
|
|
Powered by
FUDForum. Page generated in 0.10031 seconds