Author Topic: Building PS on mac OSX 10.3  (Read 5254 times)

idapiman

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Building PS on mac OSX 10.3
« on: February 04, 2004, 08:05:25 pm »
I have been able to build CS, cel, cal3d, (at least to the point that I can run the CS walktest and I can attempt to build PS.

All source is from current CVS gets.

When building PS with jam I get a bunch of skipped steps, and then a bunch of errors.  

...skipped psserver.app for lack of ...
...skipped psserver for lack of psserver.app...
...skipped psclient.app for lack of ...
...skipped psclient for lack of psclient.app...
...skipped pssetup.app for lack of ...
...skipped pssetup for lack of pssetup.app...
...skipped texparse.app for lack of ...
...skipped texparse for lack of texparse.app...
...skipped ase_2_spr.app for lack of ...
...skipped ase_2_spr for lack of ase_2_spr.app...
...skipped updater.app for lack of ...
...skipped updater for lack of updater.app...
...skipped psnpcclient.app for lack of ...
...skipped psnpcclient for lack of psnpcclient.app...

errors from csutli files
starting with
CS/include/csutil/csunicode.h:39:4: #error Unknown wchar_t size.:


Is anyone in the dev team building on OSX?

thanks
-idapiman

Xandria

  • Hydlaa Citizen
  • *
  • Posts: 453
    • View Profile
(No subject)
« Reply #1 on: February 05, 2004, 04:46:00 am »
I asked Vegeance about it, and here\'s what he had to say:

(19:44:36) Vengeance: There are no regular Mac devs
(19:44:56) Vengeance: We have 3-4 people who sometimes come here and build on Mac and supposedly it works.

Your best bet would be to try to log into IRC (#planeshift on irc.freenode.net) until one of these \"Mac devs\" come on, and ask them what steps need to be taken to get it to work.

How I set my timezone:

ln -sf /usr/share/zoneinfo/Antarctica/Davis /etc/localtime

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #2 on: February 05, 2004, 07:51:36 pm »
I occasionally build (or try to build) PS for mac to varying degrees of completion.  I just did a fresh checkout of cs, cel, and ps last night, so I\'ll try to do a rebuild (it\'s been a couple months) and see if I can help you.

For the record, I\'m using 10.2.8 and gcc 3.3 - I\'m not sure if 10.3 does anything weird with header files.  By the way, does Crystal Space seem to work \"normally\" for you (i.e. no weird colours...)?

Thanks,
Daniel
Quidquid latine dictum sit, altum sonatur.

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #3 on: February 05, 2004, 08:19:32 pm »
Anonymous CVS as of last night is broken: it needs Eric Sunshine\'s most recent fixes to the mk/jam/macosx.jam file from crystal space.
If you\'re running into stuff like this:

./mk/jam/macosx.jam: line 71: syntax error at keyword }
./mk/jam/msvcgen.jam: line 34: syntax error at keyword {
./mk/jam/msvcgen.jam: line 376: syntax error at keyword }
warning: unknown rule ConstructLibraryTarget
./mk/jam/macosx.jam: line 72: syntax error at keyword }
warning: unknown rule ConstructLibraryTarget
... and more like that

then you need to copy cs/mk/jam/macosx.jam from a very recent copy of crystalspace into planeshift/mk/jam/macosx.jam
Quidquid latine dictum sit, altum sonatur.

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
(No subject)
« Reply #4 on: February 05, 2004, 08:33:05 pm »
dfryer Ok, thanks for the heads up. I will do this when I get home this evening.
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #5 on: February 05, 2004, 08:52:19 pm »
FWIW, I also get these:
AppExe psclient.app/Contents/MacOS/psclient
ld: Undefined symbols:
psContain(csString const&, csArray, csArrayMemoryAllocator > const&)

