Latest code (Git) says no CEGUI_NULL >= 0.7.2

For ingame and editor help.

Moderators: SMC Team, MVP

Re: Latest code (Git) says no CEGUI_NULL >= 0.7.2

Postby -DarkAceZ- » 22 Mar 2011 22:26

OK, so I say "There is a bug in the Git Head in the latest git."? :|
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1063
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: Latest code (Git) says no CEGUI_NULL >= 0.7.2

Postby Gallaecio » 27 Mar 2011 17:22

BowserJr wrote:I've just dug into this a bit more and it turns out the problem was that I didn't have the pkg-config file for CEGUI-NULL, which configure relies on. Don't know where this is supposed to come from, but it's quite easy to make. Just copy the one for CEGUI-OPENGL.pc (which will probably be in /usr/lib/pkgconfig) to the same place, named CEGUI-NULL.pc. Edit this file and change all references to OPENGL to NULL. Make sure the libs line refers to a valid .so in /usr/lib. Run "pkg-config --modversion CEGUI-NULL" to make sure it's found it. If so, you should be able to compile.


Thanks a lot!!! I have been a bit bussy, but now I had the time to test it, and it worked! Will repackage cegui in Chakra GNU/Linux to make sure it's possible to compile SMC from Git straight forward :)
Gallaecio
Furball blue
Furball blue
 
Posts: 5
Joined: 23 Jan 2011 23:40

Re: Latest code (Git) says no CEGUI_NULL >= 0.7.2

Postby -DarkAceZ- » 03 Apr 2011 14:17

Luiji wrote:Yeah, so that's a bug in the code from the Git HEAD, apparently. This should probably be turned into a bug report (high priority, too).

