Author Topic: Linux : "Couln't find mesh" and fails start  (Read 1500 times)

togedes

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Linux : "Couln't find mesh" and fails start
« on: January 28, 2005, 08:39:11 pm »
Hello

I installed the linux version and run the updater : the updater say nows it\'s up-to-date.
When i launch the game, i can log in but i have an error message : \"Couldn\'t find mesh ! Please run the updater.\"
The model of my charachter is not displayed...

I have a mandrake 10.2.

Thanks for the tips.

Diamondcite

  • Hydlaa Resident
  • *
  • Posts: 165
    • View Profile
(No subject)
« Reply #1 on: January 29, 2005, 05:29:19 am »
Do you have all your paths set?
do the following and paste the results if you want.
echo $CRYSTAL
echo $CEL
echo $CSCONFPATH
echo $LD_LIBRARY_PATH

They should all contain something.
I like taking things literally, going overboard is fun! Now... why do I keep getting odd looks?

altair

  • Traveller
  • *
  • Posts: 19
    • View Profile
(No subject)
« Reply #2 on: January 29, 2005, 07:44:57 am »
Quote
Originally posted by togedes
Hello

I installed the linux version and run the updater : the updater say nows it\'s up-to-date.
When i launch the game, i can log in but i have an error message : \"Couldn\'t find mesh ! Please run the updater.\"
The model of my charachter is not displayed...

I have a mandrake 10.2.

Thanks for the tips.


This link contains instructions on how to set the paths:

http://laanx.fragnetics.com/gentoo.php

grayFalcon

  • Traveller
  • *
  • Posts: 28
    • View Profile
