Csound Csound-dev Csound-tekno Search About

[Cs-dev] developing on OSX 10.9

Date2013-11-08 21:43
FromVictor Lazzarini
Subject[Cs-dev] developing on OSX 10.9
Hi all,

I’ve just got 10.9 and started using for development. A couple of things seemed to jump at me

1. Java headers were not found (jni.h). They are not in the JavaVM framework anymore. After
scratching my head and installing some packages from Oracle and Apple, I ended up
finding them in Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/include.
I made a few soft links to solve this without changing cmake

2. Other system framework headers also seem to have been removed from /Sys	tem/Library/Frameworks/
and moved to the SDK directories. It’s a bit of a pain, and I solved what I needed to fix with 
soft links, but we might need to look at whether cmake needs to be changed.

Victor
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-11-08 22:15
FromSteven Yi
SubjectRe: [Cs-dev] developing on OSX 10.9
Hi Victor,

Just FYI, I'm planning on upgrading to Mavericks on Monday when I get
back to Rochester.  I just checked and Max 6.1.5 is out which support
10.9, so I can continue testing/debugging for csound~ then.  Perhaps
we can look at doing a single release for 10.6-10.9 moving forward for
the next Csound releases.

Thanks!
steven

On Fri, Nov 8, 2013 at 4:43 PM, Victor Lazzarini
 wrote:
> Hi all,
>
> I’ve just got 10.9 and started using for development. A couple of things seemed to jump at me
>
> 1. Java headers were not found (jni.h). They are not in the JavaVM framework anymore. After
> scratching my head and installing some packages from Oracle and Apple, I ended up
> finding them in Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/include.
> I made a few soft links to solve this without changing cmake
>
> 2. Other system framework headers also seem to have been removed from /Sys      tem/Library/Frameworks/
> and moved to the SDK directories. It’s a bit of a pain, and I solved what I needed to fix with
> soft links, but we might need to look at whether cmake needs to be changed.
>
> Victor
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-11-08 23:01
FromVictor Lazzarini
SubjectRe: [Cs-dev] developing on OSX 10.9
Sounds good to me.
On 8 Nov 2013, at 22:15, Steven Yi  wrote:

> Hi Victor,
> 
> Just FYI, I'm planning on upgrading to Mavericks on Monday when I get
> back to Rochester.  I just checked and Max 6.1.5 is out which support
> 10.9, so I can continue testing/debugging for csound~ then.  Perhaps
> we can look at doing a single release for 10.6-10.9 moving forward for
> the next Csound releases.
> 
> Thanks!
> steven
> 
> On Fri, Nov 8, 2013 at 4:43 PM, Victor Lazzarini
>  wrote:
>> Hi all,
>> 
>> I’ve just got 10.9 and started using for development. A couple of things seemed to jump at me
>> 
>> 1. Java headers were not found (jni.h). They are not in the JavaVM framework anymore. After
>> scratching my head and installing some packages from Oracle and Apple, I ended up
>> finding them in Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/include.
>> I made a few soft links to solve this without changing cmake
>> 
>> 2. Other system framework headers also seem to have been removed from /Sys      tem/Library/Frameworks/
>> and moved to the SDK directories. It’s a bit of a pain, and I solved what I needed to fix with
>> soft links, but we might need to look at whether cmake needs to be changed.
>> 
>> Victor
>> ------------------------------------------------------------------------------
>> November Webinars for C, C++, Fortran Developers
>> Accelerate application performance with scalable programming models. Explore
>> techniques for threading, error checking, porting, and tuning. Get the most
>> from the latest Intel processors and coprocessors. See abstracts and register
>> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most 
> from the latest Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-11-09 21:04
FromRichard Boulanger
SubjectRe: [Cs-dev] developing on OSX 10.9
Yes.  Please.  We are all up on Mavericks @ Berklee - and there is still come confusion with
versions of Csound and csound~ not being totally compatible with Live and things.

-dB


On Nov 8, 2013, at 5:15 PM, Steven Yi  wrote:

