Author Topic: initialization error  (Read 2963 times)

Ikarsik

  • Hydlaa Resident
  • *
  • Posts: 121
    • View Profile
(No subject)
« Reply #15 on: February 21, 2004, 06:09:31 pm »
so wait to use software rendering for planeshift i do
./psclient -video=software
?
also if DRI has a savage branch would that mean that it supported savae 4 (generic) chipset? or just savage and savage (generic) chipsets?

Ikarsik

  • Hydlaa Resident
  • *
  • Posts: 121
    • View Profile
(No subject)
« Reply #16 on: February 22, 2004, 12:41:15 am »
ok so now i get

[root@localhost planeshift]# ./psclient -video=software
NOTIFY: Using alternative 3D driver: crystalspace.graphics3d.software

planeshift.application.client:
  Planeshift Molecular Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.97 rdev [Unix-x86-GCC]
  psEngine initialized.
DLERROR (/home/craig/development/CS/sndmod.csplugin): libmikmod.so.2: cannot open shared object file: No such file or directory

crystalspace.pluginmgr.loadplugin:
  WARNING: could not load plugin \'crystalspace.sound.loader.mod\'
DLERROR (/home/craig/development/cel/pftest.csplugin): /home/craig/development/cel/pftest.so: undefined symbol: _ZN11celPcCommon14QueryInterfaceEji
  WARNING: could not load plugin \'cel.pcfactory.test\'

crystalspace.application.celtest:
  CEL \'cel.pcfactory.test\' plugin missing!


and then it just freezes on the loading screen using software renderer. im trying updating cel and cs now. my version of jam is 2.5 . ill also look at the python SDK thing. also how would having python make a difference if planeshift dosnt use it?


also if it is any help


[craig@localhost planeshift]$ ./pssetup
DLERROR (/home/craig/development/CS/aws.csplugin): /home/craig/development/CS/aws.so: undefined symbol: _Z6awslexP7YYSTYPE
WARNING: could not load plugin \'crystalspace.window.alternatemanager\'
Couldn\'t load iAws plugin!
Error initializing system!
« Last Edit: February 22, 2004, 12:45:31 am by Ikarsik »

vknecht

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #17 on: February 22, 2004, 05:13:53 pm »
I\'m getting CS/aws.so: undefined symbol: _Z6awslexP7YYSTYPE too; to get rid of it, go into CS/ directory and launch \"jam aws\"

Ikarsik

  • Hydlaa Resident
  • *
  • Posts: 121
    • View Profile
(No subject)
« Reply #18 on: February 23, 2004, 06:04:06 am »
[root@localhost planeshift]# ./pssetup
Crystal Space X windows driver
(Using SHM extension plugin)
Using 16 bit TrueColor visual
Using windowed mode 640x480 (internal rendering at 640x480).
Using truecolor mode with 2 bytes per pixel and 5:6:5 RGB mode.
        loading definitions file /this/data/config/psclient-setup.def...
        load successful (1 windows, 1 skins loaded.)
aws-debug: setting up global AWS palette...
aws-debug: finished palette setup.
Segmentation fault
 

hmm... running gdb gives me this

[root@localhost planeshift]# gdb pssetup
GNU gdb 5.3-25mdk (Mandrake Linux)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type \"show copying\" to see the conditions.
There is absolutely no warranty for GDB.  Type \"show warranty\" for details.
This GDB was configured as \"i586-mandrake-linux-gnu\"...
(gdb) run
Starting program: /home/craig/development/planeshift/pssetup
Crystal Space X windows driver
(Using SHM extension plugin)
Using 16 bit TrueColor visual
Using windowed mode 640x480 (internal rendering at 640x480).
Using truecolor mode with 2 bytes per pixel and 5:6:5 RGB mode.
        loading definitions file /this/data/config/psclient-setup.def...
        load successful (1 windows, 1 skins loaded.)
aws-debug: setting up global AWS palette...
aws-debug: finished palette setup.

Program received signal SIGSEGV, Segmentation fault.
0x4047960a in csGraphics2D::DrawLine(float, float, float, float, int) ()
   from /home/craig/development/CS/x2d.so
(gdb) bt
#0  0x4047960a in csGraphics2D::DrawLine(float, float, float, float, int) ()
   from /home/craig/development/CS/x2d.so
#1  0x40459160 in vtable for csRect () from /home/craig/development/CS/aws.so
Cannot access memory at address 0xce59
(gdb) Quit

i ran aws with jam.. it updated 4 targets.. so ya any ideas?

vknecht

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #19 on: February 23, 2004, 01:53:05 pm »
i\'m afraid i won\'t be able to help you with this...
Please tell us when/where you got CS & CEL, if these were snapshots or CVS export with -D or ... ?

Ikarsik

  • Hydlaa Resident
  • *
  • Posts: 121
    • View Profile
(No subject)
« Reply #20 on: February 23, 2004, 02:47:09 pm »
cvs like

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crystal login

enter password:

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crystal co CS

and like that for all of them

vknecht

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #21 on: February 23, 2004, 04:21:15 pm »
the needed detail was almost when you got them...
i\'ve just used these packages and could build PS :

http://crystal.sourceforge.net/cvs-snapshots/bzip2/cs-2004-02-23.093701.tar.bz2
(use jam aws trick)

(cvs login, then)
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cel export -D 2004-02-24 cel

those showed no problem at building stage for me (apart aws)

if you still get some cel missing symbol, make sure you rebuild it from clean state (ie. building, then updating, then re-building only modified files can lead to missing symbols issue)

anyway, when running almost up-to-date PS (recent anonymous cvs checkout), i get this when loggin on my local server:

planeshift.application.client:
  PSLoader: step 2: success
/usr/include/csutil/array.h:358:  failed assertion \'n >= 0 && n < count\'
trace/breakpoint trap

probably it\'s just temporary. Maybe someone of the staff could point out a date when all packages (CS+CEL+PS) are known to work together ?

last time i could get them all in sync and working was 20040203 but i didn\'t try later until now...

Ikarsik

  • Hydlaa Resident
  • *
  • Posts: 121
    • View Profile
(No subject)
« Reply #22 on: February 27, 2004, 05:51:41 pm »
so wait to get crystal space i use
cvs -d -z3:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crystal co -r2004-2-24 CS?

or do i just get the current snapshot?
« Last Edit: February 27, 2004, 05:52:36 pm by Ikarsik »

vknecht

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #23 on: February 28, 2004, 07:38:32 am »
I think you can use latest snapshots for both CS & CEL.
http://crystal.sourceforge.net/cvs-snapshots/
and
http://cel.sourceforge.net/cvs-snapshots/