(I haven\'t looked to see where this is defined)

src/common/psprop/character/pschardata.cpp:62: error: cannot allocate an object
   of type `celPcCharacterData\'
src/common/psprop/character/pschardata.cpp:62: error:   because the following
   virtual functions are abstract:
/Users/dfryer/source/cel/include/physicallayer/propclas.h:221: error:   virtual
   bool iCelPropertyClass::PerformAction(unsigned int, iCelParameterBlock*)

(Is this just a freaky mac build problem, or broken CVS? Once again, I haven\'t looked yet)

and finally, dbmysql.csbundle must be directly linked with libz in order to succeed under Mac OS X

idapiman, I haven\'t encountered your csunicode.h wchar_t problem, all though it rings a bell.  It may be that the ./configure process is slightly off, or some environment variable isn\'t being properly set.  I\'ll have to check and see if I\'ve made any bad and sneaky modifications to my codebase which are causing the problem to be glossed over.

Edit:  Heh, you\'ll have to translate the smilies :)

idapiman: btw, I noticed you were using \"make\" for crystal space.  I believe the jam system is better-maintained (although I\'m not entirely sure)
If you\'re still getting dark rooms in walktest, maybe walktest --relight would help (can\'t remember whether it does that automatically now...)
« Last Edit: February 05, 2004, 11:46:23 pm by dfryer »
Quidquid latine dictum sit, altum sonatur.

idapiman

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
CS walktest colors....
« Reply #6 on: February 06, 2004, 04:47:00 pm »
dfryer,

I don\'t get strange colors when I use walktest, the relight option doesn\'t seem to change the whitepoint at all, but the software renderer looks ok.


I hope to devote some time to tracking down the compile errors, it looks like mine are due to some missing paths or something.  

I\'ll let the forum know what my results are.

-ipdaiman

idapiman

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
making progress
« Reply #7 on: February 06, 2004, 07:31:25 pm »
I am making progress by editing the configure script to include more of the stuff from the CS configure file.  I also had a different sql install path.   I still have errors, but I feel like I can get this working with a couple hours of work this weekend.

If there are other changes I need let em know, otherwise I\'ll post what I had to change to get a successful build.

orogor

  • Hydlaa Resident
  • *
  • Posts: 99
    • View Profile
(No subject)
« Reply #8 on: February 10, 2004, 01:48:21 pm »
Good luck on getting PS working with mac , they are a lot of peoples waiting for it , so i sincerely hope you will succed.

I _strongely_ recommend you to join #planeshift and #crystalspace on the freenode server , because the devs comes here at less once a day and it really easy to catch em.
I did finaly found a work :))

yvendill

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
(No subject)
« Reply #9 on: February 17, 2004, 11:18:02 am »
I am happy than ppl take care of PS on Mac. I am not a Dev but if I can help just tell me.

:) it\'s nice to be important .... but it\'s more important to be nice :)

aircows

  • Traveller
  • *
  • Posts: 19
    • View Profile
(No subject)
« Reply #10 on: March 11, 2004, 06:26:17 am »
Same here, my Apple is at your disposal.  So long as whatever you want tested doesn\'t completely ruin the system.

EDIT:  yeah, thinking about it, i probably should have put up my system specs too, well here they are, straight from System Profiler :)

Hardware Overview:

  Machine Model:  PowerBook G4 (12 inch)
  CPU Type:   PowerPC G4  (3.3)
  Number Of CPUs:  1
  CPU Speed:   867 MHz
  L2 Cache (per CPU):    256 KB
  Memory: 640 MB (PC2100)
  Bus Speed: 133 MHz
  Boot ROM Version:  4.55f4

GeForce4 MX:

  Type:   display
  Bus:   AGP
  VRAM (Total):  32 MB
  Vendor:  nVIDIA (0x10de)
  Device ID: 0x0179
  Revision ID:    0x00a5
  ROM Revision:   2030

System Software Overview:

  System Version:  Mac OS X 10.3.2 (7D24)
  Kernel Version: Darwin 7.2.0

A tad bit to much if you ask me, but if for some sick reason you actually need more info than that, my email is aircows{AT}yahoo.com
« Last Edit: March 14, 2004, 01:47:30 am by aircows »
==============================================
|||  And on the 8th day, God created the Mac, and it was good.  |||
==============================================

Krispy

  • Traveller
  • *
  • Posts: 10
    • View Profile
(No subject)
« Reply #11 on: March 12, 2004, 04:32:06 pm »
I too would love to help Beta Test the OS X release. If you need them, here are my system specs:
 
  Machine Model: Power Mac G5
  CPU Type: PowerPC 970  (2.2)
  Number Of CPUs:   2
  CPU Speed: 2 GHz
  L2 Cache (per CPU):  512 KB
  Memory: 1 GB
  Bus Speed:    1 GHz
  System:   Mac OS 10.3.2
  Graphics Card: ATI Radeon 9600 Pro
  Monitor: Viewsonic P95f+b
 
*note* If you\'re looking for a monitor, this one kicks. It can support up to 2048 x 1536 at 60 Hertz, and 1280 x 960 at an amazing 100 Hertz.
And it\'s black!
« Last Edit: March 12, 2004, 04:33:17 pm by Krispy »

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #12 on: March 13, 2004, 10:30:27 pm »
Thanks Krispy, some time closer to the CB release (hopefully before, but that\'s up to the devs) I\'d like to get a mac distribution together.  Your machine would give us a pretty good upper limit on the expected performance :)
Quidquid latine dictum sit, altum sonatur.

Sonikusan

  • Traveller
  • *
  • Posts: 14
    • View Profile
(No subject)
« Reply #13 on: March 17, 2004, 04:38:45 am »
Sign me up, bebe!

G3 @ 800Mhz
ATI RADEON 9500
360Mb Ram

*Anxiety*

Oranus

  • Traveller
  • *
  • Posts: 18
    • View Profile
(No subject)
« Reply #14 on: March 19, 2004, 02:44:58 am »
Well, as long as we\'re going for Mac OS X sign-ups, I\'d love to test as well. I\'ve got:

Proccessor: G4 800mhz
RAM: 512mb
OS: Mac OS 10.3.3
Graphics: GeForce 4MX

Seeya,

-Oranus
Planeshift version: PlaneShift_CBV0.3.002
OS: 10.3.6
Computer: 800Mhz iMac 17\"Flat Pannel
Ram : 512 MB
Video Card: NVidia GForce4 MX, 32MoVRAM

Client setup: Default Small Screen