Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT + GLUT
CDT + GLUT [message #162850] Tue, 31 January 2006 19:48 Go to next message
Eclipse UserFriend
Originally posted by: radu.solomon.gmail.com

Hello,

for one of my courses I need to writte an OpenGL C++ project based on
glut. I am using an iBook G4 with Tiger 10.4.3, Java 1.5 and g++ and gcc.

I got Eclipse and installed CDT project and it all works fine as long as i
do not try to import the GLUT framework. As soon as I do, i can see the
framework in my list of packages but when i try to import with

#include <GLUT/glut.h>

I get the following:

1. /usr/bin/ld Undefined symbols:

2. C/C++ Indexer Problem: Preprocessor Inclusion not found: GLUT/glut.h in
file: /Users/radu/Documents/workspace/TestGLUT/animate_skel.cpp on line:
35. animate_skel.cpp

Any help how to get over this will be appreciate as I do not like to run
VS.Net in the Windows on VirtualPC on my iBook.

Thanks,
Re: CDT + GLUT [message #162865 is a reply to message #162850] Wed, 01 February 2006 02:38 Go to previous messageGo to next message
Eclipse UserFriend
Radu,

some path settings appear to be missing. Look through the project properties
for places where include and library paths may be specified. I think we need
more information about your setup to be able to give good answers.

- Are you using managed or standard make projects
- Where are the GLUT headers relative to your sources and relative to
standard include directories?
- Where are the libraries?


Norbert
Re: CDT + GLUT [message #162935 is a reply to message #162865] Wed, 01 February 2006 13:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: radu.solomon.gmail.com

Hi,

- I tried both managed and un managed projects
- The GLUT is installed in the default location on Mac OSX Tiger which is

/System/Library/Frameworks/GLUT.framework
/System/Library/Frameworks/OpenGL.framework

In the linker in my project, I specifically included this two paths but
with no luck. The thing is that any other application compiles as long as
I do not use GLUT. However, i tried codewarriro and my program compiled
without any problems and it found the GLUT libraries.

Thanks
Radu

Norbert Ploett wrote:

> Radu,

> some path settings appear to be missing. Look through the project properties
> for places where include and library paths may be specified. I think we need
> more information about your setup to be able to give good answers.

> - Are you using managed or standard make projects
> - Where are the GLUT headers relative to your sources and relative to
> standard include directories?
> - Where are the libraries?


> Norbert
Re: CDT + GLUT [message #163545 is a reply to message #162935] Thu, 09 February 2006 13:12 Go to previous message
Eclipse UserFriend
Originally posted by: radu.solomon.gmail.com

I guess there is no way to use CDT + GLUT on a Mac which is dissapointing
because I like eclipse and I used it for my Java development. I guess I
will have to look at different development IDE's. The thing that
dissapoints me is that there is no tutorial on how to set up it on a Mac
but rather only on Windows.

Radu wrote:

> Hi,

> - I tried both managed and un managed projects
> - The GLUT is installed in the default location on Mac OSX Tiger which is

> /System/Library/Frameworks/GLUT.framework
> /System/Library/Frameworks/OpenGL.framework

> In the linker in my project, I specifically included this two paths but
> with no luck. The thing is that any other application compiles as long as
> I do not use GLUT. However, i tried codewarriro and my program compiled
> without any problems and it found the GLUT libraries.

> Thanks
> Radu

> Norbert Ploett wrote:

>> Radu,

>> some path settings appear to be missing. Look through the project
properties
>> for places where include and library paths may be specified. I think we
need
>> more information about your setup to be able to give good answers.

>> - Are you using managed or standard make projects
>> - Where are the GLUT headers relative to your sources and relative to
>> standard include directories?
>> - Where are the libraries?


>> Norbert
Previous Topic:Build All command does not work
Next Topic:Autocreating Managed Make Files?
Goto Forum:
  


Current Time: Fri May 02 14:08:51 EDT 2025

Powered by FUDForum. Page generated in 0.03991 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top