Can't compile in PCLinuxOS

For those having trouble installing/running the game or to report a bug

Moderator: Staff

tux-gamer
Newbie
Posts: 6
Joined: Wed Oct 04, 2006 4:12 pm
Location: indonesia

Can't compile in PCLinuxOS

Postby tux-gamer » Wed Oct 04, 2006 6:19 pm

I Have error compiling this game, here the log:

Code: Select all

[ai@localhost allacrost-0.1.0]$ autoreconf
automake: configure.ac: required file `./mkinstalldirs' not found
Makefile.am:111: COND_EDITOR does not appear in AM_CONDITIONAL
automake: Makefile.am: not supported: source file `src/main.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `src/main_options.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `src/main_options.h' is in subdirectory
automake: Makefile.am: not supported: source file `src/defs.h' is in subdirectory
automake: Makefile.am: not supported: source file `src/utils.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `src/utils.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(ENGINE_DIR)/system.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(ENGINE_DIR)/system.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(ENGINE_DIR)/input.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(ENGINE_DIR)/input.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(ENGINE_DIR)/mode_manager.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(ENGINE_DIR)/mode_manager.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(ENGINE_DIR)/data.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(ENGINE_DIR)/data.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(ENGINE_DIR)/data_bind.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(ENGINE_DIR)/global.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(ENGINE_DIR)/global.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(AUDIO_DIR)/audio.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(AUDIO_DIR)/audio.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(AUDIO_DIR)/audio_sound.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(AUDIO_DIR)/audio_sound.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(AUDIO_DIR)/audio_music.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(AUDIO_DIR)/audio_music.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/color.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/context.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/coord_sys.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/draw.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/effects.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/fade.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/fade.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/gui.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/gui.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/image.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/image.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/interpolator.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/interpolator.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/menu_window.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/menu_window.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/option.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/option.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_effect.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_effect.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_emitter.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_keyframe.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_manager.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_manager.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_system.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_system.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/screen_rect.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/shake.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/shake.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/tex_mgmt.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/tex_mgmt.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/text.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/text.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/textbox.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/textbox.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/video.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/video.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/battle/battle.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/battle/battle.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/battle/battle_actors.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/battle/battle_actors.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/boot/boot.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/boot/boot.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/boot/boot_menu.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/boot/boot_menu.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/boot/boot_credits.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/boot/boot_credits.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/map/map.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/map/map.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/map/map_actions.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/map/map_actions.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/map/map_dialogue.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/map/map_dialogue.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/map/map_objects.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/map/map_objects.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/menu/menu.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/menu/menu.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/menu/menu_views.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/menu/menu_views.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/pause.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/pause.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/quit.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/quit.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/scene.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(MODES_DIR)/scene.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(EDITOR_DIR)/editor_main.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(EDITOR_DIR)/editor.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(EDITOR_DIR)/editor.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(EDITOR_DIR)/grid.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(EDITOR_DIR)/grid.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(EDITOR_DIR)/tile.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(EDITOR_DIR)/tile.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(EDITOR_DIR)/tileset.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(EDITOR_DIR)/tileset.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/color.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/context.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/coord_sys.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/draw.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/effects.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/fade.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/fade.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/gui.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/gui.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/image.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/image.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/interpolator.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/interpolator.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/menu_window.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/menu_window.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/option.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/option.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_effect.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_effect.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_emitter.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_keyframe.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_manager.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_manager.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_system.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/particle_system.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/screen_rect.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/shake.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/shake.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/tex_mgmt.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/tex_mgmt.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/text.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/text.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/textbox.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/textbox.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/video.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(VIDEO_DIR)/video.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(ENGINE_DIR)/data.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(ENGINE_DIR)/data.h' is in subdirectory
automake: Makefile.am: not supported: source file `src/defs.h' is in subdirectory
automake: Makefile.am: not supported: source file `src/utils.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `src/utils.h' is in subdirectory
automake: Makefile.am: not supported: source file `$(EDITOR_DIR)/editor.moc.cpp' is in subdirectory
automake: Makefile.am: not supported: source file `$(EDITOR_DIR)/grid.moc.cpp' is in subdirectory
Makefile.am:136: invalid unused variable name: `nodist_allacrost_editor_SOURCES'
autoreconf-2.5x: automake failed with exit status: 1
[ai@localhost allacrost-0.1.0]$ ./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 whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
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 gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable -O3 compiler optimization... yes
checking whether to enable debugging... no
checking whether to enable usage of map editor... no
checking for glEnable in -lGL... yes
checking for gluBuild2DMipmaps in -lGLU... yes
checking for png_read_info in -lpng... yes
checking for jpeg_read_raw_data in -ljpeg... yes
checking for SDL_InitSubSystem in -lSDL... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for TTF_Init in -lSDL_ttf... yes
checking for lua_open in -llua50... no
checking for lua_open in -llua... yes
checking for luaopen_table in -llualib50... no
checking for luaopen_table in -llualib... yes
checking for log in -lm... yes
checking for lua-config... no
./configure: line 5035: --include: command not found
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for egrep... 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 for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for working volatile... yes
checking whether closedir returns void... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for atexit... yes
checking for mkdir... yes
checking for rmdir... yes
checking for sqrt... yes
checking for strcasecmp... yes
configure: creating ./config.status
config.status: creating Makefile

Now type 'make'.

[ai@localhost allacrost-0.1.0]$ make
lm -llualib -llua -lSDL_ttf -lSDL_mixer -lSDL -ljpeg -lpng -lGLU -lGL
make: lm: Command not found
make: [allacrost] Error 127 (ignored)
[ai@localhost allacrost-0.1.0]$


this my Makefile, after running ./configure:

Code: Select all

# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am

# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.


SHELL = /bin/sh

srcdir = .
top_srcdir = .

prefix = /usr/local
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/
pkglibdir = $(libdir)/
pkgincludedir = $(includedir)/

top_builddir = .

ACLOCAL = aclocal-1.4
AUTOCONF = autoconf
AUTOMAKE = automake-1.4
AUTOHEADER = autoheader

INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL}
transform = s,x,x,

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
CC = gcc
CXX = g++
LUA_CONFIG =
MAINT = #
MAKEINFO = makeinfo
MOC =
PACKAGE =
QASSISTANTCLIENT_LDADD =
QEMBED =
QT_CXXFLAGS =
QT_GUILINK =
QT_LDADD =
UIC =
VERSION =

EXTRA_DIST = MANUAL configure dat doc img mus snd
ACLOCAL_AMFLAGS = -I m4
INCLUDES =      -I/usr/include/SDL      -I$(top_srcdir)/src     -I$(top_srcdir)/
src/engine      -I$(top_srcdir)/src/engine/audio        -I$(top_srcdir)/src/engi
ne/video        -I$(top_srcdir)/src/modes       -I$(top_srcdir)/src/modes/battle
        -I$(top_srcdir)/src/modes/boot  -I$(top_srcdir)/src/modes/map   -I$(top_
srcdir)/src/modes/menu


VIDEO_DIR = src/engine/video
video_SOURCES =         $(VIDEO_DIR)/color.h    $(VIDEO_DIR)/context.h  $(VIDEO_
DIR)/coord_sys.h        $(VIDEO_DIR)/draw.cpp   $(VIDEO_DIR)/effects.cpp       
$(VIDEO_DIR)/fade.cpp   $(VIDEO_DIR)/fade.h     $(VIDEO_DIR)/gui.cpp    $(VIDEO_
DIR)/gui.h      $(VIDEO_DIR)/image.cpp  $(VIDEO_DIR)/image.h    $(VIDEO_DIR)/int
erpolator.cpp   $(VIDEO_DIR)/interpolator.h     $(VIDEO_DIR)/menu_window.cpp   
$(VIDEO_DIR)/menu_window.h      $(VIDEO_DIR)/option.cpp         $(VIDEO_DIR)/opt
ion.h   $(VIDEO_DIR)/particle.h         $(VIDEO_DIR)/particle_effect.cpp       
$(VIDEO_DIR)/particle_effect.h  $(VIDEO_DIR)/particle_emitter.h         $(VIDEO_
DIR)/particle_keyframe.h        $(VIDEO_DIR)/particle_manager.cpp       $(VIDEO_
DIR)/particle_manager.h         $(VIDEO_DIR)/particle_system.cpp        $(VIDEO_
DIR)/particle_system.h  $(VIDEO_DIR)/screen_rect.h      $(VIDEO_DIR)/shake.cpp
$(VIDEO_DIR)/shake.h    $(VIDEO_DIR)/tex_mgmt.cpp       $(VIDEO_DIR)/tex_mgmt.h
        $(VIDEO_DIR)/text.cpp   $(VIDEO_DIR)/text.h     $(VIDEO_DIR)/textbox.cpp
        $(VIDEO_DIR)/textbox.h  $(VIDEO_DIR)/video.cpp  $(VIDEO_DIR)/video.h


AUDIO_DIR = src/engine/audio
audio_SOURCES =         $(AUDIO_DIR)/audio.cpp  $(AUDIO_DIR)/audio.h    $(AUDIO_
DIR)/audio_sound.cpp    $(AUDIO_DIR)/audio_sound.h      $(AUDIO_DIR)/audio_music
.cpp    $(AUDIO_DIR)/audio_music.h


ENGINE_DIR = src/engine
engine_SOURCES =        $(ENGINE_DIR)/system.cpp        $(ENGINE_DIR)/system.h
$(ENGINE_DIR)/input.cpp         $(ENGINE_DIR)/input.h   $(ENGINE_DIR)/mode_manag
er.cpp  $(ENGINE_DIR)/mode_manager.h    $(ENGINE_DIR)/data.cpp  $(ENGINE_DIR)/da
ta.h    $(ENGINE_DIR)/data_bind.h       $(ENGINE_DIR)/global.cpp        $(ENGINE
_DIR)/global.h  $(audio_SOURCES)        $(video_SOURCES)


MODES_DIR = src/modes
modes_SOURCES =         $(MODES_DIR)/battle/battle.cpp  $(MODES_DIR)/battle/batt
le.h    $(MODES_DIR)/battle/battle_actors.cpp   $(MODES_DIR)/battle/battle_actor
s.h     $(MODES_DIR)/boot/boot.cpp      $(MODES_DIR)/boot/boot.h        $(MODES_
DIR)/boot/boot_menu.cpp         $(MODES_DIR)/boot/boot_menu.h   $(MODES_DIR)/boo
t/boot_credits.cpp      $(MODES_DIR)/boot/boot_credits.h        $(MODES_DIR)/map
/map.cpp        $(MODES_DIR)/map/map.h  $(MODES_DIR)/map/map_actions.cpp       
$(MODES_DIR)/map/map_actions.h  $(MODES_DIR)/map/map_dialogue.cpp       $(MODES_
DIR)/map/map_dialogue.h         $(MODES_DIR)/map/map_objects.cpp        $(MODES_
DIR)/map/map_objects.h  $(MODES_DIR)/menu/menu.cpp      $(MODES_DIR)/menu/menu.h
        $(MODES_DIR)/menu/menu_views.cpp        $(MODES_DIR)/menu/menu_views.h
$(MODES_DIR)/pause.cpp  $(MODES_DIR)/pause.h    $(MODES_DIR)/quit.cpp   $(MODES_
DIR)/quit.h     $(MODES_DIR)/scene.cpp  $(MODES_DIR)/scene.h


#EDITOR_DIR = src/editor
#EDITOR_BIN = allacrost-editor
EDITOR_BIN =
#AM_CXXFLAGS := $(CXXFLAGS) $(QT_CXXFLAGS) -DQT_CLEAN_NAMESPACE
#BUILT_SOURCES = $(allacrost_editor_MOC)
#CLEANFILES = $(BUILT_SOURCES)
#allacrost_editor_MOC = $(EDITOR_DIR)/editor.moc.cpp $(EDITOR_DIR)/grid.moc.cpp
#allacrost_editor_SOURCES =     $(EDITOR_DIR)/editor_main.cpp   $(EDITOR_DIR)/ed
itor.cpp        $(EDITOR_DIR)/editor.h  $(EDITOR_DIR)/grid.cpp  $(EDITOR_DIR)/gr
id.h    $(EDITOR_DIR)/tile.cpp  $(EDITOR_DIR)/tile.h    $(EDITOR_DIR)/tileset.cp
p       $(EDITOR_DIR)/tileset.h         $(video_SOURCES)        $(ENGINE_DIR)/da
ta.cpp  $(ENGINE_DIR)/data.h    src/defs.h      src/utils.cpp   src/utils.h
#nodist_allacrost_editor_SOURCES = $(allacrost_editor_MOC)
#allacrost_editor_LDADD = $(QT_GUILINK) $(QT_LDADD)

bin_PROGRAMS = allacrost $(EDITOR_BIN)

allacrost_SOURCES =     src/main.cpp    src/main_options.cpp    src/main_options
.h      src/defs.h      src/utils.cpp   src/utils.h     $(engine_SOURCES)     
$(modes_SOURCES)


data_dirs = dat img mus snd
find_filter = -name .svn -prune -o -name ".\#*" -o -type d
find_datadirs = ( cd $(top_srcdir) && find $(data_dirs) $(find_filter) -print )
find_data = ( cd $(top_srcdir) && find $(data_dirs) $(find_filter) -o -print )
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
PROGRAMS =  $(bin_PROGRAMS)


DEFS = -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allac
rost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ De
mo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"\" -DVERS
ION=\"\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_
LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUA
LIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_I
NTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_
H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_
FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_S
QRT=1 -DHAVE_STRCASECMP=1  -I. -I$(srcdir)
CPPFLAGS =
LDFLAGS =
LIBS = -lm -llualib -llua -lSDL_ttf -lSDL_mixer -lSDL -ljpeg -lpng -lGLU -lGL
allacrost_OBJECTS =
allacrost_LDADD = $(LDADD)
allacrost_DEPENDENCIES =
allacrost_LDFLAGS =
#allacrost_editor_OBJECTS =
#allacrost_editor_DEPENDENCIES =
allacrost_editor_LDFLAGS =
DIST_COMMON =  README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
Makefile.in NEWS aclocal.m4 config.guess config.sub configure \
configure.ac install-sh missing


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = gtar
GZIP_ENV = --best
SOURCES = $(allacrost_SOURCES) $(allacrost_editor_SOURCES)
OBJECTS = $(allacrost_OBJECTS) $(allacrost_editor_OBJECTS)

all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .o .s
$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
        cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
        cd $(top_builddir) \
          && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status

$(ACLOCAL_M4): # configure.ac  m4/gwqt.m4
        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)

config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
        $(SHELL) ./config.status --recheck
$(srcdir)/configure: #$(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENC
IES)
        cd $(srcdir) && $(AUTOCONF)

mostlyclean-binPROGRAMS:

clean-binPROGRAMS:
        -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)

distclean-binPROGRAMS:

maintainer-clean-binPROGRAMS:

install-binPROGRAMS: $(bin_PROGRAMS)
        @$(NORMAL_INSTALL)
        $(mkinstalldirs) $(DESTDIR)$(bindir)
        @list='$(bin_PROGRAMS)'; for p in $$list; do \
          if test -f $$p; then \
            echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/
$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
             $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEX
T)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
          else :; fi; \
        done

uninstall-binPROGRAMS:
        @$(NORMAL_UNINSTALL)
        list='$(bin_PROGRAMS)'; for p in $$list; do \
          rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(trans
form)'|sed 's/$$/$(EXEEXT)/'`; \
        done

