Hi, I check out jmonkey to my eclipse ganymede workspace. The workspace is compiling, and I have modified the lwgl native library on the build path. Since the eclipse profile is ganymede it uses carbon for the windows. When I try to run a class for example (jmetest.TutorialGuide.HelloSimpleGame) but I dont see any windows or graphics after I run this class.
Any suggestions?
This is my stack trace:
Aug 8, 2009 7:20:03 PM com.jme.app.BaseGame start
INFO: Application started.
Aug 8, 2009 7:20:37 PM com.jme.system.PropertiesGameSettings <init>
INFO: PropertiesGameSettings created
Aug 8, 2009 7:20:37 PM com.jme.system.PropertiesGameSettings load
WARNING: Could not load properties. Creating a new one.
2009-08-08 19:21:46.051 java[368:80f] [Java CocoaComponent compatibility mode]: Enabled
2009-08-08 19:21:46.052 java[368:80f] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000
2009-08-08 19:22:38.005 java[368:14a03] *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x171270> '(null)') unlocked when not locked
2009-08-08 19:22:38.005 java[368:14a03] *** Break on _NSLockError() to debug.
2009-08-08 19:22:38.110 java[368:14a03] *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x16f040> '(null)') unlocked when not locked
2009-08-08 19:22:38.111 java[368:14a03] *** Break on _NSLockError() to debug.
2009-08-08 19:22:38.214 java[368:14a03] *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x171f90> '(null)') unlocked when not locked
2009-08-08 19:22:38.214 java[368:14a03] *** Break on _NSLockError() to debug.
2009-08-08 19:22:38.327 java[368:14a03] *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x1721a0> '(null)') unlocked when not locked
2009-08-08 19:22:38.328 java[368:14a03] *** Break on _NSLockError() to debug.
2009-08-08 19:22:38.429 java[368:14a03] *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x172350> '(null)') unlocked when not locked
2009-08-08 19:22:38.431 java[368:14a03] *** Break on _NSLockError() to debug.
2009-08-08 19:22:38.544 java[368:14a03] *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x1722e0> '(null)') unlocked when not locked
2009-08-08 19:22:38.544 java[368:14a03] *** Break on _NSLockError() to debug.
2009-08-08 19:22:38.648 java[368:14a03] *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x171bb0> '(null)') unlocked when not locked
2009-08-08 19:22:38.649 java[368:14a03] *** Break on _NSLockError() to debug.
2009-08-08 19:22:38.750 java[368:14a03] *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x172600> '(null)') unlocked when not locked
2009-08-08 19:22:38.752 java[368:14a03] *** Break on _NSLockError() to debug.
2009-08-08 19:22:38.854 java[368:14a03] *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x172770> '(null)') unlocked when not locked
2009-08-08 19:22:38.855 java[368:14a03] *** Break on _NSLockError() to debug.
2009-08-08 19:22:38.958 java[368:14a03] *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x172980> '(null)') unlocked when not locked
2009-08-08 19:22:38.960 java[368:14a03] *** Break on _NSLockError() to debug.
2009-08-08 19:22:40.951 java[368:14a03] *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x115620> '(null)') unlocked when not locked
2009-08-08 19:22:40.953 java[368:14a03] *** Break on _NSLockError() to debug.
2009-08-08 19:22:41.055 java[368:14a03] *** -[NSConditionLock unlock]: lock (<NSConditionLock: 0x1720f0> '(null)') unlocked when not locked
2009-08-08 19:22:41.055 java[368:14a03] *** Break on _NSLockError() to debug.
Thanks
Ok. I browse jmonkey forums and there is a post related to this. But it don't have the solution. It said that a cocoa swt will be available when Eclipse galileo is out. Now that the galileo is out I switch to a galileo workspace and I replace the swt.jar that was on the jme project with the org.eclipse.swt.cocoa.macosx_3.5.0.v3550b.jar. The JMESWTTest is working but when I run a class that extends BaseSimpleGame.
Thanks
hi there, you'll want to remove jme-swt.jar from your build path… I've gotten to know that error well
Nice it is working.
Thanks