> Hi Victor,
> 
> Just FYI, I'm planning on upgrading to Mavericks on Monday when I get
> back to Rochester.  I just checked and Max 6.1.5 is out which support
> 10.9, so I can continue testing/debugging for csound~ then.  Perhaps
> we can look at doing a single release for 10.6-10.9 moving forward for
> the next Csound releases.
> 
> Thanks!
> steven
> 
> On Fri, Nov 8, 2013 at 4:43 PM, Victor Lazzarini
>  wrote:
>> Hi all,
>> 
>> I’ve just got 10.9 and started using for development. A couple of things seemed to jump at me
>> 
>> 1. Java headers were not found (jni.h). They are not in the JavaVM framework anymore. After
>> scratching my head and installing some packages from Oracle and Apple, I ended up
>> finding them in Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/include.
>> I made a few soft links to solve this without changing cmake
>> 
>> 2. Other system framework headers also seem to have been removed from /Sys      tem/Library/Frameworks/
>> and moved to the SDK directories. It’s a bit of a pain, and I solved what I needed to fix with
>> soft links, but we might need to look at whether cmake needs to be changed.
>> 
>> Victor
>> ------------------------------------------------------------------------------
>> November Webinars for C, C++, Fortran Developers
>> Accelerate application performance with scalable programming models. Explore
>> techniques for threading, error checking, porting, and tuning. Get the most
>> from the latest Intel processors and coprocessors. See abstracts and register
>> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most 
> from the latest Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-11-09 22:19
FromSteven Yi
SubjectRe: [Cs-dev] developing on OSX 10.9
AttachmentsNone  None  

Report the bugs so we can fix it. Otherwise we don't know if things aren't working.

On Nov 9, 2013 4:04 PM, "Richard Boulanger" <rboulanger56@gmail.com> wrote:
Yes.  Please.  We are all up on Mavericks @ Berklee - and there is still come confusion with
versions of Csound and csound~ not being totally compatible with Live and things.

-dB


On Nov 8, 2013, at 5:15 PM, Steven Yi <stevenyi@gmail.com> wrote:

> Hi Victor,
>
> Just FYI, I'm planning on upgrading to Mavericks on Monday when I get
> back to Rochester.  I just checked and Max 6.1.5 is out which support
> 10.9, so I can continue testing/debugging for csound~ then.  Perhaps
> we can look at doing a single release for 10.6-10.9 moving forward for
> the next Csound releases.
>
> Thanks!
> steven
>
> On Fri, Nov 8, 2013 at 4:43 PM, Victor Lazzarini
> <Victor.Lazzarini@nuim.ie> wrote:
>> Hi all,
>>
>> I’ve just got 10.9 and started using for development. A couple of things seemed to jump at me
>>
>> 1. Java headers were not found (jni.h). They are not in the JavaVM framework anymore. After
>> scratching my head and installing some packages from Oracle and Apple, I ended up
>> finding them in Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/include.
>> I made a few soft links to solve this without changing cmake
>>
>> 2. Other system framework headers also seem to have been removed from /Sys      tem/Library/Frameworks/
>> and moved to the SDK directories. It’s a bit of a pain, and I solved what I needed to fix with
>> soft links, but we might need to look at whether cmake needs to be changed.
>>
>> Victor
>> ------------------------------------------------------------------------------
>> November Webinars for C, C++, Fortran Developers
>> Accelerate application performance with scalable programming models. Explore
>> techniques for threading, error checking, porting, and tuning. Get the most
>> from the latest Intel processors and coprocessors. See abstracts and register
>> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2013-11-10 11:16
FromVictor Lazzarini
SubjectRe: [Cs-dev] developing on OSX 10.9
A couple of things to add to this:

1. Valgrind does not build on 10.9, which is a bummer for terminal-based development. It means
I will have to keep a 10.6 machine around for when I need valgrind.
2. There is no gdb, but there is lldb, meaning new commands etc. I also had a bit of trouble
trying to inspect variables with lldb, so there is something to be learned there.

So we will have to get used to some divergence from linux with the toolset now being
different. Also given that the system headers are all in different places now, I expect some trouble when
building certain parts of Csound (which I have not done yet, as I carried most of my build from
10.8). Next time something gets changed in one of the basic headers, we’ll see.
Cmake might need to be modified.