.s.o:
        $(COMPILE) -c $<

.S.o:
        $(COMPILE) -c $<

mostlyclean-compile:
        -rm -f *.o core *.core

clean-compile:

distclean-compile:
        -rm -f *.tab.c

maintainer-clean-compile:

allacrost: $(allacrost_OBJECTS) $(allacrost_DEPENDENCIES)
        @rm -f allacrost
        $(LINK) $(allacrost_LDFLAGS) $(allacrost_OBJECTS) $(allacrost_LDADD) $(L
IBS)

allacrost-editor: $(allacrost_editor_OBJECTS) $(allacrost_editor_DEPENDENCIES)
        @rm -f allacrost-editor
        $(LINK) $(allacrost_editor_LDFLAGS) $(allacrost_editor_OBJECTS) $(allacr
ost_editor_LDADD) $(LIBS)
tags: TAGS
TAGS:


distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)

# This target untars the dist file and tries a VPATH configuration.  Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
        -rm -rf $(distdir)
        GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
        mkdir $(distdir)/=build
        mkdir $(distdir)/=inst
        dc_install_base=`cd $(distdir)/=inst && pwd`; \
        cd $(distdir)/=build \
          && ../configure --srcdir=.. --prefix=$$dc_install_base \
          && $(MAKE) $(AM_MAKEFLAGS) \
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
          && $(MAKE) $(AM_MAKEFLAGS) check \
          && $(MAKE) $(AM_MAKEFLAGS) install \
          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
          && $(MAKE) $(AM_MAKEFLAGS) dist
        -rm -rf $(distdir)
        @banner="$(distdir).tar.gz is ready for distribution"; \
        dashes=`echo "$$banner" | sed s/./=/g`; \
        echo "$$dashes"; \
        echo "$$banner"; \
        echo "$$dashes"
