Author Topic: Problem compiling planeshift-0.2.010FullSourceAndArt.tar.gz on linux -  (Read 574 times)

Athon Solo

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
I\'m compiling from the planeshift-0.2.010FullSourceAndArt.tar.gz package on Debian Sarge (last update: today). I\'ve come across a problem I can\'t find a fix to either on these forums or via Google.

I\'ve already got rid of the aws plugin problems that are already well documented here.

I\'ve also tried using gcc/cpp/g++ 3.2 instead of my systems default (3.3 I believe).

Quotes from running \'sh build.sh\':
Code: [Select]
checking for libode... yes
checking if libode is sufficiently recent... yes

Code: [Select]
MkDir1 ./out/linuxx86/optimize/plugins/physics/odedynam
C++ ./out/linuxx86/optimize/plugins/physics/odedynam/odedynam.o
plugins/physics/odedynam/odedynam.cpp: In constructor
   `csODERigidBody::csODERigidBody(csODEDynamicSystem*)\':
plugins/physics/odedynam/odedynam.cpp:749: `dCreateGeomGroup\' undeclared (first
   use this function)
plugins/physics/odedynam/odedynam.cpp:749: (Each undeclared identifier is
   reported only once for each function it appears in.)
plugins/physics/odedynam/odedynam.cpp: In member function `bool
   csODERigidBody::AttachColliderMesh(iMeshWrapper*, const csOrthoTransform&,
   float, float, float)\':
plugins/physics/odedynam/odedynam.cpp:841: `dGeomGroupAdd\' undeclared (first
   use this function)

    g++-3.2 -c -o ./out/linuxx86/optimize/plugins/physics/odedynam/odedynam.o -Wall -Wno-unknown-pragmas -mcpu=pentiumpro -march=i686 -I/usr/local/include -fno-exceptions  -Iplugins/physics/odedynam -I./include -I. -I./include -I./plugins -I./apps -I./libs plugins/physics/odedynam/odedynam.cpp

...failed C++ ./out/linuxx86/optimize/plugins/physics/odedynam/odedynam.o ...
...skipped odedynam.so for lack of odedynam.o...
C++ ./out/linuxx86/optimize/plugins/reporter/reporter.o

Code: [Select]
Nasm ./out/linuxx86/optimize/plugins/video/renderer/software/cpuid.o
plugins/video/renderer/software/i386/cpuid.asm:23: fatal: unable to open include file `cs.ash\'

  nasm -f elf -Iplugins/video/renderer/software -Iplugins/video/renderer/software/i386 -I./include -I. -I./include -I./plugins -I./apps -I./libs -o ./out/linuxx86/optimize/plugins/video/renderer/software/cpuid.o plugins/video/renderer/software/i386/cpuid.asm

...failed Nasm ./out/linuxx86/optimize/plugins/video/renderer/software/cpuid.o ...
Nasm ./out/linuxx86/optimize/plugins/video/renderer/software/scan16a.o
plugins/video/renderer/software/i386/scan16a.asm:23: fatal: unable to open include file `cs.ash\'

  nasm -f elf -Iplugins/video/renderer/software -Iplugins/video/renderer/software/i386 -I./include -I. -I./include -I./plugins -I./apps -I./libs -o ./out/linuxx86/optimize/plugins/video/renderer/software/scan16a.o plugins/video/renderer/software/i386/scan16a.asm

...failed Nasm ./out/linuxx86/optimize/plugins/video/renderer/software/scan16a.o ...
Nasm ./out/linuxx86/optimize/plugins/video/renderer/software/scan32a.o
plugins/video/renderer/software/i386/scan32a.asm:23: fatal: unable to open include file `cs.ash\'

  nasm -f elf -Iplugins/video/renderer/software -Iplugins/video/renderer/software/i386 -I./include -I. -I./include -I./plugins -I./apps -I./libs -o ./out/linuxx86/optimize/plugins/video/renderer/software/scan32a.o plugins/video/renderer/software/i386/scan32a.asm

...failed Nasm ./out/linuxx86/optimize/plugins/video/renderer/software/scan32a.o ...
...skipped soft3d.so for lack of cpuid.o...
csConfigGen cs-config
Chmod1 cs-config
...failed updating 4 target(s)...
...skipped 2 target(s)...
...updated 633 target(s)...


make_distro.sh:
Code: [Select]
cp: cannot stat `cel/*.so\': No such file or directory
cp: cannot stat `planeshift/*so\': No such file or directory
cp: cannot stat `planeshift/psclient\': No such file or directory
cp: cannot stat `planeshift/pssetup\': No such file or directory
cp: cannot stat `planeshift/updater\': No such file or directory


Does anyone know a solution?
If you need any more information, please don\'t hesitate to ask.

Athon Solo
« Last Edit: December 04, 2004, 03:29:42 am by Athon Solo »

Moogie

  • Forum Legend
  • *
  • Posts: 4551
  • Artist/Flash Animator
    • View Profile
(No subject)
« Reply #1 on: December 04, 2004, 04:04:57 am »
Is this the tar available from the website? You shouldn\'t use that. Get the CVS instead. :)

Ginga

  • Traveller
  • *
  • Posts: 17
    • View Profile
(No subject)
« Reply #2 on: December 04, 2004, 04:49:01 am »
Quote
Originally posted by Athon Solo
I\'m compiling from the planeshift-0.2.010FullSourceAndArt.tar.gz package on Debian Sarge (last update: today). I\'ve come across a problem I can\'t find a fix to either on these forums or via Google.
...


I could compile it doing some \"right\" fixes (in example, you get rid of nasm problems editing the file and harcoding the full path of the \"missing\" files) and I had to do some \"blind\", bad fixes (commenting out functions that were not present in CS as that dGeomGroupWhatever, in the versions that that guide recommends -- seems that there\'s no such function and I don\'t know which are the correct fixes).

but I ended up with a client that crashes in a few minutes, if not loading the world.. so I gave up.

you can\'t use the CVS head version either: there is no public server available for this version at the moment. I think that you (we) couldn\'t do much till the next release in the next days/weeks/months/.../ ;)

Athon Solo

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #3 on: December 04, 2004, 11:30:03 am »
Oh well, I\'ll give the precompiled binaries a try for now then and wait patiently for 0.3.

Thanks for your help

Athon Solo