[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] Patch for building on OSX 10.9 (with qt 4.8)



I’ve been following the developments for building qt4 on 10.9 using brew, and was able to build qt 4.8 on OS X 10.9 using this command:


This comes from the discussion here:

https://github.com/mxcl/homebrew/pull/23793

I assume this will just work out of the box very soon with "brew install qt4"

Now that I have a build of qt4, I am able to build Supercollider itself with the following patch:

diff --git a/lang/LangSource/GC.cpp b/lang/LangSource/GC.cpp
index 36585f6..a3f9859 100644
--- a/lang/LangSource/GC.cpp
+++ b/lang/LangSource/GC.cpp
@@ -798,7 +798,7 @@ bool PyrGC::SanityCheck2()
 }
 
 #ifdef SC_DARWIN
- #include <CoreServices/../Frameworks/CarbonCore.framework/Headers/MacTypes.h>
+ #include <MacTypes.h>
 #endif
 
 bool PyrGC::SanityCheck()
diff --git a/server/plugins/FFT_UGens.cpp b/server/plugins/FFT_UGens.cpp
index cef499f..0820236 100644
--- a/server/plugins/FFT_UGens.cpp
+++ b/server/plugins/FFT_UGens.cpp
@@ -24,7 +24,7 @@
 
 // We include vDSP even if not using for FFT, since we want to use some vectorised add/mul tricks
 #if defined(__APPLE__) && !defined(SC_IPHONE)
-#include "vecLib/vDSP.h"
+#include <Accelerate/Accelerate.h>
 #endif
 
 struct FFTBase : public Unit