View previous topic :: View next topic |
Author |
Message |
doob
Joined: 06 Jan 2007 Posts: 367
|
|
Back to top |
|
|
mwarning
Joined: 01 Apr 2007 Posts: 56
|
Posted: Mon May 04, 2009 11:26 pm Post subject: |
|
|
Thanks!
But there are still some problems:
Code: |
derelict/sdl/macinit/SDLMain.d(217): Error: can only initialize const member name inside constructor
derelict/sdl/macinit/SDLMain.d(218): Error: can only initialize const member name inside constructor
derelict/sdl/macinit/SDLMain.d(165): Error: template instance derelict.sdl.macinit.SDLMain.registerClass!("SDLApplication") error instantiating |
I removed const from runtime.d:80 to fix this error.
But now I get this runtime error on Tiger:
Code: |
derelict.util.exception.SharedLibProcLoadException: Failed to load proc method_setImplementation from shared library Cocoa.framework/Cocoa |
Cocoa.framework/Cocoa exists. |
|
Back to top |
|
|
doob
Joined: 06 Jan 2007 Posts: 367
|
Posted: Tue May 05, 2009 4:34 am Post subject: |
|
|
I hope I've fixed all the problems now. I don't have Mac OS X 10.4 to test on. I removed some unnecessary functions that don't exist on 10.4 that caused the exceptions. About the const thing, it worked using gdc but not using dmd. I've also tested with dmd and it works now. One minor problem though, when compiling with dmd the menu doesn't work (the dock menu does), I don't know why. http://www.dsource.org/projects/derelict/changeset/371 |
|
Back to top |
|
|
mwarning
Joined: 01 Apr 2007 Posts: 56
|
Posted: Tue May 05, 2009 7:36 am Post subject: |
|
|
That did tit. It works now. |
|
Back to top |
|
|
|