dist: distdir
        -chmod -R a+r $(distdir)
        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
        -rm -rf $(distdir)
dist-all: distdir
        -chmod -R a+r $(distdir)
        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
        -rm -rf $(distdir)
distdir: $(DISTFILES)
        -rm -rf $(distdir)
        mkdir $(distdir)
        -chmod 777 $(distdir)
        here=`cd $(top_builddir) && pwd`; \
        top_distdir=`cd $(distdir) && pwd`; \
        distdir=`cd $(distdir) && pwd`; \
        cd $(top_srcdir) \
          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_s
rcdir) --output-dir=$$top_distdir --gnu Makefile
        @for file in $(DISTFILES); do \
          d=$(srcdir); \
          if test -d $$d/$$file; then \
            cp -pr $$d/$$file $(distdir)/$$file; \
          else \
            test -f $(distdir)/$$file \
            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
            || cp -p $$d/$$file $(distdir)/$$file || :; \
          fi; \
        done
        $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)
" dist-hook
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am: install-binPROGRAMS
install-exec: install-exec-am

install-data-am: install-data-local
install-data: install-data-am

install-am: all-am
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-binPROGRAMS
uninstall: uninstall-am
all-am: Makefile $(PROGRAMS)
all-redirect: all-am
install-strip:
        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
        $(mkinstalldirs)  $(DESTDIR)$(bindir)


