ryutenchi
Joined: 09 Dec 2010 Posts: 8
|
Posted: Fri Feb 04, 2011 6:56 pm Post subject: patch for mac frameworks for SFML |
|
|
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 |
|