Attemping to compile easyrpg on Debian <SOLVED>

Hi all,
First see Readers library is libreaders.a or something else? and then read ahead here :-

~/games/easyrpg/Readers/build/lib$ cp libreaders.a ../../../

This is the readers library that I had built in the previous thread being copied in the main game.

Now trying to run cmake on the game :-

~/games/easyrpg$ cmake /home/shirish/games/easyrpg/builds/cmake
-- The CXX compiler identification is GNU 4.7.2
-- The C compiler identification is GNU 4.8.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found Git: /usr/bin/git (found version "1.7.10.4") 
Cloning into '/home/shirish/games/easyrpg/builds/cmake/../../lib/readers'...
remote: Counting objects: 4338, done.
remote: Compressing objects: 100% (646/646), done.
remote: Total 4338 (delta 3653), reused 4326 (delta 3645)
Receiving objects: 100% (4338/4338), 913.65 KiB | 53 KiB/s, done.
Resolving deltas: 100% (3653/3653), done.
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- iconv.h found: /usr/include
-- Boost version: 1.49.0
-- Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found version "1.9.1")
-- iconv.h found: /usr/include
-- Expat found: /usr/lib/x86_64-linux-gnu/libexpat.so
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.4.9") 
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so  
-- Found Pixman: /usr/lib/x86_64-linux-gnu/libpixman-1.so
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.7") 
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.49") 
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found SDL: /usr/lib/x86_64-linux-gnu/libSDLmain.a;/usr/lib/x86_64-linux-gnu/libSDL.so;-lpthread (found version "1.2.15") 
-- Boost version: 1.49.0
-- Found SDL_mixer: /usr/lib/x86_64-linux-gnu/libSDL_mixer.so (found version "1.2.12") 
-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so  
-- Found sndfile: /usr/lib/x86_64-linux-gnu/libogg.so;/usr/lib/x86_64-linux-gnu/libFLAC.so;/usr/lib/x86_64-linux-gnu/libvorbis.so;/usr/lib/x86_64-linux-gnu/libvorbisenc.so;/usr/lib/x86_64-linux-gnu/libsndfile.so
-- Found Lua51: /usr/lib/x86_64-linux-gnu/liblua5.1.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "5.1.5") 
-- Could NOT find Boost
-- Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found version "1.9.1")
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
Cloning into '/home/shirish/games/easyrpg/builds/cmake/../../lib/TestGame'...
remote: Counting objects: 267, done.
remote: Compressing objects: 100% (190/190), done.
remote: Total 267 (delta 117), reused 217 (delta 67)
Receiving objects: 100% (267/267), 785.70 KiB | 58 KiB/s, done.
Resolving deltas: 100% (117/117), done.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/shirish/games/easyrpg

Now first thing is which Boost and Ruby it is asking for and not finding ?

Also why is it cloning or this is something that is changed later ?

I mean this part :-

Cloning into '/home/shirish/games/easyrpg/builds/cmake/../../lib/readers'...
remote: Counting objects: 4338, done.
remote: Compressing objects: 100% (646/646), done.
remote: Total 4338 (delta 3653), reused 4326 (delta 3645)
Receiving objects: 100% (4338/4338), 913.65 KiB | 53 KiB/s, done.
Resolving deltas: 100% (3653/3653), done.

and

Cloning into '/home/shirish/games/easyrpg/builds/cmake/../../lib/TestGame'...
remote: Counting objects: 267, done.
remote: Compressing objects: 100% (190/190), done.
remote: Total 267 (delta 117), reused 217 (delta 67)
Receiving objects: 100% (267/267), 785.70 KiB | 58 KiB/s, done.
Resolving deltas: 100% (117/117), done.

Looking forward to know more.

Cmake clones the readers library for you and compiles it, too.

Ruby is optional, we provide all files that are generated by Ruby in the repo. The Boost libraries (not the headers) are optional, too. (otherwise cmake would fail if they are required)

And I dont know if it compiles correctly if you invoke cmake that way, navigate to builds/cmake and type cmake and then make.

[quote=“Ghabry”]Cmake clones the readers library for you and compiles it, too.

Ruby is optional, we provide all files that are generated by Ruby in the repo. The Boost libraries (not the headers) are optional, too. (otherwise cmake would fail if they are required)

And I dont know if it compiles correctly if you invoke cmake that way, navigate to builds/cmake and type cmake and then make.[/quote]

Ok did a clean slate and tried again :-