mostlyclean-generic:

clean-generic:
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
        -rm -f config.cache config.log stamp-h stamp-h[0-9]*

maintainer-clean-generic:
        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
                mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am:  clean-binPROGRAMS clean-compile clean-generic mostlyclean-am

clean: clean-am

distclean-am:  distclean-binPROGRAMS distclean-compile distclean-generic \
                clean-am

distclean: distclean-am
        -rm -f config.status

maintainer-clean-am:  maintainer-clean-binPROGRAMS \
                maintainer-clean-compile maintainer-clean-generic \
                distclean-am
        @echo "This command is intended for maintainers to use;"
        @echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-am
        -rm -f config.status

.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile tags distdir info-am info dvi-am dvi check \
check-am installcheck-am installcheck install-exec-am install-exec \
install-data-local install-data-am install-data install-am install \
uninstall-am uninstall all-redirect all-am all installdirs \
mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean

#$(EDITOR_DIR)%.moc.cpp: $(EDITOR_DIR)%.h
#       $(MOC) -o $@ $<

dist-hook:
        rm -rf `find $(distdir) -name .svn`

install-data-local:
        @$(NORMAL_INSTALL)
        test -z "$(datadir)" || $(mkdir_p) "$(DESTDIR)$(datadir)"
        ( $(find_datadirs) ) | while read dir; do \
                $(mkdir_p) "$(DESTDIR)$(datadir)/$$dir"; \
        done; \
        ( $(find_data) ) | while read file; do \
                echo $(INSTALL_DATA) "$$file" "$(DESTDIR)$(datadir)/$$file"; \
                $(INSTALL_DATA) "$$file" "$(DESTDIR)$(datadir)/$$file"; \
        done

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:


Can you help me, i want to try this nice game.

Thanks.

nb: Sory for my bad english.
User avatar
gorzuate
Developer
Posts: 2575
Joined: Thu Jun 17, 2004 3:03 am
Location: Hermosa Beach, CA
Contact:

Postby gorzuate » Wed Oct 04, 2006 7:57 pm

One question first: did you download off of Sourceforge or check it out from our Subversion repository?

If you downloaded it you don't need to run autoreconf.
Image
tux-gamer
Newbie
Posts: 6
Joined: Wed Oct 04, 2006 4:12 pm
Location: indonesia

Postby tux-gamer » Wed Oct 04, 2006 9:45 pm

Thanks for the reply.
I download it from sourceforge.
Oke, now i juast do ./configure and than make, but i still have problem, here the log:

Code: Select all

[ai@localhost allacrost-0.1.0]$ ./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 gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable -O3 compiler optimization... yes
checking whether to enable debugging... no
checking whether to enable usage of map editor... no
checking for glEnable in -lGL... yes
checking for gluBuild2DMipmaps in -lGLU... yes
checking for png_read_info in -lpng... yes
checking for jpeg_read_raw_data in -ljpeg... yes
checking for SDL_InitSubSystem in -lSDL... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for TTF_Init in -lSDL_ttf... yes
checking for lua_open in -llua50... no
checking for lua_open in -llua... yes
checking for luaopen_table in -llualib50... no
checking for luaopen_table in -llualib... yes
checking for log in -lm... yes
checking for lua-config... no
./configure: line 5468: --include: command not found
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for egrep... 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 for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for working volatile... yes
checking whether closedir returns void... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for atexit... yes
checking for mkdir... yes
checking for rmdir... yes
checking for sqrt... yes
checking for strcasecmp... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands

Now type 'make'.

