Samples compilation problem on Linux

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
samseed
Just popping in
Just popping in
Posts: 8
Joined: Fri Sep 23, 2005 06:50

Samples compilation problem on Linux

Postby samseed » Fri Sep 23, 2005 07:09

I have followed the installation instructions and successfully installed CEGUI on my Linux machine - at least it seems to have, however when I try to compile a sample from the /Samples folder it fails. Here's what I do:

- Open a terminal window and go to the sample I'm going to compile's directory.
- type make

It starts, but then dies at this:

/usr/bin/ld: cannot find -lCEGUISampleHelper
collect2: ld returned 1 exit status
make[1]: *** [FirstWindow] Error 1
make[1]: Leaving directory `/home/s/cegui/cegui_mk2/Samples/FirstWindow/src'
make: *** [all-recursive] Error 1


I'm very new to working on Linux, so sorry for any stupidity in advance.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Samples compilation problem on Linux

Postby CrazyEddie » Sun Sep 25, 2005 08:41

The samples are built at the same time as the rest of the system - unless you explicitly disabled their building, or if none of the renderers were built, or if the OpenGL renderer was build but the glut lib could not be found. The output from ./configure would tell you whether the samples were disabled.

after make && make install, the sample executables are in cegui_mk2/Samples/bin

User avatar
samseed
Just popping in
Just popping in
Posts: 8
Joined: Fri Sep 23, 2005 06:50

Re: Samples compilation problem on Linux

Postby samseed » Tue Sep 27, 2005 06:48

Sorry CrazyEddie, my question spread to another post and your answer to that answered this as well. I didn't have glut installed. Thanks again.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 4 guests