(No subject)
« Reply #3 on: January 29, 2005, 05:46:30 pm »
As far as I understand, you just need to run the updater ;)
(go to the ps main dir and run ./updater)
In my case, if I create a models directory in the ps main dir, and unzip the models.zip from the update server in there, the problem disappears (in my case it\'s just to be replaced by another bug, but that\'s probobaly because I\'m messing around a bit... I don\'t have any updater, you probobaly do).

togedes

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #4 on: January 31, 2005, 01:08:43 pm »
Yes, the paths are correctly set.
And i have already updated and all is up to date according to the updater.

The error message in console is :
Failed to load mesh factory from file /planeshift/models/enkim/enkim.cal3d

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #5 on: January 31, 2005, 01:33:37 pm »
Check if sprcal3d.so exists in your CS dir. If it does, run ldd on it to see if libcal3d is loaded. If not, you can try the following:
If you did a make install with cal3d, run ldconfig as root and check sprcal3d.so with ldd again if libcal3d is loaded.
If you didn\'t use make install, set LD_LIBRARY_PATH to src/.libs/ in your cal3d source dir. Then try ldd again.


Back to Planeshift again \\o/

togedes

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #6 on: January 31, 2005, 06:33:17 pm »
Thanks for the tip, it was a bad export\" command. Now ldd says that libcal3d is correctly linked.

The game works well now, except i have no sound.
Software mode eats all CPU and i can\'t find a mode where the sound works...

I think a readme or howto should be send inside the linux zip file.

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #7 on: January 31, 2005, 06:44:05 pm »
Try to enable the combat messages in the chat filter options. I had the same issue too and that solved it.


Back to Planeshift again \\o/

Gauss_Cleric

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #8 on: February 12, 2005, 09:12:32 pm »
Hi there, this is my first post in this forum, so I\'ll tell the whole story.

I have a gentoo box and after downloading the linux client wich worked alright but witch suffered from the known updater problem (for some reason the updater doesn\'t work as it should and you end up with a different version of planeshift than the server), I tried the gentoo guide in

http://laanx.fragnetics.com/gentoo.php

to build from the source.

Well, when I\'m building the CS (the 3D engine) I get this error when compiling sprcal3d:


C++ ./out/linuxx86/debug/plugins/mesh/sprcal3d/object/sprcal3d.o
plugins/mesh/sprcal3d/object/sprcal3d.cpp: In member function `bool
   csSpriteCal3DMeshObjectFactory::LoadCoreSkeleton(iVFS*, const char*)\':
plugins/mesh/sprcal3d/object/sprcal3d.cpp:297: error: cannot convert `
   CalCoreSkeletonPtr\' to `CalCoreSkeleton*\' in initialization
plugins/mesh/sprcal3d/object/sprcal3d.cpp: In member function `int
   csSpriteCal3DMeshObjectFactory::LoadCoreAnimation(iVFS*, const char*, const
   char*, int, float, float, float, int, int, int, bool)\':
plugins/mesh/sprcal3d/object/sprcal3d.cpp:324: error: cannot convert `
   CalCoreAnimationPtr\' to `CalCoreAnimation*\' in initialization
plugins/mesh/sprcal3d/object/sprcal3d.cpp: In member function `int
   csSpriteCal3DMeshObjectFactory::LoadCoreMesh(iVFS*, const char*, const
   char*, bool, iMaterialWrapper*)\':
plugins/mesh/sprcal3d/object/sprcal3d.cpp:365: error: cannot convert `
   CalCoreMeshPtr\' to `CalCoreMesh*\' in initialization
plugins/mesh/sprcal3d/object/sprcal3d.cpp: In member function `int
   csSpriteCal3DMeshObjectFactory::LoadCoreMorphTarget(iVFS*, int, const char*,
   const char*)\':
plugins/mesh/sprcal3d/object/sprcal3d.cpp:404: error: cannot convert `
   CalCoreMeshPtr\' to `CalCoreMesh*\' in initialization

    g++ -c -o ./out/linuxx86/debug/plugins/mesh/sprcal3d/object/sprcal3d.o -I. -I./include -I./include -Wall -Wno-unknown-pragmas -pipe -march=i586 -I/usr/local/include -fno-exceptions -g3 -DCS_DEBUG -fPIC -I/usr/local/games/planeshift/cal3d/src/cal3d/.libs/  plugins/mesh/sprcal3d/object/sprcal3d.cpp

...failed C++ ./out/linuxx86/debug/plugins/mesh/sprcal3d/object/sprcal3d.o ...
...skipped sprcal3d.so for lack of sprcal3d.o...
Copy sprcal3d.csplugin


As you can see in the first lines, It appears there a real bug in the source. In continues to do the make but you\'ll end without sprcal3d.so wich ultimately results in the \"failed to load crystal.pluging.mesh.loader\" log error when you run psclient.

I would like sugestions as to what to do next. I really want to play this game (it\'s promising).

Are there release dates for a corrected updater so I don\'t need to build everything from CVS source?

I\'ll copy this post in a new topic since this error generates the \"Couldn\'t find mesh error\" but really belongs somewhere else.

Cheers, and sorry for the long post.

Thomas Egi

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #9 on: February 13, 2005, 01:33:34 am »
okay.. this is my 3rd day with some lovely PS-sources =)

i got the same error  messages while compiling
it skipped the file because of the plugin stuff?

 
..failed C++ ./out/linuxx86/debug/plugins/mesh/sprcal3d/object/sprcal3d.o ...
...skipped sprcal3d.so for lack of sprcal3d.o...

i really dont undestand it. the client was fine till the menue with the carackter creation. after linking the stuff like written in the gentoo&debian tut it just shows the startup-splash and hung up.

in the end i got this console output when i try to run the os client:

[root@localhost planeshift]# ./psclient
crystalspace.maploader: Could not get model converter
crystalspace.maploader: Could not get model crossbuilder
 ---some stuff aboutmy hardware and the engine an some deactivated LOG things--
crystalspace.pluginmgr.loadplugin:
  WARNING: could not load plugin \'cel.physicallayer\'
Couldn\'t load plugin for PlLayer.

i\'m really sorry for bothering you but i guess i am to stupid to solve this stuff myself =/

ps: sry 4 completly editing my post^^
« Last Edit: February 13, 2005, 01:57:34 am by Thomas Egi »

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #10 on: February 13, 2005, 01:42:03 am »
Check if /usr/local/lib is in your /etc/ld.so.conf. If not, add it and run ldconfig. Then it should work.

Edit: with \"it should work\" I mean re-running configure. It should find the cal3d lib then.
« Last Edit: February 13, 2005, 01:43:13 am by Karosh_Steinkatz »


Back to Planeshift again \\o/

Thomas Egi

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #11 on: February 13, 2005, 02:09:50 am »
thx4aour advice.. in the meantime i copied the file from the \"oficial linux installer-installation\" in the CS directory. ldd found the file but the result was same as before. when i reconfigure the cs stuff it tells me :

..failed C++ ./out/linuxx86/debug/plugins/mesh/sprcal3d/object/sprcal3d.o ...
...skipped sprcal3d.so for lack of sprcal3d.o...
...failed updating 1 target(s)...
...skipped 1 target(s)...

exactly the same like the first time.
maybe the bug is somewhere else?...
tomorrow i\'ll try to mix up the official and cvs version.. think of the working engine with the up-to-date planshift sources.

miLosh

  • Hydlaa Resident
  • *
  • Posts: 111
    • View Profile
    • The Community of Vaalnor
(No subject)
« Reply #12 on: February 13, 2005, 05:23:20 am »
i have the same problem. about 3 hours ago i checked out the sources from CVS and compiled everything - sprcal3d.so was missing and i got the \'missing mesh\' error. as thomas did i copied the sprcal3d.so from the official linux installer to the CS directory and the mesh was loaded.

now i can connect to the server and see even my character, but it crashes at the beginning of the load screen:


OnDrawingFinished:
  Going to load and unload maps
Before LoadMapFile of /planeshift/world/jayose: time=45663
After LoadMapFile: time=46202
After cur_region->Prepare: time=46277
After Precache: time=46527
After SetupWorldColliders: time=46585
Region jayose loaded successfully.
Segmentation fault

im running out of ideas. tried several \'old\' CS/cal3d/cel installations i still have on the system but it crashes always at the same place and the updated official linux installer still gets the \'wrong version\' message - any hints?

there is more to find than you can lose...

Quote from: Phinehas
Lishom and Jekkar won't rid themselves of me that easily...

Thomas Egi

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #13 on: February 13, 2005, 01:30:14 pm »
mixing up the different instalations didn\'t work :(
i tried everything but i keep getting this sprcal3d.so ( sprcal3d.0 ) error. can some in the dev team please check these files?
... i wonder y the install script works fine. can someone post the commands executed by this install script?
i think there is something which isn\'t documented in the gentoo/debian how-to
thx a lot

edit: found the commands i was looking for. please pray...
« Last Edit: February 13, 2005, 01:48:30 pm by Thomas Egi »

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #14 on: February 13, 2005, 03:04:33 pm »
Since my installer is finally available, you might try it if you can\'t get it to work: http://www.planeshift3d.com/wbboard/thread.php?threadid=13494&boardid=33&styleid=3


Back to Planeshift again \\o/