Hi,
I’m having trouble compiling Player version 0.4.0 “Poison Attack”.
I’m following the instructions for compiling from Git on this page: easy-rpg.org/wiki/development/c … /autotools
Here’s the log of the compiling process:
Cloning into 'Player'...
remote: Counting objects: 23722, done.
remote: Total 23722 (delta 0), reused 0 (delta 0), pack-reused 23722
Receiving objects: 100% (23722/23722), 21.97 MiB | 1.23 MiB/s, done.
Resolving deltas: 100% (17562/17562), done.
Checking connectivity... done.
main::scan_file() called too early to check prototype at /usr/bin/aclocal line 643.
aclocal: installing `builds/autoconf/m4/libtool.m4' from `/usr/share/aclocal/libtool.m4'
aclocal: installing `builds/autoconf/m4/ltoptions.m4' from `/usr/share/aclocal/ltoptions.m4'
aclocal: installing `builds/autoconf/m4/ltsugar.m4' from `/usr/share/aclocal/ltsugar.m4'
aclocal: installing `builds/autoconf/m4/ltversion.m4' from `/usr/share/aclocal/ltversion.m4'
aclocal: installing `builds/autoconf/m4/lt~obsolete.m4' from `/usr/share/aclocal/lt~obsolete.m4'
aclocal: installing `builds/autoconf/m4/pkg.m4' from `/usr/share/aclocal/pkg.m4'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `builds/autoconf'.
libtoolize: copying file `builds/autoconf/ltmain.sh'
main::scan_file() called too early to check prototype at /usr/bin/aclocal line 643.
configure.ac:17: installing `builds/autoconf/ar-lib'
configure.ac:19: installing `builds/autoconf/config.guess'
configure.ac:19: installing `builds/autoconf/config.sub'
configure.ac:8: installing `builds/autoconf/install-sh'
configure.ac:8: installing `builds/autoconf/missing'
Makefile.am: installing `builds/autoconf/depcomp'
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 whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc 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
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
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 -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LCF... yes
checking for PIXMAN... yes
checking for FREETYPE... yes
checking for SDL... yes
checking for SDLMIXER... yes
checking for PNG... yes
checking for ZLIB... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking boost/foreach.hpp usability... yes
checking boost/foreach.hpp presence... yes
checking for boost/foreach.hpp... yes
checking whether byte ordering is bigendian... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int8_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for floor... no
checking for getcwd... yes
checking for memset... yes
checking for putenv... yes
checking for strerror... yes
checking for a2x... no
checking for a2x.py... no
configure: WARNING: a2x is required to create the manual page
configure: creating ./config.status
config.status: creating Makefile
config.status: creating builds/Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make all-am
make[1]: Entering directory '/home/rafael/Player'
CXX src/libeasyrpg_player_la-al_audio.lo
CXX src/libeasyrpg_player_la-async_handler.lo
CXX src/libeasyrpg_player_la-audio.lo
CXX src/libeasyrpg_player_la-background.lo
CXX src/libeasyrpg_player_la-baseui.lo
CXX src/libeasyrpg_player_la-battle_animation.lo
CXX src/libeasyrpg_player_la-bitmap.lo
CXX src/libeasyrpg_player_la-cache.lo
CXX src/libeasyrpg_player_la-color.lo
CXX src/libeasyrpg_player_la-effects.lo
CXX src/libeasyrpg_player_la-filefinder.lo
CXX src/libeasyrpg_player_la-font.lo
CXX src/libeasyrpg_player_la-game_actor.lo
CXX src/libeasyrpg_player_la-game_actors.lo
CXX src/libeasyrpg_player_la-game_battle.lo
CXX src/libeasyrpg_player_la-game_battlealgorithm.lo
CXX src/libeasyrpg_player_la-game_battler.lo
CXX src/libeasyrpg_player_la-game_character.lo
CXX src/libeasyrpg_player_la-game_commonevent.lo
CXX src/libeasyrpg_player_la-game_enemy.lo
CXX src/libeasyrpg_player_la-game_enemyparty.lo
CXX src/libeasyrpg_player_la-game_event.lo
CXX src/libeasyrpg_player_la-game_interpreter_battle.lo
CXX src/libeasyrpg_player_la-game_interpreter.lo
CXX src/libeasyrpg_player_la-game_interpreter_map.lo
src/game_interpreter_map.cpp: In member function 'virtual bool Game_Interpreter_Map::ExecuteCommand()':
src/game_interpreter_map.cpp:340:8: error: 'OpenLoadMenu' is not a member of 'Cmd {aka RPG::EventCommand::Code}'
case Cmd::OpenLoadMenu:
^
src/game_interpreter_map.cpp:342:8: error: 'ExitGame' is not a member of 'Cmd {aka RPG::EventCommand::Code}'
case Cmd::ExitGame:
^
src/game_interpreter_map.cpp:344:8: error: 'ToggleAtbMode' is not a member of 'Cmd {aka RPG::EventCommand::Code}'
case Cmd::ToggleAtbMode:
^
src/game_interpreter_map.cpp:346:8: error: 'ToggleFullscreen' is not a member of 'Cmd {aka RPG::EventCommand::Code}'
case Cmd::ToggleFullscreen:
^
src/game_interpreter_map.cpp:348:8: error: 'OpenVideoOptions' is not a member of 'Cmd {aka RPG::EventCommand::Code}'
case Cmd::OpenVideoOptions:
^
Makefile:1854: recipe for target 'src/libeasyrpg_player_la-game_interpreter_map.lo' failed
make[1]: *** [src/libeasyrpg_player_la-game_interpreter_map.lo] Error 1
make[1]: Leaving directory '/home/rafael/Player'
Makefile:830: recipe for target 'all' failed
make: *** [all] Error 2
CXX src/libeasyrpg_player_la-game_interpreter_map.lo
src/game_interpreter_map.cpp: In member function 'virtual bool Game_Interpreter_Map::ExecuteCommand()':
src/game_interpreter_map.cpp:340:8: error: 'OpenLoadMenu' is not a member of 'Cmd {aka RPG::EventCommand::Code}'
case Cmd::OpenLoadMenu:
^
src/game_interpreter_map.cpp:342:8: error: 'ExitGame' is not a member of 'Cmd {aka RPG::EventCommand::Code}'
case Cmd::ExitGame:
^
src/game_interpreter_map.cpp:344:8: error: 'ToggleAtbMode' is not a member of 'Cmd {aka RPG::EventCommand::Code}'
case Cmd::ToggleAtbMode:
^
src/game_interpreter_map.cpp:346:8: error: 'ToggleFullscreen' is not a member of 'Cmd {aka RPG::EventCommand::Code}'
case Cmd::ToggleFullscreen:
^
src/game_interpreter_map.cpp:348:8: error: 'OpenVideoOptions' is not a member of 'Cmd {aka RPG::EventCommand::Code}'
case Cmd::OpenVideoOptions:
^
Makefile:1854: recipe for target 'src/libeasyrpg_player_la-game_interpreter_map.lo' failed
make: *** [src/libeasyrpg_player_la-game_interpreter_map.lo] Error 1
I had no problems with 0.3.2 so I would like to know what exactly am I doing wrong this time.