Mac Bundle

Started by mhatzitaskos, November 04, 2005, 11:05:33

Previous topic - Next topic

mhatzitaskos

Hi,

I created strategic tetris on a windows pc and have also tryed to create a mac bundle. I dont know if it runs since I dont have a mac. Can someone plase try it out for me? Also can you please change my StrategicTetris.ico to .icns so that it works?

The URL of the bundle in .zip is:
donut.spitaki.org/demos/StrategicTetrisDemo_MacOSX.zip

The game begins with a 800x600x16 resolution, full screen. I hope that does not present a problem

Thank you,
Donut

ThorPrime

I'm surprised no one has replied...

the game exits after startup with the following error left in the console:

[LaunchRunner Error] The main class "classes.Game" could not be found.
[JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
Exception in thread "main" java.lang.NullPointerException
   at apple.launcher.LaunchRunner.run(LaunchRunner.java:85)
   at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
   at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

This is because your Info.plist incorrectly tries to load $JAVAROOT/classes
switching it to $JAVAROOT/classes/classes.jar gets to the next step

The game now stars, goes full screen.  Creates two .hs files and dies with
org.lwjgl.LWJGLException: Could not load devil library.
   at org.lwjgl.devil.IL.nCreate(Native Method)
   at org.lwjgl.devil.IL.create(IL.java:599)
   at classes.Game.i(Unknown Source)
   at classes.Game.a(Unknown Source)
   at classes.Game.main(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
       at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
   at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
   at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)


This I can't really help with unless I can get a look at the code prob.
I also converted you .ico to an .icns, but I can't really attach it to the forum.
Anyhow, good luck

Matzon

There are known issues with devil on Mac. Specifically using ilut causes a native crash. It's an internal devil on mac issues that we cannot fix.
there is also an issue with loading it, due to dependencies:
http://lwjgl.org/forum/viewtopic.php?t=1095

All of this is resolvable (and may or may not already be resolved on linux, I keep forgetting numberR's status on this (not that he's dedicatetetly working on it, he's just the only one to actually have looked at the issue besides me.). The mac solution is the same, create a static library, however no such luck in building one yet.

The issue is tracked in http://lwjgl.org/forum/viewtopic.php?t=1237 and marked as needs help, but no one has actively come forth yet to help out...