[Csnd] GUI fltk for manjaro/arch not works
Date | 2022-01-12 06:26 |
From | Anton Kholomiov |
Subject | [Csnd] GUI fltk for manjaro/arch not works |
Please can you help me to set up the GUI for manjaro/arch. When I was on Ubuntu it worked fine. But after switch to Manjaro I get:``` error: syntax error, unexpected STRING_TOKEN (token """) from file tmp.csd (1) line 23: >>>FLpanel " <<< 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 ``` |
Date | 2022-01-12 06:29 |
From | Anton Kholomiov |
Subject | Re: [Csnd] GUI fltk for manjaro/arch not works |
My Csound is --Csound version 6.16 (double samples) Jul 29 2021 ср, 12 янв. 2022 г. в 09:26, Anton Kholomiov <anton.kholomiov@gmail.com>:
|
Date | 2022-01-12 08:02 |
From | Eduardo Moguillansky |
Subject | Re: [Csnd] GUI fltk for manjaro/arch not works |
The fltk opcodes are not longer part of the main csound tree. See
https://github.com/csound/plugins On 12.01.22 07:29, Anton Kholomiov
wrote:
|
Date | 2022-01-12 14:14 |
From | Anton Kholomiov |
Subject | Re: [Csnd] GUI fltk for manjaro/arch not works |
Thanks for your reply. So it means it have to be built from sources from now on ср, 12 янв. 2022 г. в 11:02, Eduardo Moguillansky <eduardo.moguillansky@gmail.com>:
|
Date | 2022-01-12 14:25 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
Not necessarily. Distributions might provide packages with these as they do with Csound.
|
Date | 2022-01-12 14:53 |
From | Anton Kholomiov |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
I've compiled plugins from sources and it said that fltk is enabled. But when I compile I still get error:~~~ error: syntax error, unexpected STRING_TOKEN (token """) from file tmp.csd (1)line 23: >>>FLpanel " <<< Unexpected untyped word FLpanel when expecting a variable Parsing failed due to invalid input! Stopping on parser failure cannot compile orchestra ~~~ ср, 12 янв. 2022 г. в 17:25, Victor Lazzarini <Victor.Lazzarini@mu.ie>:
|
Date | 2022-01-12 15:09 |
From | John ff |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
Looks like not loading the fltk plugin which defines the opcodes.
Check with -z
On 12 Jan 2022, at 14:56, Anton Kholomiov <anton.kholomiov@gmail.com> wrote:
|
Date | 2022-01-12 15:10 |
From | Eduardo Moguillansky |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
Post the result of this: If it doesn't print anything, the fltjk plugin is either not
installed or not being loaded by csound On 12.01.22 15:53, Anton Kholomiov
wrote:
|
Date | 2022-01-12 15:18 |
From | Anton Kholomiov |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
I've tried that. It's empty(( ср, 12 янв. 2022 г. в 18:10, Eduardo Moguillansky <eduardo.moguillansky@gmail.com>:
|
Date | 2022-01-12 15:27 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
did you do make install?
|
Date | 2022-01-12 15:33 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
The installation location is shown in the terminal by cmake
-- Plugins to be installed at:
By default this is /usr/llocal/lib/csound/plugins64-6.0
But if your Csound is installed in /usr/local/lib64 you need to set -DUSE_LIB64=1 to install at
/usr/llocal/lib64/csound/plugins64-6.0
|
Date | 2022-01-12 15:34 |
From | Anton Kholomiov |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
Yeah I did all that was proposed on the plugins repo. That is strange. I have fltk installed. And cmake says that flag is enabled|:~~~ -- Python libraries: /usr/lib/libpython3.9.so -- BUILD_PYTHON_OPCODES is enabled. -- USE_FLTK is enabled. -- -- ABLETON_LINK_HOME="", so disabling BUILD_ABLETON_LINK_OPCODES - ~~~ ~~~ Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libimage.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libpy.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libwidgets.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libvirtual.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libstkops.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libwebsocketIO.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libhdf5ops.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libwiimote.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libjacko.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libjackTransport.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libfluidOpcodes.so anton@hp:~/tools/plugins/build$ ~~~ ср, 12 янв. 2022 г. в 18:27, Victor Lazzarini <Victor.Lazzarini@mu.ie>:
|
Date | 2022-01-12 15:42 |
From | John ff |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
I think fltk opcodes are in libwidgets
I will check.
On 12 Jan 2022, at 15:37, Anton Kholomiov <anton.kholomiov@gmail.com> wrote:
|
Date | 2022-01-12 15:43 |
From | Anton Kholomiov |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
My csound is in different location I've tried to setup the location:~~~ whereis csound csound: /usr/bin/csound /usr/lib/csound /usr/include/csound ~~~ ~~~ cmake -DCSOUND_INCLUDE_DIR_HINT=/usr/include/csound -DCSOUND_LIBRARY_DIR_HINT=/usr/lib/csound ../ make sudo make install Install the project.../usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libimage.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libpy.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libwidgets.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libvirtual.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libstkops.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libwebsocketIO.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libhdf5ops.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libwiimote.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libjacko.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libjackTransport.so -- Up-to-date: /usr/local/ /usr/local/lib/csound/plugins64-6.0/libfluidOpcodes.so ~~~ ср, 12 янв. 2022 г. в 18:42, John ff <jpff@codemist.co.uk>:
|
Date | 2022-01-12 15:46 |
From | Anton Kholomiov |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
Strange that it seems to not to react to the PATHs. Because by the make install log it still installs them in different locationср, 12 янв. 2022 г. в 18:43, Anton Kholomiov <anton.kholomiov@gmail.com>:
|
Date | 2022-01-12 16:05 |
From | Eduardo Moguillansky |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
Look at the installation paths you posted: On 12.01.22 16:46, Anton Kholomiov
wrote:
|
Date | 2022-01-12 16:18 |
From | Anton Kholomiov |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
I don't mention /usr/local anywhere why it uses that? ~~~ cmake -DCSOUND_INCLUDE_DIR_HINT=/usr/include/csound -DCSOUND_LIBRARY_DIR_HINT=/usr/lib/csound -DCS_USER_PLUGIN=/usr/lib/csound/plugins64-6.0 ../ ~~~ ср, 12 янв. 2022 г. в 19:05, Eduardo Moguillansky <eduardo.moguillansky@gmail.com>:
|
Date | 2022-01-12 16:19 |
From | Anton Kholomiov |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
Sorry I don't know how to use cmake ср, 12 янв. 2022 г. в 19:18, Anton Kholomiov <anton.kholomiov@gmail.com>:
|
Date | 2022-01-12 16:24 |
From | Anton Kholomiov |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
I guess the problem is that my distro installs csound not to the /usr/local and for plugins there is no way to change that on cmake to specify install location because /usr/local is always prefixed in config file ср, 12 янв. 2022 г. в 19:19, Anton Kholomiov <anton.kholomiov@gmail.com>:
|
Date | 2022-01-12 16:41 |
From | Anton Kholomiov |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
I can see that it doesn not copy the plugin files to the mentioned directory :( ср, 12 янв. 2022 г. в 19:24, Anton Kholomiov <anton.kholomiov@gmail.com>:
|
Date | 2022-01-12 16:48 |
From | Anton Kholomiov |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
Yes, there is a bug in cmake file. When I copy manually it works. Opened the issues:ср, 12 янв. 2022 г. в 19:41, Anton Kholomiov <anton.kholomiov@gmail.com>:
|
Date | 2022-01-12 16:49 |
From | Anton Kholomiov |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
Also to try it out I had to install csound from sources. And there were also problems: My system (Manjaro) expects headers to be in /usr/include and sos in /usr/libср, 12 янв. 2022 г. в 19:48, Anton Kholomiov <anton.kholomiov@gmail.com>:
|
Date | 2022-01-12 16:55 |
From | Anton Kholomiov |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
For me solution was: - remove system provided csoundср, 12 янв. 2022 г. в 19:49, Anton Kholomiov <anton.kholomiov@gmail.com>:
|
Date | 2022-01-12 16:56 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
yes, there is a problem with the cmake script in the installation. I'll fix it and let you know.
Prof. Victor Lazzarini
Maynooth University
Ireland
On 12 Jan 2022, at 15:37, Anton Kholomiov <anton.kholomiov@gmail.com> wrote:
|
Date | 2022-01-12 16:58 |
From | Anton Kholomiov |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
Thanks Victor and all I'm glad that it got clarified ср, 12 янв. 2022 г. в 19:55, Anton Kholomiov <anton.kholomiov@gmail.com>:
|
Date | 2022-01-12 17:05 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
There is a typo in the script, but once that is fixed you need to set the prefix to install in a custom location. Prof. Victor Lazzarini
Maynooth University
Ireland
On 12 Jan 2022, at 16:58, Anton Kholomiov <anton.kholomiov@gmail.com> wrote:
|
Date | 2022-01-12 17:49 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] GUI fltk for manjaro/arch not works |
I actually looked at the script and it seemed correct to me, so it looks like there was a duff CMAKE_INSTALL_PREFIX being set
if(USE_LIB64)
set(LIBRARY_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib64")
add_definitions("-DLIB64")
else()
set(LIBRARY_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib")
endif()
if(USE_DOUBLE)
message(STATUS "Building with 64-bit floats")
if(APPLE)
...
elseif(LINUX)
set(PLUGIN_INSTALL_DIR
"${LIBRARY_INSTALL_DIR}/csound/plugins64-${APIVERSION}")
|