Lost Labyrinth working with mac compiler?

Mac OSX specific forum
User avatar
Brujah
Enthusiast
Enthusiast
Posts: 237
Joined: Mon Nov 03, 2003 7:45 pm
Location: Germany
Contact:

Lost Labyrinth working with mac compiler?

Post by Brujah »

Our game is working fine with linux and windows.
I would like to know if its also possible to compile it for Mac OS.
Could anyone that owns a mac try this for us?
Get the sourcecode from the svn repository here:
www.sf.net/projects/lostlaby

The file to compile should be pb/laby.pb

We have some compiler switches to handle some stuff different on linux and windows. Maybe there has to be more stuff for mac os. So if you make these changes you would really help us :D
User avatar
michel51
Enthusiast
Enthusiast
Posts: 290
Joined: Mon Nov 21, 2005 10:21 pm
Location: Germany

Re: Lost Labyrinth working with mac compiler?

Post by michel51 »

Brujah wrote:Our game is working fine with linux and windows.
I would like to know if its also possible to compile it for Mac OS.
Could anyone that owns a mac try this for us?
Get the sourcecode from the svn repository here:
www.sf.net/projects/lostlaby

The file to compile should be pb/laby.pb

We have some compiler switches to handle some stuff different on linux and windows. Maybe there has to be more stuff for mac os. So if you make these changes you would really help us :D
Hi Brujah,

it's not possible to compile laby.pb on Mac with actual code.
The command "ExamineJoystick()" is supported by Windows and Linux only, NOT Mac. So the compilation stops at this point.

Don't know how to change, because there are a few "ExamineJoystick()" within code.
Eventually there are other commands not supported by Mac-version of PB.
michel51

Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta
User avatar
michel51
Enthusiast
Enthusiast
Posts: 290
Joined: Mon Nov 21, 2005 10:21 pm
Location: Germany

Re: Lost Labyrinth working with mac compiler?

Post by michel51 »

Hi Brujah,
there are missing the folders "tiles" and "sounds" in source code (laby_source_2.9.1.tar.gz).
Can you send me the folders with the used items? Via PN !?
May be this is the reason why the compilation stops at "genlaby" ???

So I stop trying on this point.

BTW, the constant #PB_2DDrawing_Transparent is not supported on Mac, don't know why ?!
michel51

Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta
User avatar
Brujah
Enthusiast
Enthusiast
Posts: 237
Joined: Mon Nov 03, 2003 7:45 pm
Location: Germany
Contact:

Post by Brujah »

So we have to exclude all joystick stuff for mac os.

These two folders should not be necessary for compiling laby.
But you can still get them as extra downloads from the page.
(File is named resources)

Why the Constant #PB_2DDrawing_Transparent does not exist I do not know. I have to check myself where in the code its used.
User avatar
michel51
Enthusiast
Enthusiast
Posts: 290
Joined: Mon Nov 21, 2005 10:21 pm
Location: Germany

Post by michel51 »

Brujah wrote:So we have to exclude all joystick stuff for mac os.
You can also put the joystick stuff into a compilerIf sequence.
Why the Constant #PB_2DDrawing_Transparent does not exist I do not know. I have to check myself where in the code its used.
Take a look into the help, last point (Overview about system depended commands or so !? ).
There you can see, that Joystick (and others) is not available on Mac and that Screenoutput() is not supported on Mac at this time, but without compiler error.
This list will be helpfull.

I think, porting laby to Mac is not so easy you think :(
michel51

Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta
User avatar
Brujah
Enthusiast
Enthusiast
Posts: 237
Joined: Mon Nov 03, 2003 7:45 pm
Location: Germany
Contact:

Post by Brujah »

Fear so. As I do not own a mac it will not be possible for me to do that.
It takes too long to fix something and wait until somebody reports back the errors from here.

Maybe there is somebody reading this that likes to change the source to make it run?
(Would be one more game for the mac ^^)
oliv
User
User
Posts: 42
Joined: Sun Aug 24, 2003 10:11 am
Location: France

Post by oliv »

I don't remember but I tried to compile your game when you request it and I have a different issue than Michel51 : I comment all part which can't be use like joystick commands, but the compiler hangs at 22000 lines after including the file 'procs_graphics.pbi'.
Michel51, have you got this error ?
User avatar
michel51
Enthusiast
Enthusiast
Posts: 290
Joined: Mon Nov 21, 2005 10:21 pm
Location: Germany

Post by michel51 »

oliv wrote:I don't remember but I tried to compile your game when you request it and I have a different issue than Michel51 : I comment all part which can't be use like joystick commands, but the compiler hangs at 22000 lines after including the file 'procs_graphics.pbi'.
Michel51, have you got this error ?
Yes, I remember that the compiler was hanging at this point too. I've finished trying. I think, in this pbi is a command that the mac compiler cannot import, but I could'nt find out.
michel51

Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta
Post Reply