Compile errorubuntu 11.10 openGLGUIRenderer/openglrenderer.h

For ingame and editor help.

Moderators: SMC Team, MVP

Compile errorubuntu 11.10 openGLGUIRenderer/openglrenderer.h

Postby saugat » 10 Aug 2012 09:33

Hi

I am new to SDL and CEUI and was compiling secretMaryo on Ubuntu. I downloaded all the required packages and ./configure was fine but when I compile I am getting the following error -
[code
$./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
[/code]

I am missing out something
saugat
Furball brown
Furball brown
 
Posts: 4
Joined: 09 Aug 2012 14:38

Re: Compile errorubuntu 11.10 openGLGUIRenderer/openglrender

Postby -DarkAceZ- » 10 Aug 2012 17:56

You sure you've got OpenGL, the latest version?
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1063
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: Compile errorubuntu 11.10 openGLGUIRenderer/openglrender

Postby saugat » 11 Aug 2012 10:26

Hi DarkAcez

I think I have latest OpenGl installed, because when I did
apt-get install mesa-common-dev
it said that its already installed and latest version.
Do I need to install any other package also ?

Thanks
saugat
Furball brown
Furball brown
 
Posts: 4
Joined: 09 Aug 2012 14:38

Re: Compile errorubuntu 11.10 openGLGUIRenderer/openglrender

Postby saugat » 11 Aug 2012 12:51

Can you please tell me for which version of Cegui was smc :D 1.9 compiled? I suspect it could be a problem of using older CEGUI version.
saugat
Furball brown
Furball brown
 
Posts: 4
Joined: 09 Aug 2012 14:38

Re: Compile errorubuntu 11.10 openGLGUIRenderer/openglrender

Postby -DarkAceZ- » 11 Aug 2012 13:14

Well I've installed SMC on Ubuntu 10.04, so that should not be the problem...
Image
That's what my CEGUI looks like on my 10.04 system, and I have SMC by "sudo apt-get install smc". So I guess I didn't really build it from source...

[EDIT]If you're compiling, then wouldn't it be best to compile the latest version, 2.0?
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1063
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: Compile errorubuntu 11.10 openGLGUIRenderer/openglrender

Postby Luiji » 12 Aug 2012 02:28

Do you have CEGUI-OPENGL installed?
Custom Built IBM-Compatible (Arch Linux w/ KDE)
Dell Vostro (Windows 7)
Dell Inspiron 1440 (Windows Server 2003, Debian w/ KDE)
Dell Inspiron 11z (Linux Mint)
Luiji
MVP
MVP
 
Posts: 2703
Joined: 14 Jan 2010 23:20
Location: The Mushroom Kyngdom


Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron