Linux compiling

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
SOMRoberto
Just popping in
Just popping in
Posts: 20
Joined: Sat Dec 31, 2005 21:08
Contact:

Linux compiling

Postby SOMRoberto » Sat Dec 31, 2005 21:17

I got basically problem. I download cegui linux source package and I try compiled it:

robi:~$ cd cegui_mk2
robi:~/cegui_mk2$ sh ./bootstrap
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/auto ... ng-aclocal
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
robi:~/cegui_mk2$ ./configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for main in -ldl... yes
checking for main in -lpthread... yes
checking for main in -lxerces-c... no
configure: Default XML Parser is: TinyXML
checking for pkg-config... /usr/bin/pkg-config
checking for freetype2 >= 0.15.0... yes
checking freetype2_CFLAGS... -I/usr/include/freetype2
checking freetype2_LIBS... -lfreetype -lz
checking for ANSI C header files... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking for ptrdiff_t... yes
checking for error_at_line... yes
checking for working memcmp... yes
checking whether time.h and sys/time.h may both be included... yes
checking for stdlib.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... no
checking for working strcoll... yes
checking for strftime... yes
checking for atexit... yes
checking for floor... no
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for pow... no
checking for regcomp... yes
checking for setlocale... yes
checking for sqrt... no
checking for strchr... yes
checking for strcspn... yes
checking for strerror... yes
checking for strpbrk... yes
checking for strtoul... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for library containing glInterleavedArrays... -lGL
checking for library containing gluOrtho2D... -lGLU
checking for library containing glutInit... no
configure: OpenGL renderer enabled
checking for iluFlipImage in -lILU... no
configure: error: Library ilu required for DevIL support is missing
robi:~/cegui_mk2$ make
make: *** No targets specified and no makefile found. Stop.
robi:~/cegui_mk2$

User avatar
SOMRoberto
Just popping in
Just popping in
Posts: 20
Joined: Sat Dec 31, 2005 21:08
Contact:

Re: Linux compiling

Postby SOMRoberto » Sun Jan 01, 2006 16:09

Nobody couldnt't answering my "cardinally" question? :(

User avatar
SOMRoberto
Just popping in
Just popping in
Posts: 20
Joined: Sat Dec 31, 2005 21:08
Contact:

Re: Linux compiling

Postby SOMRoberto » Sun Jan 01, 2006 18:57

What is the devil support with Linux system? Where I can found it? Why coulnd't write in doc depencies? :shock: If I compiled the game I making devil system in game package linnnux??? :shock: :shock:

User avatar
SOMRoberto
Just popping in
Just popping in
Posts: 20
Joined: Sat Dec 31, 2005 21:08
Contact:

Re: Linux compiling

Postby SOMRoberto » Sun Jan 01, 2006 19:14

Some depencies:

freetype2 >= 0.15.0 is needed by CEGUI-0.1.1-1mdk.i586
libxerces-c25 is needed by CEGUI-0.1.1-1mdk.i586
libboost_regex.so.1 is needed by CEGUI-0.1.1-1mdk.i586
libc.so.6 is needed by CEGUI-0.1.1-1mdk.i586
libc.so.6(GLIBC_2.0) is needed by CEGUI-0.1.1-1mdk.i586
libc.so.6(GLIBC_2.1.3) is needed by CEGUI-0.1.1-1mdk.i586
libdl.so.2 is needed by CEGUI-0.1.1-1mdk.i586
libdl.so.2(GLIBC_2.0) is needed by CEGUI-0.1.1-1mdk.i586
libdl.so.2(GLIBC_2.1) is needed by CEGUI-0.1.1-1mdk.i586
libfreetype.so.6 is needed by CEGUI-0.1.1-1mdk.i586
libgcc_s.so.1 is needed by CEGUI-0.1.1-1mdk.i586

Cool!

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Re: Linux compiling

Postby lindquist » Mon Jan 02, 2006 04:37

CEGUI 0.4.1 does not require DevIL. You can disable it by pasing --without-devil to ./configure

Doing this will limit you to only .TGA support for the OpenGL renderer module.

User avatar
SOMRoberto
Just popping in
Just popping in
Posts: 20
Joined: Sat Dec 31, 2005 21:08
Contact:

Re: Linux compiling

Postby SOMRoberto » Mon Jan 02, 2006 12:34

OK I try compiling with your instructions... :P :P


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 12 guests