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

patch for mac frameworks for SFML

 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
ryutenchi



Joined: 09 Dec 2010
Posts: 8

PostPosted: Fri Feb 04, 2011 6:56 pm    Post subject: patch for mac frameworks for SFML Reply with quote

So I switched from SDL to SFML for various reasons, but then found that when I had build a binary that it wouldn't run /legasp. Rummaged and figured out that derelict wasn't looking for the frameworks at all.. so I added it^^ I haven't been able to test this but the messages are much more akin to something you would expect from linking against the wrong version of a framework as opposed to not finding it at all. Still trying to figure out the version of the lib this is suppose to be build against. Building the latest svn of 2.0 now.

Without further ado:
Code:
Index: DerelictSFML/derelict/sfml/graphics.d
===================================================================
--- DerelictSFML/derelict/sfml/graphics.d   (revision 525)
+++ DerelictSFML/derelict/sfml/graphics.d   (working copy)
@@ -46,7 +46,7 @@
         super(
             "csfml-graphics.dll",
             "libcsfml-graphics.so",
-            ""
+            "../Frameworks/csfml-graphics.framework/csfml-graphics, /Library/Frameworks/csfml-graphics.framework/csfml-graphics, /System/Library/Frameworks/csfml-graphics.framework/csfml-graphics"
         );
     }
 
Index: DerelictSFML/derelict/sfml/audio.d
===================================================================
--- DerelictSFML/derelict/sfml/audio.d   (revision 525)
+++ DerelictSFML/derelict/sfml/audio.d   (working copy)
@@ -46,7 +46,7 @@
         super(
             "csfml-audio.dll",
             "libcsfml-audio.so",
-            ""
+            "../Frameworks/csfml-audio.framework/csfml-audio, /Library/Frameworks/csfml-audio.framework/csfml-audio, /System/Library/Frameworks/csfml-audio.framework/csfml-audio"
         );
     }
 
Index: DerelictSFML/derelict/sfml/window.d
===================================================================
--- DerelictSFML/derelict/sfml/window.d   (revision 525)
+++ DerelictSFML/derelict/sfml/window.d   (working copy)
@@ -46,7 +46,7 @@
         super(
             "csfml-window.dll",
             "libcsfml-window.so",
-            ""
+            "../Frameworks/csfml-window.framework/csfml-window, /Library/Frameworks/csfml-window.framework/csfml-window, /System/Library/Frameworks/csfml-window.framework/csfml-window"
         );
     }
 
Index: DerelictSFML/derelict/sfml/system.d
===================================================================
--- DerelictSFML/derelict/sfml/system.d   (revision 525)
+++ DerelictSFML/derelict/sfml/system.d   (working copy)
@@ -46,7 +46,7 @@
         super(
             "csfml-system.dll",
             "libcsfml-system.so",
-            ""
+            "../Frameworks/csfml-system.framework/csfml-system, /Library/Frameworks/csfml-system.framework/csfml-system, /System/Library/Frameworks/csfml-system.framework/csfml-system"
         );
     }
 
Index: DerelictSFML/derelict/sfml/network.d
===================================================================
--- DerelictSFML/derelict/sfml/network.d   (revision 525)
+++ DerelictSFML/derelict/sfml/network.d   (working copy)
@@ -46,7 +46,7 @@
         super(
             "csfml-network.dll",
             "libcsfml-network.so",
-            ""
+            "../Frameworks/csfml-network.framework/csfml-network, /Library/Frameworks/csfml-network.framework/csfml-network, /System/Library/Frameworks/csfml-network.framework/csfml-network"
         );
     }
 


-Matt

UPDATEShould be good now


Last edited by ryutenchi on Fri Feb 04, 2011 7:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
ryutenchi



Joined: 09 Dec 2010
Posts: 8

PostPosted: Fri Feb 04, 2011 7:06 pm    Post subject: Reply with quote

Verified working now^^
Back to top
View user's profile Send private message
doob



Joined: 06 Jan 2007
Posts: 367

PostPosted: Sun Feb 06, 2011 5:38 am    Post subject: Reply with quote

Please report a ticket so it's not forgotten: http://dsource.org/projects/derelict/newticket
Back to top
View user's profile Send private message
ryutenchi



Joined: 09 Dec 2010
Posts: 8

PostPosted: Mon Feb 07, 2011 5:38 pm    Post subject: Reply with quote

doob wrote:
Please report a ticket so it's not forgotten: http://dsource.org/projects/derelict/newticket

Filed^^
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
Page 1 of 1

 
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