Page 1 of 1

Samples compilation problem on Linux

Posted: Fri Sep 23, 2005 07:09
by samseed
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.

Re: Samples compilation problem on Linux

Posted: Sun Sep 25, 2005 08:41
by CrazyEddie
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

Re: Samples compilation problem on Linux

Posted: Tue Sep 27, 2005 06:48
by samseed
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.