~/games$ git clone git://github.com/EasyRPG/Player.git
Cloning into 'Player'...
remote: Counting objects: 13888, done.
remote: Compressing objects: 100% (3286/3286), done.
remote: Total 13888 (delta 10532), reused 13736 (delta 10419)
Receiving objects: 100% (13888/13888), 17.80 MiB | 46 KiB/s, done.
Resolving deltas: 100% (10532/10532), done.

~/games$ mv Player/ easyrpg/

~/games/easyrpg$ cd builds/cmake

~/games/easyrpg/builds/cmake$ cmake .
-- The CXX compiler identification is GNU 4.7.2
-- The C compiler identification is GNU 4.8.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found Git: /usr/bin/git (found version "1.7.10.4") 
Cloning into '/home/shirish/games/easyrpg/builds/cmake/../../lib/readers'...
remote: Counting objects: 4338, done.
remote: Compressing objects: 100% (646/646), done.
remote: Total 4338 (delta 3653), reused 4326 (delta 3645)
Receiving objects: 100% (4338/4338), 913.65 KiB | 47 KiB/s, done.
Resolving deltas: 100% (3653/3653), done.
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.3.1") 
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- iconv.h found: /usr/include
-- Boost version: 1.49.0
-- Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found version "1.9.1")
-- iconv.h found: /usr/include
-- Expat found: /usr/lib/x86_64-linux-gnu/libexpat.so
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.4.9") 
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so  
-- Found Pixman: /usr/lib/x86_64-linux-gnu/libpixman-1.so
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.7") 
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.49") 
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found SDL: /usr/lib/x86_64-linux-gnu/libSDLmain.a;/usr/lib/x86_64-linux-gnu/libSDL.so;-lpthread (found version "1.2.15") 
-- Boost version: 1.49.0
-- Found SDL_mixer: /usr/lib/x86_64-linux-gnu/libSDL_mixer.so (found version "1.2.12") 
-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so  
-- Found sndfile: /usr/lib/x86_64-linux-gnu/libogg.so;/usr/lib/x86_64-linux-gnu/libFLAC.so;/usr/lib/x86_64-linux-gnu/libvorbis.so;/usr/lib/x86_64-linux-gnu/libvorbisenc.so;/usr/lib/x86_64-linux-gnu/libsndfile.so
-- Found Lua51: /usr/lib/x86_64-linux-gnu/liblua5.1.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "5.1.5") 
-- Could NOT find Boost
-- Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found version "1.9.1")
Cloning into '/home/shirish/games/easyrpg/builds/cmake/../../lib/TestGame'...
remote: Counting objects: 267, done.
remote: Compressing objects: 100% (190/190), done.
remote: Total 267 (delta 117), reused 217 (delta 67)
Receiving objects: 100% (267/267), 785.70 KiB | 66 KiB/s, done.
Resolving deltas: 100% (117/117), done.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/shirish/games/easyrpg/builds/cmake

 ~/games/easyrpg/builds/cmake$ make
