Author Topic: Client Compile  (Read 731 times)

252-rer

  • Traveller
  • *
  • Posts: 10
    • View Profile
Client Compile
« on: February 09, 2010, 02:03:45 am »
I am compiling the svn client and im having some problems with various things. I didnt see any way of cross compiling a windows binary from linux in the compile guide so im using MSVC 9.0. The windows guide has a random link to the nvidia toolkit listed as needed in the linux build but is just a random link under svn in the windows guide(doesnt seem to be needed?). The win32libs folder has changed to winlibs\x86 and im guessing x64 for crystal space. There are then some xcopy commands which are odd considering the MSVC interface that are out of date crystalspace-1.4-vc9_d.dll instead of crystalspace-1.9-vc9.dll because there is no _d dll which then begs whether to use libcal3d-csvc9_d.dll or libcal3d-csvc9.dll.

But then after all this it seems to compile ok and after moving the 5.1.1 art over to the folder the client loads up and instantly crashing stating in the log:
Mon Feb 08 22:33:22 2010, <..\..\src\common\paws\pawsimagedrawable.cpp:66 pawsImageDrawable::PreparePixmap SEVERE>
Mon Feb 08 22:33:22 2010, Could not open image: >/planeshift/materials/wetstone01_icon.png<
Mon Feb 08 22:33:22 2010, <..\..\src\common\paws\pawsimagedrawable.cpp:66 pawsImageDrawable::PreparePixmap SEVERE>
Mon Feb 08 22:33:22 2010, Could not open image: >/planeshift/materials/wetstone02_icon.png<
Mon Feb 08 22:33:23 2010, <..\..\src\common\paws\pawsimagedrawable.cpp:66 pawsImageDrawable::PreparePixmap SEVERE>
Mon Feb 08 22:33:23 2010, Could not open image: >/planeshift/materials/bread_white01_icon.dds<
Mon Feb 08 22:33:23 2010, <..\..\src\common\paws\pawsimagedrawable.cpp:66 pawsImageDrawable::PreparePixmap SEVERE>
Mon Feb 08 22:33:23 2010, Could not open image: >/planeshift/materials/ore01g_icon.dds<

Now in the materials.zip in the art folder there is a wetstone01_icon.dds, wetstone02_icon.dds, bread_white01a-icon.dds and up to ore01f_icon.dds. It seems that the art has either changed or is new in 5.2 but i cant find it in any of the svn or 5.1.1 client files.

LigH

  • Forum Legend
  • *
  • Posts: 7096
    • View Profile
Re: Client Compile
« Reply #1 on: February 09, 2010, 02:24:13 am »
About the image errors: Your compile is fine. Even the release always shows this kind of errors.

I wonder why, because once I reworked the image list, and I thought I (suggested to ~ or even) removed those outdated lines.
__

About the compiling itself: Did you follow the "Compiling guide" which is linked in the topic of the IRC channel "#planeshift-build"? If it documents to install CS libs 1.4, then it means 1.4, even though 1.9 might be the most recent.
« Last Edit: February 09, 2010, 02:27:05 am by LigH »

Gag Harmond
Knight and Ambassador
The Royal House of Purrty

252-rer

  • Traveller
  • *
  • Posts: 10
    • View Profile
Re: Client Compile
« Reply #2 on: February 09, 2010, 03:02:15 am »
Ok i wonder why it still crashes everytime, as for the guide though at https://planeshift.svn.sourceforge.net/svnroot/planeshift/trunk/docs/compiling.html it says download 1.9_004 but only down in the xcopy it lists 1.4. Will try going back the the rev 33606 instead of latest 33658 of CS.

Well with rev 33606 as listed in the guide the client fails to build with error ..\..\src\client\pscelclient.cpp(1994) : error C2039: 'AbsoluteRescaleFactory' : is not a member of 'iSpriteCal3DFactoryState'        ..\CS\include\imesh/spritecal3d.h(97) : see declaration of 'iSpriteCal3DFactoryState'
« Last Edit: February 09, 2010, 04:41:38 am by 252-rer »

LigH

  • Forum Legend
  • *
  • Posts: 7096
    • View Profile
Re: Client Compile
« Reply #3 on: February 09, 2010, 04:44:54 am »
Don't miss to set up your matching build type in the header of this site before reading the guide.

"Live" help in the IRC channel is probably more efficient than this forum thread...

Gag Harmond
Knight and Ambassador
The Royal House of Purrty