Need a bit of help if you can, I'm new to Crystalspace, and with me using Gentoo Linux, I opted to install via the ebuild within portage.
I've installed the following packages...
dev-games/crystalspace-1.2
dev-games/cel 1.2
dev-games/cegui 0.5.0b-r3
emerge --info returns:
Code: Select all
Portage 2.1.3.18 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.6.1-r0, 2.6.22-gentoo-r2 i686)
=================================================================
System uname: 2.6.22-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1.70GHz
Timestamp of tree: Tue, 06 Nov 2007 11:46:01 +0000
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python: 2.5.1-r3
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LANG="C"
LINGUAS="en en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.hardmilk.com/gentoo-portage"
USE="3ds X a52 aac aalib acl acpi alsa amr apache2 audiofile bash-completion berkdb bitmap-fonts blender-game bluetooth bonobo bzip2 cal3d cdparanoia cdr cegui cg clamav cli cracklib crypt cups curl dbus dga dri dssi dts dvd dvdr dvdread eds en en_GB encode evo examples fbcon ffmpeg flac flash fortran ftp gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv icq ieee1394 imap imlib ipv6 isdnlog jack java javascript joystick jpeg jpeg2k ladcca lash lcms libvisual live lmsensors mad matroska midi mikmod mime ming mmx mng mono mp3 mpeg msn mudflap mysqli mythtv nas ncurses nls nptl nptlonly nsplugin oav ode offensive ofx ogg oggvorbis openal openexr opengl openmp pam pcre pdf perl php png pop pop3 portaudio pppd python qt3 quicktime readline reflection samba sdl session skins sndfile spell spl srt sse sse2 ssl startup-notification stream svg tcpd theora tiff tk truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd verse videos visualization vlm vorbis vst wifi win32codecs wmf wxwindows x86 xanim xine xml xorg xosd xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="i810"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTSCode: Select all
latitude paulw # env | grep crystal
CRYSTAL_CONFIG=/etc/crystalspace-1.2
CRYSTAL_PLUGIN=/usr/lib/crystalspace-1.2
I've been following the simple1 tutorial, and it just will not compile using either jam OR make.
Code: Select all
latitude engdemo1 # jam simple1
Jamfile: No such file or directory
don't know how to make simple1
...found 1 target(s)...
...can't find 1 target(s)...Code: Select all
latitude engdemo1 # make simple
g++ simple.cpp -o simple
In file included from simple.cpp:1:
simple.h:4:26: error: crystalspace.h: No such file or directory
In file included from simple.cpp:1:
simple.h:6: error: expected class-name before ',' token
simple.h:7: error: expected class-name before '{' token
simple.h:9: error: ISO C++ forbids declaration of 'csRef' with no type
simple.h:9: error: expected ';' before '<' token
simple.h:10: error: ISO C++ forbids declaration of 'csRef' with no type
simple.h:10: error: expected ';' before '<' token
simple.h:11: error: ISO C++ forbids declaration of 'csRef' with no type
simple.h:11: error: expected ';' before '<' token
simple.h:12: error: ISO C++ forbids declaration of 'csRef' with no type
simple.h:12: error: expected ';' before '<' token
simple.h:13: error: ISO C++ forbids declaration of 'csRef' with no type
simple.h:13: error: expected ';' before '<' token
simple.h:24: error: 'iEvent' has not been declared
simple.h:27: error: expected identifier before string constant
simple.h:27: error: expected ',' or '...' before string constant
simple.h:27: error: ISO C++ forbids declaration of 'CS_EVENTHANDLER_NAMES' with no type
simple.h:28: error: expected ';' before 'CS_EVENTHANDLER_NIL_CONSTRAINTS'
simple.h:29: error: expected `;' before '}' token
simple.cpp:3: error: 'CS_IMPLEMENT_APPLICATION' does not name a type
simple.cpp:22: error: 'bool Simple::OnKeyboard' is not a static member of 'class Simple'
simple.cpp:22: error: 'iEvent' was not declared in this scope
simple.cpp:22: error: 'ev' was not declared in this scope
simple.cpp:23: error: expected ',' or ';' before '{' token
make: *** [simple] Error 1#include <crystalspace.h>
to
#include <crystalspace-1.2/crystalspace.h>
it then picks up the header file, goes CRAZY and fails on every other dependency called via crystalspace.h as file not found and failes...
I've also used the createproject.sh script, and that fails too...
Code: Select all
latitude engdemo1 # ./createproject.sh simple1
Failed to locate support resources (autoconf, jam, msvcgen)!walktest does run fine, until it crashes due to this (silly laptop graphics)
Code: Select all
walktest: intel_batchbuffer.c:145: intel_flush_inline_primitive: Assertion `intel->prim.primitive != ~0' failed.
Aborted