What's the status on this? I still haven't been able to compile...
Code: Select all
justin@justin-desktop:~/Desktop/SMC$ git pull
Already up-to-date.
justin@justin-desktop:~/Desktop/SMC$ ~/Desktop/SMC/smc
bash: /home/justin/Desktop/SMC/smc: is a directory
justin@justin-desktop:~/Desktop/SMC$ cd ~/Desktop/SMC/smc
justin@justin-desktop:~/Desktop/SMC/smc$ ./autogen.sh
+ echo Generating build system...
Generating build system...
+ autoreconf --force --install --verbose
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 189.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 189.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
+ echo Build system has been generated.
Build system has been generated.
justin@justin-desktop:~/Desktop/SMC/smc$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-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... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 -lboost_thread... 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 IMG_Init in -lSDL_image... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for TTF_Init in -lSDL_ttf... yes
checking for CEGUI_NULL... yes
checking for CEGUI_OPENGL... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
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... no
checking for iconv... no, consider installing GNU libiconv
checking for GNU gettext in libintl... no
checking whether to use NLS... no
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... no
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
justin@justin-desktop:~/Desktop/SMC/smc$ make
make  all-recursive
make[1]: Entering directory `/home/justin/Desktop/SMC/smc'
Making all in src
make[2]: Entering directory `/home/justin/Desktop/SMC/smc/src'
g++ -DHAVE_CONFIG_H -I. -I..  -DDATA_DIR="\"/usr/local/share/smc\"" -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL   -I/usr/local/include -I/usr/local/include/CEGUI   -I/usr/local/include -I/usr/local/include/CEGUI   -Wall -Wpointer-arith -g -O2 -MT filesystem.o -MD -MP -MF .deps/filesystem.Tpo -c -o filesystem.o `test -f 'core/filesystem/filesystem.cpp' || echo './'`core/filesystem/filesystem.cpp
core/filesystem/filesystem.cpp: In function ‘std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > SMC::Get_Directory_Files(const std::string&, const std::string&, bool, bool)’:
core/filesystem/filesystem.cpp:189: error: ‘struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ has no member named ‘string’
core/filesystem/filesystem.cpp: In function ‘std::string SMC::Get_Temp_Directory()’:
core/filesystem/filesystem.cpp:245: error: ‘temp_directory_path’ is not a member of ‘fs’
make[2]: *** [filesystem.o] Error 1
make[2]: Leaving directory `/home/justin/Desktop/SMC/smc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/justin/Desktop/SMC/smc'
make: *** [all] Error 2
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1063
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: Latest code (Git) says no CEGUI_NULL >= 0.7.2

Postby Luiji » 03 Apr 2011 20:02

FluXy and I have been busy, so this bug probably isn't going to be fixed soon. Plus, even if I did fix the bug I would need FluXy to upload the changes since I don't have commit rights.
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

Re: Latest code (Git) says no CEGUI_NULL >= 0.7.2

Postby -DarkAceZ- » 03 Apr 2011 21:56

I see... :pshroom:
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1063
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: Latest code (Git) says no CEGUI_NULL >= 0.7.2

Postby FluXy » 20 Apr 2011 22:17

Committing bugfixes is not much work for me if you push over github :)
If i didn't read your post but it was important you can send me a PM.
Any Donation will help this project!
User avatar
FluXy
Admin
Admin
 
Posts: 2858
Joined: 04 May 2004 19:44
Location: Germany

Re: Latest code (Git) says no CEGUI_NULL >= 0.7.2

Postby -DarkAceZ- » 09 Jun 2011 20:48

So, I used to be able to get past this, but it stopped working again, this time with different output.
Code: Select all
checking for main in -lCEGUINullRenderer... no
configure: error: CEGUINullRenderer library not found - try building CEGUI with --enable-null-renderer
justin@justin-desktop:~/Desktop/SMC/smc$ enable-null-renderer
enable-null-renderer: command not found
justin@justin-desktop:~/Desktop/SMC/smc$ -enable-null-renderer
-enable-null-renderer: command not found
justin@justin-desktop:~/Desktop/SMC/smc$ --enable-null-renderer
--enable-null-renderer: command not found
justin@justin-desktop:~/Desktop/SMC/smc$ null-renderer
null-renderer: command not found
justin@justin-desktop:~/Desktop/SMC/smc$ --enable-null-rendered
--enable-null-rendered: command not found
justin@justin-desktop:~/Desktop/SMC/smc$ pkg-config --modversion CEGUI-NULL
0.7.5
justin@justin-desktop:~/Desktop/SMC/smc$

Help?
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1063
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: Latest code (Git) says no CEGUI_NULL >= 0.7.2

Postby -DarkAceZ- » 11 Jul 2011 16:38

I
Code: Select all
$ git pull
ed SMC and its still the same issue.

System/Administration/Synaptic Package Manager/Quick Search:cegui
and all of the results were installed.

Code: Select all
$ pkg-config --modversion CEGUI-NULL
0.7.5
Uh oh, somethings different here... Quick Search(Synaptic): cegui:
    libceguiogrerenderer-1.6.4 | Installed Version: 1.6.4.dfsg1-1
    libceguiogrerenderer-1.6.4-dbg | Installed Version: 1.6.4.dfsg1-1
    libceguiogre-dev | Installed Version: 1.6.4.dfsg1-1
    libcegui-mk2-doc | Installed Version: 0.6.2-4
    libcegui-mk2-dev | Installed Version: 0.6.2-4
    libcegui-mk2-1-dbg | Installed Version: 0.6.2-4
    libcegui-mk2-1 | Installed Version: 0.6.2-4
None of the versions match up.

/usr/lib/pkgconfig/CEGUI-NULL.pc:
Code: Select all
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
datafiles=${prefix}/share/CEGUI

Name: CEGUI Null Renderer
Description: Null renderer module for CEGUI.
Version: 0.7.5
Requires: CEGUI = 0.7.5
Libs: -lCEGUINullRenderer

Okay, "0.7.5" but this still doesn't solve my issue.
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1063
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: Latest code (Git) says no CEGUI_NULL >= 0.7.2

Postby BowserJr » 11 Jul 2011 20:27

Confused. Are you trying to use the package manager version? Because that won't work. If you have your own version which is more up to date, you should probably remove the package manager version (or at least set the flags correctly on the build process).
"Plants need to have water poured on them because they have no hands to hold glasses of water."
User avatar
BowserJr
SMC Team
SMC Team
 
Posts: 1543
Joined: 05 Feb 2007 14:07
Location: London, UK

Re: Latest code (Git) says no CEGUI_NULL >= 0.7.2

Postby -DarkAceZ- » 11 Jul 2011 22:45

Compiling SMC used to get past this when I did ./configure, but then it had problems with make. (Bug in the GIT head or something...) This was the error message:
Code: Select all
core/filesystem/filesystem.cpp:245: error: ‘temp_directory_path’ is not a member of ‘fs’

My brother told me it was the applications error and to just wait for a new git version until the error goes away. So today I remembered all of this and git pull'ed it. Now it's stuck at CEGUI again.
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1063
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: Latest code (Git) says no CEGUI_NULL >= 0.7.2

Postby Luiji » 12 Jul 2011 16:25

That last error message is because SMC now requires a newer version of Boost that basically no Linux distributions seem to have. It's the reason why I haven't been able to compile SMC on my current machine yet. I just don't have the time to compile/install Boost when I have no other programs that need me to do so. I might try to convince FluXy to lower the code's expectations for now.
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

Re: Latest code (Git) says no CEGUI_NULL >= 0.7.2

Postby -DarkAceZ- » 22 Jul 2011 02:15

Aww, shoot. I've been trying for almost 5 months to get up-to-date with SMC...
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1063
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Previous

Return to Help

Who is online

Users browsing this forum: No registered users and 2 guests

cron