[ai@localhost allacrost-0.1.0]$ make
make  all-am
make[1]: Entering directory `/os/data-1/System/pclinuxos/home/ai/allacrost-0.1.0'
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o `test -f 'src/main.cpp' || echo './'`src/main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
src/main.cpp:86: error: return type for `main' changed to `int'
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/os/data-1/System/pclinuxos/home/ai/allacrost-0.1.0'
make: *** [all] Error 2
[ai@localhost allacrost-0.1.0]$


Please help me again.

nb: sory for my bad english.
User avatar
gorzuate
Developer
Posts: 2575
Joined: Thu Jun 17, 2004 3:03 am
Location: Hermosa Beach, CA
Contact:

Postby gorzuate » Wed Oct 04, 2006 11:41 pm

First, what is the version of g++/gcc you're using?

Second, try modifying line 86 in src/main.cpp from int32 main... to int main... and see if that compiles.
Image
tux-gamer
Newbie
Posts: 6
Joined: Wed Oct 04, 2006 4:12 pm
Location: indonesia

Postby tux-gamer » Thu Oct 05, 2006 5:02 am

PCLinuxOS-0.93a use gcc-3.3.1 and g++-3.3.1
(if it's too old, i can do anything, because PCLinuxOS don't give a new version).

I change this line:

Code: Select all

