I am new to SDL and CEUI(0.7.7) and was compiling secret Maryo Chronicles (smc 1.9) on Ubuntu.I was able to build CEGUI without any errors. I downloaded all the required packages and ./configure was fine but when I compile I am getting error of missing openglrenderer.h file.
following is the output of configure and make for SMC.
Code: Select all
$./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
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 main in -lboost_filesystem... yes
checking for main in -lGL... yes
checking for main in -lGLU... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SDL... yes
checking for png_init_io in -lpng... yes
checking for IMG_LoadPNG_RW in -lSDL_image... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for TTF_Init in -lSDL_ttf... yes
checking for CEGUI... yes
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 SDL.h usability... yes
checking SDL.h presence... yes
checking for SDL.h... yes
checking SDL_image.h usability... yes
checking SDL_image.h presence... yes
checking for SDL_image.h... yes
checking SDL_mixer.h usability... yes
checking SDL_mixer.h presence... yes
checking for SDL_mixer.h... yes
checking SDL_ttf.h usability... yes
checking SDL_ttf.h presence... yes
checking for SDL_ttf.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands
$ make
make all-recursive
make[1]: Entering directory `/home/saugat/linuxPrototype/smc-1.9'
Making all in src
make[2]: Entering directory `/home/saugat/linuxPrototype/smc-1.9/src'
g++ -DHAVE_CONFIG_H -I. -I.. -DDATA_DIR="\"/usr/local/share/smc\"" -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/CEGUI -Wall -Wpointer-arith -g -O2 -MT audio.o -MD -MP -MF .deps/audio.Tpo -c -o audio.o `test -f 'audio/audio.cpp' || echo './'`audio/audio.cpp
In file included from audio/../core/../objects/../objects/sprite.h:21:0,
from audio/../core/../objects/movingsprite.h:19,
from audio/../core/game_core.h:19,
from audio/audio.cpp:17:
audio/../core/../objects/../objects/../video/video.h:26:62: fatal error: RendererModules/OpenGLGUIRenderer/openglrenderer.h: No such file or directory
compilation terminated.
make[2]: *** [audio.o] Error 1
make[2]: Leaving directory `/home/saugat/linuxPrototype/smc-1.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/saugat/linuxPrototype/smc-1.9'
make: *** [all] Error 2
I couldnt find the folder OpenGLGUIrendered also. I am missing out something
Thanks