Scanning dependencies of target EasyRPG_Player_Static
[  0%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_base.cpp.o
In file included from /usr/include/c++/4.7/array:36:0,
                 from /home/shirish/games/easyrpg/src/memory_management.h:49,
                 from /home/shirish/games/easyrpg/src/system.h:45,
                 from /home/shirish/games/easyrpg/src/window.h:22,
                 from /home/shirish/games/easyrpg/src/window_base.h:23,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/usr/include/c++/4.7/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
In file included from /home/shirish/games/easyrpg/src/system.h:45:0,
                 from /home/shirish/games/easyrpg/src/window.h:22,
                 from /home/shirish/games/easyrpg/src/window_base.h:23,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/src/memory_management.h:57:9: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
/home/shirish/games/easyrpg/src/memory_management.h:58:9: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
/home/shirish/games/easyrpg/src/memory_management.h:59:9: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
In file included from /home/shirish/games/easyrpg/src/window_base.h:23:0,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/src/window.h:38:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/window.h:39:21: error: ‘BitmapRef’ has not been declared
/home/shirish/games/easyrpg/src/window.h:40:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/window.h:41:19: error: ‘BitmapRef’ has not been declared
/home/shirish/games/easyrpg/src/window.h:90:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/window.h:112:2: error: ‘BitmapScreenRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/game_screen.h:23:0,
                 from /home/shirish/games/easyrpg/src/main_data.h:24,
                 from /home/shirish/games/easyrpg/src/window_base.h:25,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/src/plane.h:38:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/plane.h:39:17: error: ‘BitmapRef’ has not been declared
/home/shirish/games/easyrpg/src/plane.h:69:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/plane.h:70:2: error: ‘BitmapScreenRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/game_picture.h:26:0,
                 from /home/shirish/games/easyrpg/src/game_screen.h:24,
                 from /home/shirish/games/easyrpg/src/main_data.h:24,
                 from /home/shirish/games/easyrpg/src/window_base.h:25,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/src/sprite.h:45:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/sprite.h:46:17: error: ‘BitmapRef’ has not been declared
/home/shirish/games/easyrpg/src/sprite.h:95:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/sprite.h:96:2: error: ‘BitmapScreenRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/game_screen.h:26:0,
                 from /home/shirish/games/easyrpg/src/main_data.h:24,
                 from /home/shirish/games/easyrpg/src/window_base.h:25,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/src/battle_animation.h:54:2: error: ‘BitmapScreenRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/main_data.h:24:0,
                 from /home/shirish/games/easyrpg/src/window_base.h:25,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/src/game_screen.h:52:14: error: ‘shared_ptr’ is not a member of ‘std’
/home/shirish/games/easyrpg/src/game_screen.h:52:14: error: ‘shared_ptr’ is not a member of ‘std’
/home/shirish/games/easyrpg/src/game_screen.h:52:40: error: template argument 1 is invalid
/home/shirish/games/easyrpg/src/game_screen.h:52:40: error: template argument 2 is invalid
/home/shirish/games/easyrpg/src/game_screen.h:52:42: error: expected unqualified-id before ‘>’ token
/home/shirish/games/easyrpg/src/game_screen.h:83:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/game_screen.h:84:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/game_screen.h:85:2: error: ‘BitmapRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/window_base.cpp:22:0:
/home/shirish/games/easyrpg/src/cache.h:39:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:40:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:41:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:42:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:43:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:44:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:45:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:46:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:47:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:48:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:49:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:50:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:51:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:52:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:53:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:54:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:55:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:56:2: error: ‘BitmapRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/window_base.cpp:25:0:
/home/shirish/games/easyrpg/src/bitmap.h:51:9: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:60:9: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:70:9: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:79:9: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:89:9: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:157:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:207:10: error: ‘array’ in namespace ‘std’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:208:20: error: ‘opacity_type’ was not declared in this scope
/home/shirish/games/easyrpg/src/bitmap.h:208:32: error: template argument 1 is invalid
/home/shirish/games/easyrpg/src/bitmap.h:223:9: error: ‘BitmapRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/window_base.cpp:25:0:
/home/shirish/games/easyrpg/src/bitmap.h:607:2: error: ‘FontRef’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:614:15: error: ‘FontRef’ has not been declared
/home/shirish/games/easyrpg/src/bitmap.h:645:2: error: ‘FontRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/window_base.cpp:26:0:
/home/shirish/games/easyrpg/src/font.h:40:9: error: ‘FontRef’ does not name a type
/home/shirish/games/easyrpg/src/font.h:41:9: error: ‘FontRef’ does not name a type
/home/shirish/games/easyrpg/src/window_base.cpp: In constructor ‘Window_Base::Window_Base(int, int, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:30:16: error: ‘System’ is not a member of ‘Cache’
/home/shirish/games/easyrpg/src/window_base.cpp:30:16: note: suggested alternative:
In file included from /home/shirish/games/easyrpg/builds/cmake/../../lib/readers/include/data.h:37:0,
                 from /home/shirish/games/easyrpg/src/main_data.h:22,
                 from /home/shirish/games/easyrpg/src/window_base.h:25,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/builds/cmake/../../lib/readers/include/rpg_system.h:35:8: note:   ‘RPG::System’
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘virtual void Window_Base::Update()’:
/home/shirish/games/easyrpg/src/window_base.cpp:43:17: error: ‘System’ is not a member of ‘Cache’
/home/shirish/games/easyrpg/src/window_base.cpp:43:17: note: suggested alternative:
In file included from /home/shirish/games/easyrpg/builds/cmake/../../lib/readers/include/data.h:37:0,
                 from /home/shirish/games/easyrpg/src/main_data.h:22,
                 from /home/shirish/games/easyrpg/src/window_base.h:25,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/builds/cmake/../../lib/readers/include/rpg_system.h:35:8: note:   ‘RPG::System’
/home/shirish/games/easyrpg/src/window_base.cpp:44:3: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp:44:33: error: ‘windowskin’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawFace(std::string, int, int, int, bool)’:
/home/shirish/games/easyrpg/src/window_base.cpp:49:2: error: ‘BitmapRef’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp:49:12: error: expected ‘;’ before ‘faceset’
/home/shirish/games/easyrpg/src/window_base.cpp:59:3: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp:59:31: error: ‘faceset’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp:61:3: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp:61:27: error: ‘faceset’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorName(Game_Actor*, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:70:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorClass(Game_Actor*, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:78:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorLevel(Game_Actor*, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:83:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorState(Game_Actor*, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:96:3: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp:99:3: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorExp(Game_Actor*, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:105:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorHp(Game_Actor*, int, int, bool)’:
/home/shirish/games/easyrpg/src/window_base.cpp:122:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorSp(Game_Actor*, int, int, bool)’:
/home/shirish/games/easyrpg/src/window_base.cpp:153:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorParameter(Game_Actor*, int, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:206:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawEquipmentType(Game_Actor*, int, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:241:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawItemName(RPG::Item*, int, int, bool)’:
/home/shirish/games/easyrpg/src/window_base.cpp:246:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawSkillName(RPG::Skill*, int, int, bool)’:
/home/shirish/games/easyrpg/src/window_base.cpp:251:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawCurrencyValue(int, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:260:24: error: ‘contents’ was not declared in this scope
make[2]: *** [CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_base.cpp.o] Error 1
make[1]: *** [CMakeFiles/EasyRPG_Player_Static.dir/all] Error 2
make: *** [all] Error 2

As can be seen an errro is there at the very end, no idea why.

Hm I got this error too when compiling for Wii and fixed it by compiling with C++11 support. But imo this error shouldnt happen if C++11 is disabled because our code is compatible with C++03.
Maybe take-cheeze can help, he is our boost expert ;).

Got a report back:
It’s strange that C and C++ version mismatch (4.7.2 and 4.8). And try a different boost version (on the server we use gcc/g++ 4.7.2 and boost 1.5)

There is lot say but just easy way:

run cmake this way

to enable c++11

[quote=“take_cheeze”]There is lot say but just easy way:

run cmake this way

to enable c++11[/quote]

I tried and failed again, here’s the story :-

~/games/easyrpg$ CXX="g++ -std=c++11" cmake builds/cmake
-- iconv.h found: /usr/include
-- Boost version: 1.49.0
-- Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found version "1.9.1")
-- iconv.h found: /usr/include
-- Expat found: /usr/lib/x86_64-linux-gnu/libexpat.so
-- Found Pixman: /usr/lib/x86_64-linux-gnu/libpixman-1.so
-- Boost version: 1.49.0
-- Found sndfile: /usr/lib/x86_64-linux-gnu/libogg.so;/usr/lib/x86_64-linux-gnu/libFLAC.so;/usr/lib/x86_64-linux-gnu/libvorbis.so;/usr/lib/x86_64-linux-gnu/libvorbisenc.so;/usr/lib/x86_64-linux-gnu/libsndfile.so
-- Could NOT find Boost
-- Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found version "1.9.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/shirish/games/easyrpg/builds/cmake

~/games/easyrpg$ cd builds/cmake

~/games/easyrpg/builds/cmake$ make clean

~/games/easyrpg/builds/cmake$ make
[  0%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_base.cpp.o
In file included from /usr/include/c++/4.7/array:36:0,
                 from /home/shirish/games/easyrpg/src/memory_management.h:49,
                 from /home/shirish/games/easyrpg/src/system.h:45,
                 from /home/shirish/games/easyrpg/src/window.h:22,
                 from /home/shirish/games/easyrpg/src/window_base.h:23,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/usr/include/c++/4.7/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
In file included from /home/shirish/games/easyrpg/src/system.h:45:0,
                 from /home/shirish/games/easyrpg/src/window.h:22,
                 from /home/shirish/games/easyrpg/src/window_base.h:23,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/src/memory_management.h:57:9: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
/home/shirish/games/easyrpg/src/memory_management.h:58:9: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
/home/shirish/games/easyrpg/src/memory_management.h:59:9: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
In file included from /home/shirish/games/easyrpg/src/window_base.h:23:0,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/src/window.h:38:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/window.h:39:21: error: ‘BitmapRef’ has not been declared
/home/shirish/games/easyrpg/src/window.h:40:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/window.h:41:19: error: ‘BitmapRef’ has not been declared
/home/shirish/games/easyrpg/src/window.h:90:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/window.h:112:2: error: ‘BitmapScreenRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/game_screen.h:23:0,
                 from /home/shirish/games/easyrpg/src/main_data.h:24,
                 from /home/shirish/games/easyrpg/src/window_base.h:25,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/src/plane.h:38:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/plane.h:39:17: error: ‘BitmapRef’ has not been declared
/home/shirish/games/easyrpg/src/plane.h:69:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/plane.h:70:2: error: ‘BitmapScreenRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/game_picture.h:26:0,
                 from /home/shirish/games/easyrpg/src/game_screen.h:24,
                 from /home/shirish/games/easyrpg/src/main_data.h:24,
                 from /home/shirish/games/easyrpg/src/window_base.h:25,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/src/sprite.h:45:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/sprite.h:46:17: error: ‘BitmapRef’ has not been declared
/home/shirish/games/easyrpg/src/sprite.h:95:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/sprite.h:96:2: error: ‘BitmapScreenRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/game_screen.h:26:0,
                 from /home/shirish/games/easyrpg/src/main_data.h:24,
                 from /home/shirish/games/easyrpg/src/window_base.h:25,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/src/battle_animation.h:54:2: error: ‘BitmapScreenRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/main_data.h:24:0,
                 from /home/shirish/games/easyrpg/src/window_base.h:25,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/src/game_screen.h:52:14: error: ‘shared_ptr’ is not a member of ‘std’
/home/shirish/games/easyrpg/src/game_screen.h:52:14: error: ‘shared_ptr’ is not a member of ‘std’
/home/shirish/games/easyrpg/src/game_screen.h:52:40: error: template argument 1 is invalid
/home/shirish/games/easyrpg/src/game_screen.h:52:40: error: template argument 2 is invalid
/home/shirish/games/easyrpg/src/game_screen.h:52:42: error: expected unqualified-id before ‘>’ token
/home/shirish/games/easyrpg/src/game_screen.h:83:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/game_screen.h:84:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/game_screen.h:85:2: error: ‘BitmapRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/window_base.cpp:22:0:
/home/shirish/games/easyrpg/src/cache.h:39:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:40:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:41:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:42:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:43:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:44:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:45:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:46:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:47:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:48:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:49:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:50:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:51:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:52:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:53:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:54:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:55:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/cache.h:56:2: error: ‘BitmapRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/window_base.cpp:25:0:
/home/shirish/games/easyrpg/src/bitmap.h:51:9: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:60:9: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:70:9: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:79:9: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:89:9: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:157:2: error: ‘BitmapRef’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:207:10: error: ‘array’ in namespace ‘std’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:208:20: error: ‘opacity_type’ was not declared in this scope
/home/shirish/games/easyrpg/src/bitmap.h:208:32: error: template argument 1 is invalid
/home/shirish/games/easyrpg/src/bitmap.h:223:9: error: ‘BitmapRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/window_base.cpp:25:0:
/home/shirish/games/easyrpg/src/bitmap.h:607:2: error: ‘FontRef’ does not name a type
/home/shirish/games/easyrpg/src/bitmap.h:614:15: error: ‘FontRef’ has not been declared
/home/shirish/games/easyrpg/src/bitmap.h:645:2: error: ‘FontRef’ does not name a type
In file included from /home/shirish/games/easyrpg/src/window_base.cpp:26:0:
/home/shirish/games/easyrpg/src/font.h:40:9: error: ‘FontRef’ does not name a type
/home/shirish/games/easyrpg/src/font.h:41:9: error: ‘FontRef’ does not name a type
/home/shirish/games/easyrpg/src/window_base.cpp: In constructor ‘Window_Base::Window_Base(int, int, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:30:16: error: ‘System’ is not a member of ‘Cache’
/home/shirish/games/easyrpg/src/window_base.cpp:30:16: note: suggested alternative:
In file included from /home/shirish/games/easyrpg/builds/cmake/../../lib/readers/include/data.h:37:0,
                 from /home/shirish/games/easyrpg/src/main_data.h:22,
                 from /home/shirish/games/easyrpg/src/window_base.h:25,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/builds/cmake/../../lib/readers/include/rpg_system.h:35:8: note:   ‘RPG::System’
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘virtual void Window_Base::Update()’:
/home/shirish/games/easyrpg/src/window_base.cpp:43:17: error: ‘System’ is not a member of ‘Cache’
/home/shirish/games/easyrpg/src/window_base.cpp:43:17: note: suggested alternative:
In file included from /home/shirish/games/easyrpg/builds/cmake/../../lib/readers/include/data.h:37:0,
                 from /home/shirish/games/easyrpg/src/main_data.h:22,
                 from /home/shirish/games/easyrpg/src/window_base.h:25,
                 from /home/shirish/games/easyrpg/src/window_base.cpp:21:
/home/shirish/games/easyrpg/builds/cmake/../../lib/readers/include/rpg_system.h:35:8: note:   ‘RPG::System’
/home/shirish/games/easyrpg/src/window_base.cpp:44:3: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp:44:33: error: ‘windowskin’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawFace(std::string, int, int, int, bool)’:
/home/shirish/games/easyrpg/src/window_base.cpp:49:2: error: ‘BitmapRef’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp:49:12: error: expected ‘;’ before ‘faceset’
/home/shirish/games/easyrpg/src/window_base.cpp:59:3: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp:59:31: error: ‘faceset’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp:61:3: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp:61:27: error: ‘faceset’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorName(Game_Actor*, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:70:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorClass(Game_Actor*, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:78:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorLevel(Game_Actor*, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:83:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorState(Game_Actor*, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:96:3: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp:99:3: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorExp(Game_Actor*, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:105:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorHp(Game_Actor*, int, int, bool)’:
/home/shirish/games/easyrpg/src/window_base.cpp:122:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorSp(Game_Actor*, int, int, bool)’:
/home/shirish/games/easyrpg/src/window_base.cpp:153:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawActorParameter(Game_Actor*, int, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:206:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawEquipmentType(Game_Actor*, int, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:241:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawItemName(RPG::Item*, int, int, bool)’:
/home/shirish/games/easyrpg/src/window_base.cpp:246:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawSkillName(RPG::Skill*, int, int, bool)’:
/home/shirish/games/easyrpg/src/window_base.cpp:251:2: error: ‘contents’ was not declared in this scope
/home/shirish/games/easyrpg/src/window_base.cpp: In member function ‘void Window_Base::DrawCurrencyValue(int, int, int)’:
/home/shirish/games/easyrpg/src/window_base.cpp:260:24: error: ‘contents’ was not declared in this scope
make[2]: *** [CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_base.cpp.o] Error 1
make[1]: *** [CMakeFiles/EasyRPG_Player_Static.dir/all] Error 2
make: *** [all] Error 2

Looking forward to more guidance.

Hi all,
Sucess at last. I just had to upgrade to Boost 1.50 libraries on my system as well as go to g++ 4.8 and also did the :-

That did the trick and was able to compile successfully. One thing though this version information is neither in the README anywhere nor did I find it in the wiki anywhere (esp. at easy-rpg.org/wiki/development/c … ayer/cmake) . This should be documented somewhere.

I forgot to say this:
You need to wipe out the cmake files before reconfiguring using script like gist.github.com/take-cheeze/5360844

And as many knows those cmake stuff is just my personal things since they aren’t placed in root directory of repository.
The official build system is autotools that fdelapena maintains.

btw it will be helpful to post these topics to issues.

[quote=“take_cheeze”]I forgot to say this:
You need to wipe out the cmake files before reconfiguring using script like gist.github.com/take-cheeze/5360844

And as many knows those cmake stuff is just my personal things since they aren’t placed in root directory of repository.
The official build system is autotools that fdelapena maintains.

btw it will be helpful to post these topics to issues.[/quote]

Did the following :-

~/games/easyrpg$ ll remove_cmake_file.sh 
-rw-rw-r-- 1 shirish shirish 310 2013-04-11 10:25 remove_cmake_file.sh

~/games/easyrpg$ chmod +x remove_cmake_file.sh 

~/games/easyrpg$ll remove_cmake_file.sh
-rwxrwxr-x  1 shirish shirish   310 2013-04-11 10:25 remove_cmake_file.sh

~/games/easyrpg$ bash remove_cmake_file.sh

~/games/easyrpg$ CXX="g++ -std=c++11" cmake builds/cmake
-- iconv.h found: /usr/include
-- Boost version: 1.50.0
-- Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found version "1.9.1")
-- iconv.h found: /usr/include
-- Expat found: /usr/lib/x86_64-linux-gnu/libexpat.so
-- Found Pixman: /usr/lib/x86_64-linux-gnu/libpixman-1.so
-- Boost version: 1.50.0
-- Found sndfile: /usr/lib/x86_64-linux-gnu/libogg.so;/usr/lib/x86_64-linux-gnu/libFLAC.so;/usr/lib/x86_64-linux-gnu/libvorbis.so;/usr/lib/x86_64-linux-gnu/libvorbisenc.so;/usr/lib/x86_64-linux-gnu/libsndfile.so
-- Boost version: 1.50.0
-- Found the following Boost libraries:
--   thread
--   chrono
--   system
-- Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found version "1.9.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/shirish/games/easyrpg/builds/cmake

~/games/easyrpg$ cd builds/cmake

~/games/easyrpg/builds/cmake$ make
Scanning dependencies of target EasyRPG_Player_Static
[  0%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_base.cpp.o
[  0%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_shopsell.cpp.o
[  1%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_skill.cpp.o
[  1%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_equipstatus.cpp.o
[  1%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/sprite_character.cpp.o
[  2%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_unit.cpp.o
[  2%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_system.cpp.o
[  3%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_interpreter_battle.cpp.o
[  3%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_save.cpp.o
[  3%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_party.cpp.o
[  3%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_screen.cpp.o
[  4%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_savefile.cpp.o
[  4%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_item.cpp.o
[  4%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_gold.cpp.o
[  4%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_message.cpp.o
[  5%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_face.cpp.o
[  5%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/background.cpp.o
[  6%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_name.cpp.o
[  6%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_troop.cpp.o
[  7%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_name.cpp.o
[  8%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_shopstatus.cpp.o
[  8%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/battle_animation.cpp.o
[  8%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_end.cpp.o
[  8%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/battle_actions.cpp.o
[  9%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/output.cpp.o
[  9%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_shop.cpp.o
[ 10%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_logo.cpp.o
[ 10%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_shopparty.cpp.o
[ 10%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_map.cpp.o
[ 10%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_battleskill.cpp.o
[ 11%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_actorinfo.cpp.o
[ 11%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_battle.cpp.o
[ 11%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_actor.cpp.o
[ 11%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_enemy.cpp.o
[ 12%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_shopnumber.cpp.o
[ 12%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_battlecommand.cpp.o
[ 12%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_character.cpp.o
[ 13%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_item.cpp.o
[ 13%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_status.cpp.o
[ 14%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_file.cpp.o
[ 14%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_load.cpp.o
[ 15%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_battleitem.cpp.o
[ 15%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_menustatus.cpp.o
[ 15%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/battle_battler.cpp.o
[ 16%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_targetstatus.cpp.o
[ 16%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_player.cpp.o
[ 16%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_equipitem.cpp.o
[ 17%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_targets.cpp.o
[ 17%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_vehicle.cpp.o
[ 17%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/bitmap.cpp.o
[ 18%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_shopbuy.cpp.o
[ 18%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_battlestatus.cpp.o
[ 18%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_temp.cpp.o
[ 19%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_actortarget.cpp.o
[ 19%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_keyboard.cpp.o
[ 19%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_command.cpp.o
[ 20%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_equip.cpp.o
[ 20%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/battle_algorithms.cpp.o
[ 21%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_interpreter.cpp.o
[ 21%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_gameover.cpp.o
[ 22%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_picture.cpp.o
[ 22%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_actortarget.cpp.o
[ 22%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_help.cpp.o
[ 22%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/filefinder.cpp.o
[ 22%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_menu.cpp.o
[ 22%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_battler.cpp.o
[ 23%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_battleoption.cpp.o
[ 23%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_title.cpp.o
[ 23%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/main_data.cpp.o
[ 24%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_actorstatus.cpp.o
[ 24%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_map.cpp.o
[ 24%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_shop.cpp.o
[ 25%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_skillstatus.cpp.o
[ 25%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_actors.cpp.o
[ 26%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_skill.cpp.o
[ 26%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/spriteset_map.cpp.o
[ 26%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_interpreter_map.cpp.o
[ 26%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_battle.cpp.o
[ 27%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_commonevent.cpp.o
[ 27%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_numberinput.cpp.o
[ 27%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/window_selectable.cpp.o
[ 27%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/game_event.cpp.o
[ 28%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_order.cpp.o
[ 28%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/text.cpp.o
[ 28%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/scene_equip.cpp.o
[ 28%] Building CXX object CMakeFiles/EasyRPG_Player_Static.dir/home/shirish/games/easyrpg/src/player.cpp.o
Linking CXX static library /home/shirish/games/easyrpg/lib/libEasyRPG_Player_Static.a
[ 46%] Built target EasyRPG_Player_Static
[ 98%] Built target EasyRPG_Reader
Linking CXX executable /home/shirish/games/easyrpg/bin/EasyRPG_Player
[ 98%] Built target EasyRPG_Player
Linking CXX executable /home/shirish/games/easyrpg/bin/EasyRPG_Player_com
[ 98%] Built target EasyRPG_Player_com
Linking CXX executable /home/shirish/games/easyrpg/bin/test_filefinder
[ 99%] Built target test_filefinder
Linking CXX executable /home/shirish/games/easyrpg/bin/test_utils
[100%] Built target test_utils
[100%] Built target test_time_stamp

As can be seen it works. The only thing remaining is how to test the game.

@take_cheeze you are right, I would file an issue regarding no info. on the g++ requirements as well as the boost library versions. I dunno if anything else is that you want me to put up as an issue.

Update: Filed github.com/EasyRPG/Player/issues/119

/usr/bin/ld: lib/libEasyRPG_Player_Static.a(image_xyz.cpp.o): undefined reference to symbol 'uncompress' /usr/bin/ld: note: 'uncompress' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/libz.so so try adding it to the linker command line /usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/libz.so: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[2]: *** [bin/EasyRPG_Player] Error 1 make[1]: *** [CMakeFiles/EasyRPG_Player.dir/all] Error 2 make: *** [all] Error 2

I get this error while compling … seems related to zlib has any one seen this before ? this was on the 97 % I am so close to compile this …

There are lots new lib but still the player does not have saves working, also there is a bug on the call script event…It does not return to the event than calls it

Hi lobo,

Which OS are you using? 32 or 64 bit? Is current Git master?

32 bit , the default git from ubuntu

Google says:
libz must be linked and if it is linked the linking order is important. So moving around -lz could probably resolve it…

[quote=“Ghabry”]Google says:
libz must be linked and if it is linked the linking order is important. So moving around -lz could probably resolve it…[/quote]
Looks like lobo used cmake, so it could be a bug in our CMakeLists.txt in library linking order.

I still get the same

/usr/bin/ld: /home/x/Desktop/workspace/lib/libEasyRPG_Player_Static.a(image_xyz.cpp.o): undefined reference to symbol 'uncompress' /usr/bin/ld: note: 'uncompress' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/libz.so so try adding it to the linker command line /usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/libz.so: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[2]: *** [/home/x/Desktop/workspace/bin/EasyRPG_Player] Error 1 make[1]: *** [CMakeFiles/EasyRPG_Player.dir/all] Error 2 make: *** [all] Error 2

What configuration was used to compile this ?

What OS are you using to complie these ? I wan to create a new batle sistem, by the way I am Lobomon Delapipol why am not on the credits?

Regards…

[quote=“lobo”]I still get the same

/usr/bin/ld: /home/x/Desktop/workspace/lib/libEasyRPG_Player_Static.a(image_xyz.cpp.o): undefined reference to symbol 'uncompress' /usr/bin/ld: note: 'uncompress' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/libz.so so try adding it to the linker command line /usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/libz.so: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[2]: *** [/home/x/Desktop/workspace/bin/EasyRPG_Player] Error 1 make[1]: *** [CMakeFiles/EasyRPG_Player.dir/all] Error 2 make: *** [all] Error 2

What configuration was used to compile this ?

What OS are you using to complie these ? I wan to create a new batle sistem, by the way I am Lobomon Delapipol why am not on the credits?

Regards…[/quote]

Do you have the zlib1g-dev package installed?

I compile often on Fedora, but other users did it on Ubuntu, Mint, Mac OS X, Windows. I’ll try to build it on an Ubuntu 32 virtual machine this week (I want to do some crazy experiments with LLVM 3.2).

If cmake method does not work after this, ensure all -dev packages from dcumentation are installed. Alternatively try the autotools method. Both methods and requirements are documented here and in README file:
easy-rpg.org/wiki/development/c … ayer/cmake
easy-rpg.org/wiki/development/c … /autotools

About the credits, I guess the AUTHORS file was created later. Add it yourself and do a pull request in GitHub, or just suggest what is your name, e.g. “FirstName LastName (Lobomon)” or just Lobo, Lobomon, etc. Also the very first player code (early tileset) was made by Héctor Barreiro (Damizean) and he’s not added there. However, the Editor resources.vala file includes him.

Greets and nice to meet you again.

Hi,

I got the project working on a fedora envirment, Now that I got it working I woul like to know How do I debug this? What is the tool that you use

There is a bug on the way the events mange scripts, after an script call all the other content of the event does not execute.

You can use gdb by command line when it crashes or use an IDE (Anjuta, CodeLite, Code::Blocks) or a dedicated gdb GUI (nemiver).

I use often the command-line:
gdb ./easyrpg-player
r (for run), enter
Make it crash, then:
bt (or bt full for detailed backtrace with variable values)

In fedora, gdb will suggest you to enable debuginfo repositories to install all symbols data from related packages, and the line to use (note: gcc debuginfo is very big, takes some time to download)
In Debian/Ubuntu, packages are libxxx-dbg (same style as libxxx-dev)

I’ve confirmed the linking issue in Debian/Ubuntu, will make a fix for old autoconf/automake/pkgconfig next days. About CMake issues the maintainer is Take-cheeze