// Every great game begins with a single function :)
int32 main(int32 argc, char *argv[]) {
        // When the program exits, first the QuitAllacrost() function, followed by SDL_Quit()
        atexit(SDL_Quit);
        atexit(QuitAllacrost);


to:

Code: Select all

// Every great game begins with a single function :)
int main(int32 argc, char *argv[]) {
        // When the program exits, first the QuitAllacrost() function, followed by SDL_Quit()
        atexit(SDL_Quit);
        atexit(QuitAllacrost);


Now, i can compile it, but istill have error, :cry:
here the log:

Code: Select all

.........
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT boot_menu.o -MD -MP -MF ".deps/boot_menu.Tpo" -c -o boot_menu.o `test -f 'src/modes/boot/boot_menu.cpp' || echo './'`src/modes/boot/boot_menu.cpp; \
then mv -f ".deps/boot_menu.Tpo" ".deps/boot_menu.Po"; else rm -f ".deps/boot_menu.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT boot_credits.o -MD -MP -MF ".deps/boot_credits.Tpo" -c -o boot_credits.o `test -f 'src/modes/boot/boot_credits.cpp' || echo './'`src/modes/boot/boot_credits.cpp; \
then mv -f ".deps/boot_credits.Tpo" ".deps/boot_credits.Po"; else rm -f ".deps/boot_credits.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT map.o -MD -MP -MF ".deps/map.Tpo" -c -o map.o `test -f 'src/modes/map/map.cpp' || echo './'`src/modes/map/map.cpp; \
then mv -f ".deps/map.Tpo" ".deps/map.Po"; else rm -f ".deps/map.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT map_actions.o -MD -MP -MF ".deps/map_actions.Tpo" -c -o map_actions.o `test -f 'src/modes/map/map_actions.cpp' || echo './'`src/modes/map/map_actions.cpp; \
then mv -f ".deps/map_actions.Tpo" ".deps/map_actions.Po"; else rm -f ".deps/map_actions.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT map_dialogue.o -MD -MP -MF ".deps/map_dialogue.Tpo" -c -o map_dialogue.o `test -f 'src/modes/map/map_dialogue.cpp' || echo './'`src/modes/map/map_dialogue.cpp; \
then mv -f ".deps/map_dialogue.Tpo" ".deps/map_dialogue.Po"; else rm -f ".deps/map_dialogue.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT map_objects.o -MD -MP -MF ".deps/map_objects.Tpo" -c -o map_objects.o `test -f 'src/modes/map/map_objects.cpp' || echo './'`src/modes/map/map_objects.cpp; \
then mv -f ".deps/map_objects.Tpo" ".deps/map_objects.Po"; else rm -f ".deps/map_objects.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT menu.o -MD -MP -MF ".deps/menu.Tpo" -c -o menu.o `test -f 'src/modes/menu/menu.cpp' || echo './'`src/modes/menu/menu.cpp; \
then mv -f ".deps/menu.Tpo" ".deps/menu.Po"; else rm -f ".deps/menu.Tpo"; exit 1; fi
In file included from src/modes/menu/menu.h:35,
                 from src/modes/menu/menu.cpp:21:
/usr/include/c++/3.3.1/bits/stl_pair.h: In instantiation of `std::pair<const std::string, hoa_audio::SoundDescriptor>':
/usr/include/c++/3.3.1/bits/stl_tree.h:123:   instantiated from `std::_Rb_tree_node<std::pair<const std::string, hoa_audio::SoundDescriptor> >'
/usr/include/c++/3.3.1/bits/stl_alloc.h:242:   instantiated from `static void std::__simple_alloc<_Tp, _Alloc>::deallocate(_Tp*, unsigned int) [with _Tp = std::_Rb_tree_node<std::pair<const std::string, hoa_audio::SoundDescriptor> >, _Alloc = std::__default_alloc_template<true, 0>]'
/usr/include/c++/3.3.1/bits/stl_tree.h:567:   instantiated from `void std::_Rb_tree_alloc_base<_Tp, _Alloc, true>::_M_put_node(std::_Rb_tree_node<_Val>*) [with _Tp = std::pair<const std::string, hoa_audio::SoundDescriptor>, _Alloc = std::allocator<std::pair<const std::string, hoa_audio::SoundDescriptor> >]'
/usr/include/c++/3.3.1/bits/stl_tree.h:580:   instantiated from `std::_Rb_tree_base<_Tp, _Alloc>::~_Rb_tree_base() [with _Tp = std::pair<const std::string, hoa_audio::SoundDescriptor>, _Alloc = std::allocator<std::pair<const std::string, hoa_audio::SoundDescriptor> >]'
/usr/include/c++/3.3.1/bits/stl_tree.h:748:   instantiated from `std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::~_Rb_tree() [with _Key = std::string, _Val = std::pair<const std::string, hoa_audio::SoundDescriptor>, _KeyOfValue = std::_Select1st<std::pair<const std::string, hoa_audio::SoundDescriptor> >, _Compare = std::less<std::string>, _Alloc = std::allocator<std::pair<const std::string, hoa_audio::SoundDescriptor> >]'
src/modes/menu/menu_views.h:129:   instantiated from here
/usr/include/c++/3.3.1/bits/stl_pair.h:74: error: `std::pair<_T1, _T2>::second' has incomplete type
src/defs.h:44: error: forward declaration of `struct hoa_audio::SoundDescriptor'
/usr/include/c++/3.3.1/bits/stl_map.h: In member function `_Tp& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const _Key&) [with _Key = std::string, _Tp = hoa_audio::SoundDescriptor, _Compare = std::less<std::string>, _Alloc = std::allocator<std::pair<const std::string, hoa_audio::SoundDescriptor> >]':
src/modes/menu/menu.cpp:224:   instantiated from here
/usr/include/c++/3.3.1/bits/stl_map.h:320: error: 'struct std::pair<const std::string, hoa_audio::SoundDescriptor>' has no member named 'second'
/usr/include/c++/3.3.1/bits/stl_pair.h: In constructor `std::pair<_T1, _T2>::pair(const _T1&, const _T2&) [with _T1 = const std::string, _T2 = hoa_audio::SoundDescriptor]':
/usr/include/c++/3.3.1/bits/stl_map.h:319:   instantiated from `_Tp& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const _Key&) [with _Key = std::string, _Tp = hoa_audio::SoundDescriptor, _Compare = std::less<std::string>, _Alloc = std::allocator<std::pair<const std::string, hoa_audio::SoundDescriptor> >]'
src/modes/menu/menu.cpp:224:   instantiated from here
/usr/include/c++/3.3.1/bits/stl_pair.h:84: error: unnamed initializer for `std::pair<const std::string, hoa_audio::SoundDescriptor>', which has no base classes
make[1]: *** [menu.o] Error 1
make[1]: Leaving directory `/os/data-1/System/pclinuxos/home/ai/allacrost-0.1.0'
make: *** [all] Error 2
[ai@localhost allacrost-0.1.0]$


Please help me again.

nb:sory for my bad english.
User avatar
gorzuate
Developer
Posts: 2575
Joined: Thu Jun 17, 2004 3:03 am
Location: Hermosa Beach, CA
Contact:

Postby gorzuate » Thu Oct 05, 2006 5:26 am

I'm beginning to think your compiler is indeed too old :uhoh:
Image
tux-gamer
Newbie
Posts: 6
Joined: Wed Oct 04, 2006 4:12 pm
Location: indonesia

Postby tux-gamer » Thu Oct 05, 2006 11:07 am

So, do you have any sugestion?
If i must upgrade my compiler, which version is the best for compiling this game?

I have try compile it, under Mandriva2005 + gcc-3.4.3, with gcc-3.4.3 , i have no problem with src/main.cpp like before.
but i still can't compile it.
here the log:
1.configure log:

Code: Select all

[ai@localhost allacrost-0.1.0]$ ./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 gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable -O3 compiler optimization... yes
checking whether to enable debugging... no
checking whether to enable usage of map editor... no
checking for glEnable in -lGL... yes
checking for gluBuild2DMipmaps in -lGLU... yes
checking for png_read_info in -lpng... yes
checking for jpeg_read_raw_data in -ljpeg... yes
checking for SDL_InitSubSystem in -lSDL... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for TTF_Init in -lSDL_ttf... yes
checking for lua_open in -llua50... no
checking for lua_open in -llua... yes
checking for luaopen_table in -llualib50... no
checking for luaopen_table in -llualib... yes
checking for log in -lm... yes
checking for lua-config... no
./configure: line 5468: --include: command not found
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for egrep... 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 for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for working volatile... yes
checking whether closedir returns void... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for atexit... yes
checking for mkdir... yes
checking for rmdir... yes
checking for sqrt... yes
checking for strcasecmp... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands

Now type 'make'.


2.make log:

Code: Select all

..........
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT map.o -MD -MP -MF ".deps/map.Tpo" -c -o map.o `test -f 'src/modes/map/map.cpp' || echo './'`src/modes/map/map.cpp; \
then mv -f ".deps/map.Tpo" ".deps/map.Po"; else rm -f ".deps/map.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT map_actions.o -MD -MP -MF ".deps/map_actions.Tpo" -c -o map_actions.o `test -f 'src/modes/map/map_actions.cpp' || echo './'`src/modes/map/map_actions.cpp; \
then mv -f ".deps/map_actions.Tpo" ".deps/map_actions.Po"; else rm -f ".deps/map_actions.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT map_dialogue.o -MD -MP -MF ".deps/map_dialogue.Tpo" -c -o map_dialogue.o `test -f 'src/modes/map/map_dialogue.cpp' || echo './'`src/modes/map/map_dialogue.cpp; \
then mv -f ".deps/map_dialogue.Tpo" ".deps/map_dialogue.Po"; else rm -f ".deps/map_dialogue.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT map_objects.o -MD -MP -MF ".deps/map_objects.Tpo" -c -o map_objects.o `test -f 'src/modes/map/map_objects.cpp' || echo './'`src/modes/map/map_objects.cpp; \
then mv -f ".deps/map_objects.Tpo" ".deps/map_objects.Po"; else rm -f ".deps/map_objects.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT menu.o -MD -MP -MF ".deps/menu.Tpo" -c -o menu.o `test -f 'src/modes/menu/menu.cpp' || echo './'`src/modes/menu/menu.cpp; \
then mv -f ".deps/menu.Tpo" ".deps/menu.Po"; else rm -f ".deps/menu.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT menu_views.o -MD -MP -MF ".deps/menu_views.Tpo" -c -o menu_views.o `test -f 'src/modes/menu/menu_views.cpp' || echo './'`src/modes/menu/menu_views.cpp; \
then mv -f ".deps/menu_views.Tpo" ".deps/menu_views.Po"; else rm -f ".deps/menu_views.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT pause.o -MD -MP -MF ".deps/pause.Tpo" -c -o pause.o `test -f 'src/modes/pause.cpp' || echo './'`src/modes/pause.cpp; \
then mv -f ".deps/pause.Tpo" ".deps/pause.Po"; else rm -f ".deps/pause.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT quit.o -MD -MP -MF ".deps/quit.Tpo" -c -o quit.o `test -f 'src/modes/quit.cpp' || echo './'`src/modes/quit.cpp; \
then mv -f ".deps/quit.Tpo" ".deps/quit.Po"; else rm -f ".deps/quit.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"Hero\ of\ Allacrost\ -\ Demo\" -DPACKAGE_TARNAME=\"allacrost\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"Hero\ of\ Allacrost\ -\ Demo\ 0.1.0\" -DPACKAGE_BUGREPORT=\"gorzuate@allacrost.org\" -DPACKAGE=\"allacrost\" -DVERSION=\"0.1.0\" -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_LIBLUA=1 -DHAVE_LIBLUALIB=1 -DHAVE_LIBM=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_ATEXIT=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1  -I. -I. -I/usr/include/SDL -I./src -I./src/engine -I./src/engine/audio -I./src/engine/video -I./src/modes -I./src/modes/battle -I./src/modes/boot -I./src/modes/map -I./src/modes/menu    -Wall -O3  -MT scene.o -MD -MP -MF ".deps/scene.Tpo" -c -o scene.o `test -f 'src/modes/scene.cpp' || echo './'`src/modes/scene.cpp; \
then mv -f ".deps/scene.Tpo" ".deps/scene.Po"; else rm -f ".deps/scene.Tpo"; exit 1; fi
g++  -Wall -O3    -o allacrost  main.o main_options.o utils.o system.o input.o mode_manager.o data.o global.o audio.o audio_sound.o audio_music.o draw.o effects.o fade.o gui.o image.o interpolator.o menu_window.o option.o particle_effect.o particle_manager.o particle_system.o shake.o tex_mgmt.o text.o textbox.o video.o battle.o battle_actors.o boot.o boot_menu.o boot_credits.o map.o map_actions.o map_dialogue.o map_objects.o menu.o menu_views.o pause.o quit.o scene.o  -lm -llualib -llua -lSDL_ttf -lSDL_mixer -lSDL -ljpeg -lpng -lGLU -lGL
tex_mgmt.o(.text+0x1308): In function `hoa_video::GameVideo::_LoadRawImageJpeg(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, hoa_video::private_video::ImageLoadInfo&, bool)':
: undefined reference to `jpeg_std_error(jpeg_error_mgr*)'
tex_mgmt.o(.text+0x1324): In function `hoa_video::GameVideo::_LoadRawImageJpeg(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, hoa_video::private_video::ImageLoadInfo&, bool)':
: undefined reference to `jpeg_CreateDecompress(jpeg_decompress_struct*, int, unsigned int)'
tex_mgmt.o(.text+0x1333): In function `hoa_video::GameVideo::_LoadRawImageJpeg(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, hoa_video::private_video::ImageLoadInfo&, bool)':
: undefined reference to `jpeg_stdio_src(jpeg_decompress_struct*, _IO_FILE*)'
tex_mgmt.o(.text+0x133d): In function `hoa_video::GameVideo::_LoadRawImageJpeg(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, hoa_video::private_video::ImageLoadInfo&, bool)':
: undefined reference to `jpeg_read_header(jpeg_decompress_struct*, int)'
tex_mgmt.o(.text+0x1345): In function `hoa_video::GameVideo::_LoadRawImageJpeg(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, hoa_video::private_video::ImageLoadInfo&, bool)':
: undefined reference to `jpeg_start_decompress(jpeg_decompress_struct*)'
tex_mgmt.o(.text+0x13e2): In function `hoa_video::GameVideo::_LoadRawImageJpeg(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, hoa_video::private_video::ImageLoadInfo&, bool)':
: undefined reference to `jpeg_read_scanlines(jpeg_decompress_struct*, unsigned char**, unsigned int)'
tex_mgmt.o(.text+0x150a): In function `hoa_video::GameVideo::_LoadRawImageJpeg(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, hoa_video::private_video::ImageLoadInfo&, bool)':
: undefined reference to `jpeg_finish_decompress(jpeg_decompress_struct*)'
tex_mgmt.o(.text+0x1518): In function `hoa_video::GameVideo::_LoadRawImageJpeg(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, hoa_video::private_video::ImageLoadInfo&, bool)':
: undefined reference to `jpeg_destroy_decompress(jpeg_decompress_struct*)'
video.o(.text+0x251): In function `hoa_video::GameVideo::MakeScreenshot()':
: undefined reference to `jpeg_std_error(jpeg_error_mgr*)'
video.o(.text+0x267): In function `hoa_video::GameVideo::MakeScreenshot()':
: undefined reference to `jpeg_CreateCompress(jpeg_compress_struct*, int, unsigned int)'
video.o(.text+0x2a4): In function `hoa_video::GameVideo::MakeScreenshot()':
: undefined reference to `jpeg_stdio_dest(jpeg_compress_struct*, _IO_FILE*)'
video.o(.text+0x2d2): In function `hoa_video::GameVideo::MakeScreenshot()':
: undefined reference to `jpeg_set_defaults(jpeg_compress_struct*)'
video.o(.text+0x2eb): In function `hoa_video::GameVideo::MakeScreenshot()':
: undefined reference to `jpeg_set_quality(jpeg_compress_struct*, int, int)'
video.o(.text+0x2f5): In function `hoa_video::GameVideo::MakeScreenshot()':
: undefined reference to `jpeg_start_compress(jpeg_compress_struct*, int)'
video.o(.text+0x344): In function `hoa_video::GameVideo::MakeScreenshot()':
: undefined reference to `jpeg_write_scanlines(jpeg_compress_struct*, unsigned char**, unsigned int)'
video.o(.text+0x358): In function `hoa_video::GameVideo::MakeScreenshot()':
: undefined reference to `jpeg_finish_compress(jpeg_compress_struct*)'
video.o(.text+0x36d): In function `hoa_video::GameVideo::MakeScreenshot()':
: undefined reference to `jpeg_destroy_compress(jpeg_compress_struct*)'
collect2: ld returned 1 exit status
make[1]: *** [allacrost] Error 1
make[1]: Leaving directory `/home/ai/project/allacrost-0.1.0'
make: *** [all] Error 2
[ai@localhost allacrost-0.1.0]$



I realy want to try this game, so please help me.
Thank before.

nb: sory for my bad english.
Farrer

Postby Farrer » Thu Oct 05, 2006 1:09 pm

to avoid the errors from: undefined reference to `jpeg_****** (It's a link problem with libjpeg.), just edit the file src/engine/video/video.h

changing

#include <jpeglib.h>

to

extern "C" {
#include <jpeglib.h>
}
tux-gamer
Newbie
Posts: 6
Joined: Wed Oct 04, 2006 4:12 pm
Location: indonesia

Postby tux-gamer » Thu Oct 05, 2006 11:56 pm

@Farrer

Thanks , that works, But , There is something strange,
After I compile gcc-3.4.3 (from srpms gcc-3.4.3 mandriva2005), than install it, after that , i compile this game, and this game compiled with out error. but when i start the game.
this game make my X restart.
So, i switch to my Mandriva 2005, than, i run this game,and it's run without trouble.
My Mandriva use X.org-6.9 + gcc-3.4.3 + kernel-2.6.18 + NVIDIA-8774.
My PCLinuxOS-0.93a use X.org-6.9 + kernel-2.6.18 + NVIDIA-8774 + gcc-3.4.3

But, Thanks for Game, it's nice game.
User avatar
gorzuate
Developer
Posts: 2575
Joined: Thu Jun 17, 2004 3:03 am
Location: Hermosa Beach, CA
Contact:

Postby gorzuate » Fri Oct 06, 2006 4:01 am

tux-gamer wrote:@Farrer

Thanks , that works, But , There is something strange,
After I compile gcc-3.4.3 (from srpms gcc-3.4.3 mandriva2005), than install it, after that , i compile this game, and this game compiled with out error. but when i start the game.
this game make my X restart.
So, i switch to my Mandriva 2005, than, i run this game,and it's run without trouble.
My Mandriva use X.org-6.9 + gcc-3.4.3 + kernel-2.6.18 + NVIDIA-8774.
My PCLinuxOS-0.93a use X.org-6.9 + kernel-2.6.18 + NVIDIA-8774 + gcc-3.4.3

But, Thanks for Game, it's nice game.


That's strange. :eyebrow:

But I'm glad you were able to get it working :)
Image
tux-gamer
Newbie
Posts: 6
Joined: Wed Oct 04, 2006 4:12 pm
Location: indonesia

Postby tux-gamer » Fri Oct 06, 2006 7:59 pm

I found the problem, it because i upgrade xorg-6.9.0-58tex to xorg-6.9.0-59tex.
and i forget not to compile Nvidia driver again for the new xorg.

So now this game run without problem on my PCLinuxOS.
Thanks for the game. :aprove:


why there is no "special effeck" on the "battle mode" , like in Chrono trigger ar FF6?
what i mean, about special effeck is, why the caracter not do special movement, like jumping, or do slashing his sword, not just "freeze".
in chrono trigger, the caracter will a "movement" in "battle mode".

I hope you understand, what i want to told you.

I am sory for my bad english.
User avatar
gorzuate
Developer
Posts: 2575
Joined: Thu Jun 17, 2004 3:03 am
Location: Hermosa Beach, CA
Contact:

Postby gorzuate » Fri Oct 06, 2006 10:31 pm

tux-gamer wrote:I found the problem, it because i upgrade xorg-6.9.0-58tex to xorg-6.9.0-59tex.
and i forget not to compile Nvidia driver again for the new xorg.

So now this game run without problem on my PCLinuxOS.
Thanks for the game. :aprove:


Awesome! Yeah, sometimes I forget to do that too :|

tux-gamer wrote:why there is no "special effeck" on the "battle mode" , like in Chrono trigger ar FF6?
what i mean, about special effeck is, why the caracter not do special movement, like jumping, or do slashing his sword, not just "freeze".
in chrono trigger, the caracter will a "movement" in "battle mode".

I hope you understand, what i want to told you.


Never fear! Of course there will be special effects ;) We just have to wait until our artists make some :heh:
Image

Return to “Technical Issues”

Who is online

Users browsing this forum: No registered users and 1 guest