[Csnd] Linear Algebra Opcodes on OSX 10.4
Date | 2010-01-15 13:05 |
From | Alex Hofmann |
Subject | [Csnd] Linear Algebra Opcodes on OSX 10.4 |
Hi, I want to try use the LinA opcodes, but I can't find out how to get them working? Are there examples? instr 1 iMy la_i_mr_create 3,3 endin --- orch compiler: 13 lines read instr 1 error: no legal opcode, line 13: iMy la_i_mr_create 3,3 1 syntax errors in orchestra. compilation invalid ---- Thanks, Alex Send bugs reports to this list. To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2010-01-15 13:20 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Linear Algebra Opcodes on OSX 10.4 |
They are present in the doubles version only (the command is csound64). Victor On 15 Jan 2010, at 13:05, Alex Hofmann wrote: > Hi, > > I want to try use the LinA opcodes, but I can't find out how to get > them working? Are there examples? > > instr 1 > iMy la_i_mr_create 3,3 > endin > > --- > orch compiler: > 13 lines read > instr 1 error: no legal opcode, line 13: > iMy la_i_mr_create 3,3 > 1 syntax errors in orchestra. compilation invalid > ---- > > Thanks, > Alex > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body > "unsubscribe csound" Send bugs reports to this list. To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2010-01-15 13:34 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Linear Algebra Opcodes on OSX 10.4 |
Hi, QuteCsound is built for doubles by default, but you can build if for doubles as well very easily. Since you are building QuteCsound yourself, see src.pro in QuteCsound sources for instructions. Cheers, Andres On 1/15/10, Victor Lazzarini |
Date | 2010-01-15 19:19 |
From | Alex Hofmann |
Subject | [Csnd] Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
Attachments | build_fail.jpg |
Hi Andres, I tried to make a doubles build, but this fails with curve.cpp. I'll attach a screenshot. Best, Alex Andres Cabrera schrieb: > Hi, > > QuteCsound is built for doubles by default, but you can build if for > doubles as well very easily. Since you are building QuteCsound > yourself, see src.pro in QuteCsound sources for instructions. > > Cheers, > Andres > > On 1/15/10, Victor Lazzarini |
Date | 2010-01-15 20:06 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
Hi, Sorry, build for doubles was broken. I haven't tried it but it should work now. Cheers, Andres On 1/15/10, Alex Hofmann |
Date | 2010-01-15 20:16 |
From | Alex Hofmann |
Subject | [Csnd] Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
Whoo, this is the quickes support, one can guess :-) Build works! Thanks, Andres! But the lin opcodes not, but they're not in one of the missing dylib's, or? >>> WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/libjackTransport.dylib' (-1) WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/librtjack.dylib' (-1) 0dBFS level = 32768.0 Csound version 5.11 (double samples) Sep 24 2009 libsndfile-1.0.17 UnifiedCSD: /Users/alexhofmann/Documents/organisation/2009/C-Sound/Lina/vector_01.csd STARTING FILE Creating options Creating orchestra Creating score orchname: /tmp/csound-XKm3LP.orc scorename: /tmp/csound-5uuleZ.sco rtaudio: PortAudio module enabled ... using callback interface rtmidi: PortMIDI module enabled orch compiler: 13 lines read instr 1 error: no legal opcode, line 13: iMy la_i_mr_create 3,3 1 syntax errors in orchestra. compilation invalid >>> Alex Andres Cabrera schrieb: > Hi, > > Sorry, build for doubles was broken. I haven't tried it but it should work now. > > Cheers, > Andres > > On 1/15/10, Alex Hofmann |
Date | 2010-01-15 20:37 |
From | volker böhm |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
this sounds a bit like the same issues i had when trying to build a doubles version. you might like to look at http://old.nabble.com/build-qutecsound-with-csound-doubles-td24919227.html#a24919227 for more info. volker. On 15.01.2010, at 21:16, Alex Hofmann wrote: > Whoo, > this is the quickes support, one can guess :-) Build works! Thanks, > Andres! > > But the lin opcodes not, but they're not in one of the missing > dylib's, or? > >>> > WARNING: could not open library '/Library/Frameworks/ > CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/ > libjackTransport.dylib' (-1) > WARNING: could not open library '/Library/Frameworks/ > CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/ > librtjack.dylib' (-1) > 0dBFS level = 32768.0 > Csound version 5.11 (double samples) Sep 24 2009 > libsndfile-1.0.17 > UnifiedCSD: /Users/alexhofmann/Documents/organisation/2009/C-Sound/ > Lina/vector_01.csd > STARTING FILE > Creating options > Creating orchestra > Creating score > orchname: /tmp/csound-XKm3LP.orc > scorename: /tmp/csound-5uuleZ.sco > rtaudio: PortAudio module enabled ... using callback interface > rtmidi: PortMIDI module enabled > orch compiler: > 13 lines read > instr 1 error: no legal opcode, line 13: > iMy la_i_mr_create 3,3 > 1 syntax errors in orchestra. compilation invalid > >>> > > Alex > > Andres Cabrera schrieb: >> Hi, >> >> Sorry, build for doubles was broken. I haven't tried it but it >> should work now. >> >> Cheers, >> Andres >> >> On 1/15/10, Alex Hofmann |
Date | 2010-01-15 20:53 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
Hi Volker, The issues you reported there were fixed some time ago. This was another issue with some changes to curve.cpp. As Alex reports, you should be able to build for doubles now. Cheers, Andres On Fri, Jan 15, 2010 at 8:37 PM, volker böhm |
Date | 2010-01-15 20:57 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
I'll make sure they are built for the next release. It must be a case of missing dependency in my build system. Victor On 15 Jan 2010, at 20:16, Alex Hofmann wrote: > Whoo, > this is the quickes support, one can guess :-) Build works! Thanks, > Andres! > > But the lin opcodes not, but they're not in one of the missing > dylib's, or? > >>> > WARNING: could not open library '/Library/Frameworks/ > CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/ > libjackTransport.dylib' (-1) > WARNING: could not open library '/Library/Frameworks/ > CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/ > librtjack.dylib' (-1) > 0dBFS level = 32768.0 > Csound version 5.11 (double samples) Sep 24 2009 > libsndfile-1.0.17 > UnifiedCSD: /Users/alexhofmann/Documents/organisation/2009/C-Sound/ > Lina/vector_01.csd > STARTING FILE > Creating options > Creating orchestra > Creating score > orchname: /tmp/csound-XKm3LP.orc > scorename: /tmp/csound-5uuleZ.sco > rtaudio: PortAudio module enabled ... using callback interface > rtmidi: PortMIDI module enabled > orch compiler: > 13 lines read > instr 1 error: no legal opcode, line 13: > iMy la_i_mr_create 3,3 > 1 syntax errors in orchestra. compilation invalid > >>> > > Alex > > Andres Cabrera schrieb: >> Hi, >> >> Sorry, build for doubles was broken. I haven't tried it but it >> should work now. >> >> Cheers, >> Andres >> >> On 1/15/10, Alex Hofmann |
Date | 2010-01-15 21:48 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
I'll keep trying, but the dependency for these opcodes is not building on OSX (getfem). Victor On 15 Jan 2010, at 20:16, Alex Hofmann wrote: > Whoo, > this is the quickes support, one can guess :-) Build works! Thanks, > Andres! > > But the lin opcodes not, but they're not in one of the missing > dylib's, or? > >>> > WARNING: could not open library '/Library/Frameworks/ > CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/ > libjackTransport.dylib' (-1) > WARNING: could not open library '/Library/Frameworks/ > CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/ > librtjack.dylib' (-1) > 0dBFS level = 32768.0 > Csound version 5.11 (double samples) Sep 24 2009 > libsndfile-1.0.17 > UnifiedCSD: /Users/alexhofmann/Documents/organisation/2009/C-Sound/ > Lina/vector_01.csd > STARTING FILE > Creating options > Creating orchestra > Creating score > orchname: /tmp/csound-XKm3LP.orc > scorename: /tmp/csound-5uuleZ.sco > rtaudio: PortAudio module enabled ... using callback interface > rtmidi: PortMIDI module enabled > orch compiler: > 13 lines read > instr 1 error: no legal opcode, line 13: > iMy la_i_mr_create 3,3 > 1 syntax errors in orchestra. compilation invalid > >>> > > Alex > > Andres Cabrera schrieb: >> Hi, >> >> Sorry, build for doubles was broken. I haven't tried it but it >> should work now. >> >> Cheers, >> Andres >> >> On 1/15/10, Alex Hofmann |
Date | 2010-01-15 22:39 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
Managed now. So I'll include these opcodes in the next release. Victor On 15 Jan 2010, at 21:48, Victor Lazzarini wrote: > I'll keep trying, but the dependency for these opcodes is not > building on OSX (getfem). > > Victor > > On 15 Jan 2010, at 20:16, Alex Hofmann wrote: > >> Whoo, >> this is the quickes support, one can guess :-) Build works! >> Thanks, Andres! >> >> But the lin opcodes not, but they're not in one of the missing >> dylib's, or? >> >>> >> WARNING: could not open library '/Library/Frameworks/ >> CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/ >> libjackTransport.dylib' (-1) >> WARNING: could not open library '/Library/Frameworks/ >> CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/ >> librtjack.dylib' (-1) >> 0dBFS level = 32768.0 >> Csound version 5.11 (double samples) Sep 24 2009 >> libsndfile-1.0.17 >> UnifiedCSD: /Users/alexhofmann/Documents/organisation/2009/C-Sound/ >> Lina/vector_01.csd >> STARTING FILE >> Creating options >> Creating orchestra >> Creating score >> orchname: /tmp/csound-XKm3LP.orc >> scorename: /tmp/csound-5uuleZ.sco >> rtaudio: PortAudio module enabled ... using callback interface >> rtmidi: PortMIDI module enabled >> orch compiler: >> 13 lines read >> instr 1 error: no legal opcode, line 13: >> iMy la_i_mr_create 3,3 >> 1 syntax errors in orchestra. compilation invalid >> >>> >> >> Alex >> >> Andres Cabrera schrieb: >>> Hi, >>> >>> Sorry, build for doubles was broken. I haven't tried it but it >>> should work now. >>> >>> Cheers, >>> Andres >>> >>> On 1/15/10, Alex Hofmann |
Date | 2010-01-16 11:43 |
From | Alex Hofmann |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
Thanks! I'm looking forward to it! Best, Alex Victor Lazzarini schrieb: > Managed now. So I'll include these opcodes in the next release. > > Victor > On 15 Jan 2010, at 21:48, Victor Lazzarini wrote: > >> I'll keep trying, but the dependency for these opcodes is not >> building on OSX (getfem). >> >> Victor >> >> On 15 Jan 2010, at 20:16, Alex Hofmann wrote: >> >>> Whoo, >>> this is the quickes support, one can guess :-) Build works! Thanks, >>> Andres! >>> >>> But the lin opcodes not, but they're not in one of the missing >>> dylib's, or? >>> >>> >>> WARNING: could not open library >>> '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/libjackTransport.dylib' >>> (-1) >>> WARNING: could not open library >>> '/Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Opcodes64/librtjack.dylib' >>> (-1) >>> 0dBFS level = 32768.0 >>> Csound version 5.11 (double samples) Sep 24 2009 >>> libsndfile-1.0.17 >>> UnifiedCSD: >>> /Users/alexhofmann/Documents/organisation/2009/C-Sound/Lina/vector_01.csd >>> >>> STARTING FILE >>> Creating options >>> Creating orchestra >>> Creating score >>> orchname: /tmp/csound-XKm3LP.orc >>> scorename: /tmp/csound-5uuleZ.sco >>> rtaudio: PortAudio module enabled ... using callback interface >>> rtmidi: PortMIDI module enabled >>> orch compiler: >>> 13 lines read >>> instr 1 error: no legal opcode, line 13: >>> iMy la_i_mr_create 3,3 >>> 1 syntax errors in orchestra. compilation invalid >>> >>> >>> >>> Alex >>> >>> Andres Cabrera schrieb: >>>> Hi, >>>> >>>> Sorry, build for doubles was broken. I haven't tried it but it >>>> should work now. >>>> >>>> Cheers, >>>> Andres >>>> >>>> On 1/15/10, Alex Hofmann |
Date | 2010-01-18 17:32 |
From | volker böhm |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
On 15.01.2010, at 21:53, Andres Cabrera wrote: > Hi Volker, > > The issues you reported there were fixed some time ago. This was > another issue with some changes to curve.cpp. > As Alex reports, you should be able to build for doubles now. hi andres, i've just tried building a doubles version from the newest sources and ran into the same problem i reported last time. that is, the xcode project builds ok, but qutecsound crashes upon launching, complaining it can't find /Library/Frameworks/CsoundLib.framework/Versions/5.2/lib_csnd.dylib (crash report below) why would it be looking for CsoundLib.framework when i've built a doubles version? naturally i only got CsoundLib64.framework alex, has your computer ever seen a 32bit csound version, or to put it differently, next to CsoundLib64.framework do you (still) have a CsoundLib.framework in Library/Frameworks? with a little 'fake' i can make it work, if i manually create a CsoundLib.framework folder and copy the relevant lib_csnd.dylib into it. thanks, volker. Process: qutecsound [1104] Path: /Users/vb/Desktop/qutecsound.app/Contents/MacOS/ qutecsound Identifier: qutecsound Version: ??? (???) Code Type: X86 (Native) Parent Process: launchd [71] Interval Since Last Report: 81 sec Crashes Since Last Report: 1 Per-App Interval Since Last Report: 0 sec Per-App Crashes Since Last Report: 1 Date/Time: 2010-01-18 18:17:23.589 +0100 OS Version: Mac OS X 10.5.7 (9J3050) Report Version: 6 Anonymous UUID: 99BB5545-D976-4637-8A17-BCECEC7FC9F5 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Crashed Thread: 0 Dyld Error Message: Library not loaded: /Library/Frameworks/CsoundLib.framework/ Versions/5.2/lib_csnd.dylib Referenced from: /Users/vb/Desktop/qutecsound.app/Contents/MacOS/ qutecsound Reason: image not found Send bugs reports to this list. To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2010-01-18 17:52 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
Hi Volker, Did you run qmake again? This is necessary when there are changes to the .pro file. Cheers, Andres On Mon, Jan 18, 2010 at 5:32 PM, volker böhm |
Date | 2010-01-18 18:20 |
From | volker böhm |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
On 18.01.2010, at 18:52, Andres Cabrera wrote: > Hi Volker, > > Did you run qmake again? This is necessary when there are changes to > the .pro file. yes. i downloaded version 0.4.5, went into src, ran 'qmake' and built from the newly created xcode project. > > Cheers, > Andres > > On Mon, Jan 18, 2010 at 5:32 PM, volker böhm |
Date | 2010-01-18 18:27 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
No, this all sounds wrong. the correct lib_csnd.dylib should be in CsoundLib64.framework. There is a linking error somewhere (one of the files is linked to the incorrect lib_csnd.dylib). Check that you don't have a symlink in /usr/local/lib that might be generating the spurious linking. Regards Victor On 18 Jan 2010, at 17:32, volker böhm wrote: > On 15.01.2010, at 21:53, Andres Cabrera wrote: > >> Hi Volker, >> >> The issues you reported there were fixed some time ago. This was >> another issue with some changes to curve.cpp. >> As Alex reports, you should be able to build for doubles now. > > > hi andres, > > i've just tried building a doubles version from the newest sources > and ran into the same problem i reported last time. that is, the > xcode project builds ok, but qutecsound crashes upon launching, > complaining it can't find > /Library/Frameworks/CsoundLib.framework/Versions/5.2/lib_csnd.dylib > (crash report below) > > why would it be looking for CsoundLib.framework when i've built a > doubles version? > naturally i only got CsoundLib64.framework > > alex, has your computer ever seen a 32bit csound version, or to put > it differently, next to CsoundLib64.framework do you (still) have a > CsoundLib.framework in Library/Frameworks? > > > with a little 'fake' i can make it work, if i manually create a > CsoundLib.framework folder and copy the relevant lib_csnd.dylib into > it. > > thanks, > volker. > > > > Process: qutecsound [1104] > Path: /Users/vb/Desktop/qutecsound.app/Contents/MacOS/ > qutecsound > Identifier: qutecsound > Version: ??? (???) > Code Type: X86 (Native) > Parent Process: launchd [71] > > Interval Since Last Report: 81 sec > Crashes Since Last Report: 1 > Per-App Interval Since Last Report: 0 sec > Per-App Crashes Since Last Report: 1 > > Date/Time: 2010-01-18 18:17:23.589 +0100 > OS Version: Mac OS X 10.5.7 (9J3050) > Report Version: 6 > Anonymous UUID: 99BB5545-D976-4637-8A17-BCECEC7FC9F5 > > Exception Type: EXC_BREAKPOINT (SIGTRAP) > Exception Codes: 0x0000000000000002, 0x0000000000000000 > Crashed Thread: 0 > > Dyld Error Message: > Library not loaded: /Library/Frameworks/CsoundLib.framework/ > Versions/5.2/lib_csnd.dylib > Referenced from: /Users/vb/Desktop/qutecsound.app/Contents/MacOS/ > qutecsound > Reason: image not found > > > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body > "unsubscribe csound" Send bugs reports to this list. To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2010-01-18 18:36 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
Hi, You need to get QuteCsound from svn as the 0.4.5 release has that issue. Or wait until the 0.4.6 release which is not too far away, hopefully a few days. Cheers, Andrés On Mon, Jan 18, 2010 at 6:20 PM, volker böhm |
Date | 2010-01-18 19:02 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
Hi Victor, Moving to the dev list. What is crashing is the CsoundLib on the senseevents function... Any ideas? Thread 5 Crashed: 0 CsoundLib 0x01e460e6 sensevents + 1006 Can it be something QuteCsound is doing? Cheers, Andres On Mon, Jan 18, 2010 at 6:27 PM, Victor Lazzarini |
Date | 2010-01-18 19:43 |
From | Victor.Lazzarini@nuim.ie |
Subject | Re: [Cs-dev] [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
Attachments | None None None None |
Date | 2010-01-18 19:45 |
From | Victor.Lazzarini@nuim.ie |
Subject | Re: [Cs-dev] [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
Attachments | None |
Date | 2010-01-18 19:46 |
From | volker böhm |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
hi andres, just did a fresh check out from svn, ran qmake and built from the new xcode project - with the same results as before... On 18.01.2010, at 19:36, Andres Cabrera wrote: > Hi, > > You need to get QuteCsound from svn as the 0.4.5 release has that > issue. Or wait until the 0.4.6 release which is not too far away, > hopefully a few days. > > Cheers, > Andrés > > On Mon, Jan 18, 2010 at 6:20 PM, volker böhm |
Date | 2010-01-18 19:50 |
From | volker böhm |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
On 18.01.2010, at 19:27, Victor Lazzarini wrote: > No, this all sounds wrong. the correct lib_csnd.dylib should be in > CsoundLib64.framework. There is a linking error somewhere (one of > the files is linked to the incorrect lib_csnd.dylib). > > Check that you don't have a symlink in /usr/local/lib that might be > generating the spurious linking. victor, thanks for pointing this out. i do have a symlink libcsnd.dylib in /usr/local/lib, but it was pointing to the correct Csound64 version. there is also a lib_csnd.dylib file in /usr/local/lib, which i don't know what it's good for. but temporarily removing it, didn't change anything. ... but now i'm really a little confused. putting back lib_csnd.dylib into /usr/local/lib without the symlink makes it work! is this file supposed to be there at all?? i thought everything csound related was moved to the frameworks. and i remember having killed this file in usr/local/lib before... well csound from the command line works fine without additional files in usr/local/lib. (maybe it's time to start from a clean install. how do i deinstall csound?) thanks, volker. Send bugs reports to this list. To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2010-01-18 20:15 |
From | victor |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
I remember there was an issue with that file, but I think I fixed it in the installer. I'll check and make sure things are OK for the next release. Victor ----- Original Message ----- From: "volker böhm" |
Date | 2010-01-18 20:25 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
Ok: on OSX, for 64 bit you can either link to /Library/Frameworks/CsoundLib64.framework/Versions/Current/ lib_csnd.dylib or, more conveniently -L/usr/local/lib -lcsnd64 (instead of -lcsnd) This is how the framework is installed so that both versions (floats and doubles) can live alongside each other. Victor On 18 Jan 2010, at 20:15, victor wrote: > I remember there was an issue with that file, but I think I fixed it > in the installer. I'll check and > make sure things are OK for the next release. > > Victor > ----- Original Message ----- From: "volker böhm" |
Date | 2010-01-18 20:36 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
This is how it's done. Does it look right to you? macx { build64 { MAC_LIB = CsoundLib64 INCLUDEPATH += /Library/Frameworks/CsoundLib64.framework/Versions/Current/Headers/ HEADERS += /Library/Frameworks/CsoundLib64.framework/Versions/Current/Headers/csound.h qute_cpp { HEADERS += /Library/Frameworks/CsoundLib64.framework/Versions/Current/Headers/csound.hpp HEADERS += /Library/Frameworks/CsoundLib64.framework/Versions/Current/Headers/csPerfThread.hpp HEADERS += /Library/Frameworks/CsoundLib64.framework/Versions/Current/Headers/cwindow.h LIBS += /Library/Frameworks/CsoundLib64.framework/Versions/Current/lib_csnd.dylib } } else { MAC_LIB = CsoundLib INCLUDEPATH += /Library/Frameworks/CsoundLib.framework/Versions/Current/Headers/ HEADERS += /Library/Frameworks/CsoundLib.framework/Versions/Current/Headers/csound.h qute_cpp { HEADERS += /Library/Frameworks/CsoundLib.framework/Versions/Current/Headers/csound.hpp HEADERS += /Library/Frameworks/CsoundLib.framework/Versions/Current/Headers/csPerfThread.hpp HEADERS += /Library/Frameworks/CsoundLib.framework/Versions/Current/Headers/cwindow.h LIBS += /Library/Frameworks/CsoundLib.framework/Versions/Current/lib_csnd.dylib } } Cheers, Andres On Mon, Jan 18, 2010 at 8:25 PM, Victor Lazzarini |
Date | 2010-01-18 22:47 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
What about the -DUSE_DOUBLE token? On 18 Jan 2010, at 20:36, Andres Cabrera wrote: > This is how it's done. Does it look right to you? > > macx { > build64 { > MAC_LIB = CsoundLib64 > INCLUDEPATH += > /Library/Frameworks/CsoundLib64.framework/Versions/Current/Headers/ > HEADERS += > /Library/Frameworks/CsoundLib64.framework/Versions/Current/Headers/ > csound.h > qute_cpp { > HEADERS += > /Library/Frameworks/CsoundLib64.framework/Versions/Current/Headers/ > csound.hpp > HEADERS += > /Library/Frameworks/CsoundLib64.framework/Versions/Current/Headers/ > csPerfThread.hpp > HEADERS += > /Library/Frameworks/CsoundLib64.framework/Versions/Current/Headers/ > cwindow.h > LIBS += > /Library/Frameworks/CsoundLib64.framework/Versions/Current/ > lib_csnd.dylib > } > } > else { > MAC_LIB = CsoundLib > INCLUDEPATH += > /Library/Frameworks/CsoundLib.framework/Versions/Current/Headers/ > HEADERS += > /Library/Frameworks/CsoundLib.framework/Versions/Current/Headers/ > csound.h > qute_cpp { > HEADERS += > /Library/Frameworks/CsoundLib.framework/Versions/Current/Headers/ > csound.hpp > HEADERS += > /Library/Frameworks/CsoundLib.framework/Versions/Current/Headers/ > csPerfThread.hpp > HEADERS += > /Library/Frameworks/CsoundLib.framework/Versions/Current/Headers/ > cwindow.h > LIBS += > /Library/Frameworks/CsoundLib.framework/Versions/Current/ > lib_csnd.dylib > } > } > > Cheers, > Andres > > On Mon, Jan 18, 2010 at 8:25 PM, Victor Lazzarini > |
Date | 2010-01-19 08:36 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Linear Algebra Opcodes on OSX 10.4 |
Hi, Yes, the -DUSE_DOUBLE is defined before that. I also tried not registering a keyboard event callback at all, and the problem persists... Cheers, Andrés On Mon, Jan 18, 2010 at 10:47 PM, Victor Lazzarini |