FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OSX help
Goto page Previous  1, 2
 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
doob



Joined: 06 Jan 2007
Posts: 367

PostPosted: Mon May 04, 2009 8:31 am    Post subject: Reply with quote

I've added support for Mac OS X 10.4, http://www.dsource.org/projects/derelict/changeset/369
Back to top
View user's profile Send private message
mwarning



Joined: 01 Apr 2007
Posts: 56

PostPosted: Mon May 04, 2009 11:26 pm    Post subject: Reply with quote

Thanks! Smile

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
View user's profile Send private message
doob



Joined: 06 Jan 2007
Posts: 367

PostPosted: Tue May 05, 2009 4:34 am    Post subject: Reply with quote

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
View user's profile Send private message
mwarning



Joined: 01 Apr 2007
Posts: 56

PostPosted: Tue May 05, 2009 7:36 am    Post subject: Reply with quote

That did tit. It works now. Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group