Victor

On 8 Nov 2013, at 21:43, Victor Lazzarini  wrote:

> Hi all,
> 
> I’ve just got 10.9 and started using for development. A couple of things seemed to jump at me
> 
> 1. Java headers were not found (jni.h). They are not in the JavaVM framework anymore. After
> scratching my head and installing some packages from Oracle and Apple, I ended up
> finding them in Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/include.
> I made a few soft links to solve this without changing cmake
> 
> 2. Other system framework headers also seem to have been removed from /Sys	tem/Library/Frameworks/
> and moved to the SDK directories. It’s a bit of a pain, and I solved what I needed to fix with 
> soft links, but we might need to look at whether cmake needs to be changed.
> 
> Victor
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most 
> from the latest Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-11-10 12:20
FromRichard Dobson
SubjectRe: [Cs-dev] developing on OSX 10.9
Thanks to a very kind loan from Bath Uni just last week, I have access 
to a MacBook (2010 model) running Mavericks. As it could be called in at 
any time, I can't make it a primary development machine (at least short 
of getting an external disk for everything), but I can explore and test 
this and that, and have installed Xcode (and Csound 6 with CsoundQt).

Unfortunate about valgrind - maybe that will change in time.  FWIW, 
there is a thread on StackOverflow which includes a post about 
successfully building gdb from source on Mavericks (implication being - 
it works), and another just last week saying it can be installed via 
homebrew.

Richard Dobson


On 10/11/2013 11:16, Victor Lazzarini wrote:
> A couple of things to add to this:
>
> 1. Valgrind does not build on 10.9, which is a bummer for terminal-based development. It means
> I will have to keep a 10.6 machine around for when I need valgrind.
> 2. There is no gdb, but there is lldb, meaning new commands etc. I also had a bit of trouble
> trying to inspect variables with lldb, so there is something to be learned there.
>
> So we will have to get used to some divergence from linux with the toolset now being
> different. Also given that the system headers are all in different places now, I expect some trouble when
> building certain parts of Csound (which I have not done yet, as I carried most of my build from
> 10.8). Next time something gets changed in one of the basic headers, we’ll see.
> Cmake might need to be modified.
>
> Victor
>


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-11-10 12:48
FromVictor Lazzarini
SubjectRe: [Cs-dev] developing on OSX 10.9
yes, I saw that thread. I wonder, however, since the compiler is clang, whether compiler-debugger integration is a factor, and whether lldb is going to work better. 

Please keep sharing any new findings here, that will be very helpful.

Victor
On 10 Nov 2013, at 12:20, Richard Dobson  wrote:

> Thanks to a very kind loan from Bath Uni just last week, I have access 
> to a MacBook (2010 model) running Mavericks. As it could be called in at 
> any time, I can't make it a primary development machine (at least short 
> of getting an external disk for everything), but I can explore and test 
> this and that, and have installed Xcode (and Csound 6 with CsoundQt).
> 
> Unfortunate about valgrind - maybe that will change in time.  FWIW, 
> there is a thread on StackOverflow which includes a post about 
> successfully building gdb from source on Mavericks (implication being - 
> it works), and another just last week saying it can be installed via 
> homebrew.
> 
> Richard Dobson
> 
> 
> On 10/11/2013 11:16, Victor Lazzarini wrote:
>> A couple of things to add to this:
>> 
>> 1. Valgrind does not build on 10.9, which is a bummer for terminal-based development. It means
>> I will have to keep a 10.6 machine around for when I need valgrind.
>> 2. There is no gdb, but there is lldb, meaning new commands etc. I also had a bit of trouble
>> trying to inspect variables with lldb, so there is something to be learned there.
>> 
>> So we will have to get used to some divergence from linux with the toolset now being
>> different. Also given that the system headers are all in different places now, I expect some trouble when
>> building certain parts of Csound (which I have not done yet, as I carried most of my build from
>> 10.8). Next time something gets changed in one of the basic headers, we’ll see.
>> Cmake might need to be modified.
>> 
>> Victor
>> 
> 
> 
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most 
> from the latest Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net