posting in csound forum (fwd)
Date | 2016-03-06 21:10 |
From | jpff |
Subject | posting in csound forum (fwd) |
---------- Forwarded message ---------- Date: Sun, 6 Mar 2016 14:59:23 -0500 From: Kevin Armengol |
Date | 2016-03-07 06:35 |
From | Victor Lazzarini |
Subject | Re: posting in csound forum (fwd) |
Which OS? If it is OSX, it is a known issue with the installer that will be fixed in the next release. Meanwhile, a solution might be to first install an earlier version (6.00), then install the latest again (6.06). Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland > On 6 Mar 2016, at 21:10, jpff |
Date | 2016-03-07 06:45 |
From | Kevin Armengol |
Subject | Re: posting in csound forum (fwd) |
Hi Victor, Thanks for the quick reply. I'm running mac os 10.11.2. I actually tried installing 6.00 as well as the other versions first but to no avail. Is the next release far off? Or are there any other work arOunds? I'm new to csound and am using it for research purposes so having a working spectrum display is important for trouble shooting. Thanks. -Kevin On Mar 7, 2016 1:35 AM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Which OS? |
Date | 2016-03-07 07:56 |
From | Victor Lazzarini |
Subject | Re: posting in csound forum (fwd) |
There is a work around. However, you can use the spectral display on CsoundQT. Just place a graph widget on the widgets window and that will be the same as a FLTK graph display. If that is not workable, I will give you instructions to fix the installation. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland
|
Date | 2016-03-07 08:23 |
From | Victor Lazzarini |
Subject | Re: posting in csound forum (fwd) |
Hi Kevin, If you still want to fix the FLTK issue, I searched the list and found my instructions, which solved this problem (for another user). Here they are: ========== I noticed that the installer had a problem where the libwidgets.dylib plugin was linking to a libpng.dylib that was in /usr/local/lib, instead of the correct one that we ship inside the framework. I fixed this, but that will only take effect at the next release. For now, you can use these commands to solve your problem: 1) first check that this is the case: $ otool -L /Library/Frameworks/CsoundLib64.framework/Resources/Opcodes64/libwidgets.dylib /Library/Frameworks/CsoundLib64.framework/Resources/Opcodes64/libwidgets.dylib: libwidgets.dylib (compatibility version 0.0.0, current version 0.0.0) @loader_path/../../../../libs/libfltk_images.1.3.dylib (compatibility version 1.3.0, current version 1.3.3) /usr/local/lib/libpng16.16.dylib (compatibility version 23.0.0, current version 23.0.0) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5) @loader_path/../../../../libs/libfltk.1.3.dylib (compatibility version 1.3.0, current version 1.3.3) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 21.0.0) — see the line /usr/local/lib/libpng16.16.dylib (compatibility version 23.0.0, current version 23.0.0)? That’s the problem. 2) Change the linked-to library. First go to the plugin dir to simplify the commands $ cd /Library/Frameworks/CsoundLib64.framework/Resources/Opcodes64/ then use install_name_tool to change the link in libwidgets.dylib to the correct one $ sudo install_name_tool -change /usr/local/lib/libpng16.16.dylib @loader_path/../../../../libs/libpng16.16.dylib libwidgets.dylib 3) check that it’s done: $ otool -L libwidgets.dylib libwidgets.dylib: libwidgets.dylib (compatibility version 0.0.0, current version 0.0.0) @loader_path/../../../../libs/libfltk_images.1.3.dylib (compatibility version 1.3.0, current version 1.3.3) @loader_path/../../../../libs/libpng16.16.dylib (compatibility version 23.0.0, current version 23.0.0) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5) @loader_path/../../../../libs/libfltk.1.3.dylib (compatibility version 1.3.0, current version 1.3.3) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 21.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 104.1.0) then it should be back working ======================== Dr Victor Lazzarini Dean of Arts, Celtic Studies and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 7 Mar 2016, at 06:45, Kevin Armengol |
Date | 2016-03-07 09:39 |
From | Rory Walsh |
Subject | Re: posting in csound forum (fwd) |
Cabbage and CsoundQT can display FFT contents without needed fltk. On 7 Mar 2016 08:23, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Hi Kevin, |
Date | 2016-03-07 10:16 |
From | Kevin Welsh |
Subject | Re: posting in csound forum (fwd) |
Victor, those instructions did not seem to work for me (OSX 10.7.5). Not really a big deal, I planned on sitting tight until the next release... but figured you should know it may not work for everyone. On Mon, Mar 7, 2016 at 3:23 AM, Victor Lazzarini |
Date | 2016-03-07 10:57 |
From | Victor Lazzarini |
Subject | Re: posting in csound forum (fwd) |
They should work. Did you follow them completely? The checks are important, they need to look exactly as in my email. You might have mistyped or missed a step. ======================== Dr Victor Lazzarini Dean of Arts, Celtic Studies and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 7 Mar 2016, at 10:16, Kevin Welsh |
Date | 2016-03-07 11:03 |
From | Kevin Welsh |
Subject | Re: posting in csound forum (fwd) |
Pretty sure I had followed them completely... the actual commands themselves were copy pasted. I did see the /usr/local/lib entry for png that you said was problematic... here's my output: $ otool -L /Library/Frameworks/CsoundLib64.framework/Resources/Opcodes64/libwidgets.dylib /Library/Frameworks/CsoundLib64.framework/Resources/Opcodes64/libwidgets.dylib: libwidgets.dylib (compatibility version 0.0.0, current version 0.0.0) @loader_path/../../../../libs/libfltk_images.1.3.dylib (compatibility version 1.3.0, current version 1.3.3) /usr/local/lib/libpng16.16.dylib (compatibility version 23.0.0, current version 23.0.0) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5) @loader_path/../../../../libs/libfltk.1.3.dylib (compatibility version 1.3.0, current version 1.3.3) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 21.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 104.1.0) $ cd /Library/Frameworks/CsoundLib64.framework/Resources/Opcodes64/ $ sudo install_name_tool -change /usr/local/lib/libpng16.16.dylib @loader_path/../../../../libs/libpng16.16.dylib libwidgets.dylib $ otool -L libwidgets.dylib libwidgets.dylib: libwidgets.dylib (compatibility version 0.0.0, current version 0.0.0) @loader_path/../../../../libs/libfltk_images.1.3.dylib (compatibility version 1.3.0, current version 1.3.3) @loader_path/../../../../libs/libpng16.16.dylib (compatibility version 23.0.0, current version 23.0.0) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5) @loader_path/../../../../libs/libfltk.1.3.dylib (compatibility version 1.3.0, current version 1.3.3) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 21.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 104.1.0) On Mon, Mar 7, 2016 at 5:57 AM, Victor Lazzarini |
Date | 2016-03-07 11:09 |
From | Victor Lazzarini |
Subject | Re: posting in csound forum (fwd) |
If it had been successful before, the printout for the first command should not have shown this: /usr/local/lib/libpng16.16.dylib (compatibility version 23.0.0, current version 23.0.0) So it means it hadn’t been changed. Now, after you’ve run these commands, can you see if it works? The last printout looks correct. ======================== Dr Victor Lazzarini Dean of Arts, Celtic Studies and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 7 Mar 2016, at 11:03, Kevin Welsh |
Date | 2016-03-07 11:11 |
From | Kevin Welsh |
Subject | Re: posting in csound forum (fwd) |
In the same terminal window after having run those commands with that output, I tried running the tonematrix csd sent to the list (first example that came to mind that uses FLTK), and it failed with the output: error: syntax error, unexpected STRING_TOKEN (token ""Tone Matrix"") from file tonematrix.csd (1) line 282: >>>FLpanel "Tone Matrix" <<< Unexpected untyped word FLpanel when expecting a variable Parsing failed due to invalid input! Stopping on parser failure cannot compile orchestra On Mon, Mar 7, 2016 at 6:09 AM, Victor Lazzarini |
Date | 2016-03-07 11:17 |
From | Victor Lazzarini |
Subject | Re: posting in csound forum (fwd) |
try doing this $ export OPCODEDIR64=/Library/Frameworks/CsoundLib64.framework/Resources/Opcodes64/ and then running the tonematrix.csd ======================== Dr Victor Lazzarini Dean of Arts, Celtic Studies and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 7 Mar 2016, at 11:11, Kevin Welsh |
Date | 2016-03-07 11:27 |
From | Kevin Welsh |
Subject | Re: posting in csound forum (fwd) |
Same result. I had trimmed the output before, but here's the full output in case it's more helpful: WARNING: STK opodes not available: define environment variable RAWWAVE_PATH (points to rawwaves directory) to use STK opcodes. 0dBFS level = 32768.0 Csound version 6.06 (double samples) Sep 29 2015 libsndfile-1.0.25 WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libvirtual.dylib' (-1) WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libwidgets.dylib' (-1) WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libwiimote.dylib' (-1) UnifiedCSD: tonematrix.csd STARTING FILE Creating options Creating orchestra Creating score WARNING: STK opodes not available: define environment variable RAWWAVE_PATH (points to rawwaves directory) to use STK opcodes. rtaudio: PortAudio module enabled ... using callback interface rtmidi: PortMIDI module enabled error: syntax error, unexpected STRING_TOKEN (token ""Tone Matrix"") from file tonematrix.csd (1) line 282: >>>FLpanel "Tone Matrix" <<< Unexpected untyped word FLpanel when expecting a variable Parsing failed due to invalid input! Stopping on parser failure cannot compile orchestra end of score. overall amps: 0.0 overall samples out of range: 0 1 errors in performance Elapsed time at end of performance: real: 0.037s, CPU: 0.028s I checked, the three libs that can't be opened exist and have permissions set to 755, so I'm confused as to why those warnings are there... but perhaps that's a red herring? On Mon, Mar 7, 2016 at 6:17 AM, Victor Lazzarini |
Date | 2016-03-07 11:46 |
From | Victor Lazzarini |
Subject | Re: posting in csound forum (fwd) |
libvirtual and libwidgets depend on FLTK. So I think it’s FLTK that is probably dependent on libraries that are not in earlier versions of OSX. In this case, the new installer will not help, because it is to do with the version of the OS. That could be also the reason why the wiimote lib does not load. best regards ======================== Dr Victor Lazzarini Dean of Arts, Celtic Studies and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 7 Mar 2016, at 11:27, Kevin Welsh |
Date | 2016-03-07 16:24 |
From | Kevin Armengol |
Subject | Re: posting in csound forum (fwd) |
Hi Victor, I am able to use the graph widget in CsountQT to visualize the spectrum, so that is nice. I took your advice and was able to change the /usr/local/lib/libpng16.16.dylib issue, but when running a score I still get the following errors: WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libjacko.dylib' (-1)
WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libjackTransport.dylib' (-1) WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/librtjack.dylib' (-1) WARNING: could not open library '/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64/libvirtual.dylib' (-1) On Mon, Mar 7, 2016 at 6:46 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: libvirtual and libwidgets depend on FLTK. So I think it’s FLTK that is probably dependent on libraries that are Kevin Armengol GMU Class of 2015, MS Systems Biology UVa Class of 2011, BA Cognitive Science (cell): 703-946-4564 (email): kevin.armengol@gmail.com |
Date | 2016-03-07 16:28 |
From | Victor Lazzarini |
Subject | Re: posting in csound forum (fwd) |
The first three are because you don’t have JackOSX installed (so you can ignore it). The third might be because of the same reason of libwidgets.dylib (which is loading now). You can use the same method to fix it. ======================== Dr Victor Lazzarini Dean of Arts, Celtic Studies and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 7 Mar 2016, at 16:24, Kevin Armengol |
Date | 2016-03-07 16:43 |
From | Kevin Armengol |
Subject | Re: posting in csound forum (fwd) |
That makes sense and worked. Sorry, I'm new to this all...Thanks so much Victor. I appreciate the timely responses! On Mon, Mar 7, 2016 at 11:28 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: The first three are because you don’t have JackOSX installed (so you can ignore it). The third might be because of the same reason Kevin Armengol GMU Class of 2015, MS Systems Biology UVa Class of 2011, BA Cognitive Science (cell): 703-946-4564 (email): kevin.armengol@gmail.com |
Date | 2016-03-07 17:04 |
From | Michael Gogins |
Subject | Re: posting in csound forum (fwd) |
These are warnings, not errors. If you do not need Jack out the virtual midi keyboard, you shouldn't have a problem. Regards, On Mar 7, 2016 6:25 PM, "Kevin Armengol" <kevin.armengol@gmail.com> wrote:
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
|
Date | 2016-03-08 10:34 |
From | Kevin Welsh |
Subject | Re: posting in csound forum (fwd) |
Sorry, but does that mean I'm just out of luck? That's a bit surprising since I can compile and install FLTK from source without issue... but yes, after your email I decided to find a basic FLTK .cpp file, and that didn't seem to compile properly either. I didn't find much about it with a quick google search, but I didn't have a whole lot of time to dive deep with it yet. Thanks for the help so far, and if you have any other recommendations, I'd love to hear them... but unfortunately I don't think this laptop is able to be upgraded much past where it is now. On Mon, Mar 7, 2016 at 6:46 AM, Victor Lazzarini |