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

Re: [sc-dev] [PATCH] Compiling sc3-plugins for 10.9



Thanks Dan, ahead I have gone. 

I've not dealt with pull requests before, but as one sanity check I just tested building the latest SC on Mavericks. After installing Cmake, Qt4.8.5 and readline via homebrew, I ran: 

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES='x86_64' -DCMAKE_OSX_DEPLOYMENT_TARGET=10.8 -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include -DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib -DSSE=ON -DSYSTEM_YAMLCPP=OFF ..

and to my amazement SuperCollider built. I didn't try a universal or compile against 10.7 SDK or anything, but the only issue I saw on a cursory look at the built application was that where on 3.6.6 aliases in Extensions are fine, for this latest git, I get:

Error: Target missing for alias at /Users/nickcollins/Library/Application Support/SuperCollider/Extensions/AuditoryModeling alias

which seems to relate to
NSURL *resolvedURL = [NSURL URLByResolvingBookmarkData: bookmark options: NSURLBookmarkResolutionWithoutUI relativeToURL: nil bookmarkDataIsStale: &isStale error: &resolvedURLError
];
			
in SC_DirUtils.cpp, some change of OS X protections thing? 

But I can make a sound. 

best
Nick


On 9 Dec 2013, at 13:06, Dan Stowell <danstowell+sc3@xxxxxxxxx> wrote:

> Hi Nick,
> 
> Go ahead I reckon.
> 
> Have you also seen this pull request re the main SC code for 10.9?
> https://github.com/supercollider/supercollider/pull/994
> We still want confirmation it should be merged
> 
> Dan
> 
> 
> 
> 
> 2013/12/9 Nick Collins <clicksonnil@xxxxxxxxx>:
>> Hi,
>> 
>> I feel a bit more up to date now I'm on Mavericks. Perhaps too up to date; sc3-plugins stopped compiling. It turned out to be vecLib vs Accelerate hangover, so patch attached that allows compilation. Should I commit? Not sure if consequences for earlier OS X, but I think it should be fine (Accelerate has been the proper library name for some versions of OS X I believe) and only OS X implications so shouldn't affect other systems.
>> 
>> Perhaps this was fixed already or not a problem on other machines but this is a fix for a problem in source downloaded last Friday with fresh 10.9.
>> 
>> best,
>> Nick
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 
> 
> -- 
> http://www.mcld.co.uk
> 
> _______________________________________________
> sc-dev mailing list
> 
> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
> search: https://listarc.bham.ac.uk/lists/sc-dev/search/


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/