Csound Csound-dev Csound-tekno Search About

[Csnd] csound5 building on osx

Date2012-01-14 23:43
FromMatti Koskinen
Subject[Csnd] csound5 building on osx
hi,

I cloned csound5 from git, and trying to build 64-bit version on osx lion. Everything else goes fine but building lib virtual.dylib fails, because -framework flag is omitted for some reason. This with CoreMidi CoreFoundation and CoreServices. CoreAudio has this flag. Copying the command printed by scons and adding -framework to the lacking ones builds the dylib correctly. SConstruct seems to have these (grep does show them) but from the g++ they are missing.

Any patch?

The reason I'm trying to build 64-bit version is that the csound dmg gives these errors:
WARNING: could not open library '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libvirtual.dylib' (-1)
WARNING: could not open library '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libwidgets.dylib' (-1)

file-command shows csound and these libs as i386 and x86_64. But FLTK and PortAudio and PortMidi are x86_64 versions I built. Maybe this is the culprit.

thanks,

-matti



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2012-01-16 15:24
FromSteven Yi
SubjectRe: [Csnd] csound5 building on osx
Hi Matti,

Could you post what scons options you are using?  I'm able to build
here on OSX Lion.  I do have all my support libs built for i386 and
x86_64 though. Also are you using Macports?  I found it gets in the
way so I built all my support libs from scratch.

Thanks!
steven


On Sat, Jan 14, 2012 at 6:43 PM, Matti Koskinen  wrote:
> hi,
>
> I cloned csound5 from git, and trying to build 64-bit version on osx lion. Everything else goes fine but building lib virtual.dylib fails, because -framework flag is omitted for some reason. This with CoreMidi CoreFoundation and CoreServices. CoreAudio has this flag. Copying the command printed by scons and adding -framework to the lacking ones builds the dylib correctly. SConstruct seems to have these (grep does show them) but from the g++ they are missing.
>
> Any patch?
>
> The reason I'm trying to build 64-bit version is that the csound dmg gives these errors:
> WARNING: could not open library '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libvirtual.dylib' (-1)
> WARNING: could not open library '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libwidgets.dylib' (-1)
>
> file-command shows csound and these libs as i386 and x86_64. But FLTK and PortAudio and PortMidi are x86_64 versions I built. Maybe this is the culprit.
>
> thanks,
>
> -matti
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"