[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:

https://github.com/csound/plugins/issues/7
https://github.com/csound/plugins/issues/8

ср, 12 янв. 2022 г. в 19:41, Anton Kholomiov <anton.kholomiov@gmail.com>:

I can see that it doesn not copy the plugin files to the mentioned directory :frowning:

ср, 12 янв. 2022 г. в 19:24, Anton Kholomiov <anton.kholomiov@gmail.com>:

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>:

Sorry I don’t know how to use cmake

ср, 12 янв. 2022 г. в 19:18, Anton Kholomiov <anton.kholomiov@gmail.com>:

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>:

Look at the installation paths you posted:

“/usr/local/ /usr/local/lib/csound/plugins64-6.0/libwidgets.so”

hint: there is an extra space in there. The cmake script has some typo in the installation path.

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>:

My csound is in different location

whereis csound
csound: /usr/bin/csound /usr/lib/csound /usr/include/csound

I’ve tried to setup the location:


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

Still csound -z with grep fltk is empty

ср, 12 янв. 2022 г. в 18:42, John ff <jpff@codemist.co.uk>:

I think fltk opcodes are in libwidgets

I will check.

Get TypeApp for Android

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](http://libpython3.9.so)
-- BUILD_PYTHON_OPCODES is enabled.
-- USE_FLTK is enabled.
--
-- ABLETON_LINK_HOME="", so disabling BUILD_ABLETON_LINK_OPCODES
-

But when I do sudo make install I can see no fltk related plugins:

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>:

did you do make install?

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

To me it looks not like external library problem but csound compiler can not compile FLTK-related commands.

I’ve tried the same with Ian Mccurdy example and it also fails to compile the orchestra

ср, 12 янв. 2022 г. в 17:25, Victor Lazzarini < Victor.Lazzarini@mu.ie>:

Not necessarily. Distributions might provide packages with these as they do with Csound.

WarningThis email originated from outside of Maynooth University’s Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

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>:

The fltk opcodes are not longer part of the main csound tree. See https://github.com/csound/plugins

My Csound is --Csound version 6.16 (double samples) Jul 29 2021

ср, 12 янв. 2022 г. в 09:26, Anton Kholomiov < anton.kholomiov@gmail.com>:

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

Can you please help me with that

Thanks!

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

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

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

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

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

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

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

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

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

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

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

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

But when csound copies it all to /usr/local/ it fails to work. I had to manually create symlinks

ср, 12 янв. 2022 г. в 19:48, Anton Kholomiov <anton.kholomiov@gmail.com>:

Yes, there is a bug in cmake file. When I copy manually it works.

Opened the issues:

https://github.com/csound/plugins/issues/7
https://github.com/csound/plugins/issues/8

ср, 12 янв. 2022 г. в 19:41, Anton Kholomiov <anton.kholomiov@gmail.com>:

I can see that it doesn not copy the plugin files to the mentioned directory :frowning:

ср, 12 янв. 2022 г. в 19:24, Anton Kholomiov <anton.kholomiov@gmail.com>:

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>:

Sorry I don’t know how to use cmake

ср, 12 янв. 2022 г. в 19:18, Anton Kholomiov <anton.kholomiov@gmail.com>:

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>:

Look at the installation paths you posted:

“/usr/local/ /usr/local/lib/csound/plugins64-6.0/libwidgets.so”

hint: there is an extra space in there. The cmake script has some typo in the installation path.

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>:

My csound is in different location

whereis csound
csound: /usr/bin/csound /usr/lib/csound /usr/include/csound

I’ve tried to setup the location:


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

Still csound -z with grep fltk is empty

ср, 12 янв. 2022 г. в 18:42, John ff <jpff@codemist.co.uk>:

I think fltk opcodes are in libwidgets

I will check.

Get TypeApp for Android

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](http://libpython3.9.so)
-- BUILD_PYTHON_OPCODES is enabled.
-- USE_FLTK is enabled.
--
-- ABLETON_LINK_HOME="", so disabling BUILD_ABLETON_LINK_OPCODES
-

But when I do sudo make install I can see no fltk related plugins:

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>:

did you do make install?

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

To me it looks not like external library problem but csound compiler can not compile FLTK-related commands.

I’ve tried the same with Ian Mccurdy example and it also fails to compile the orchestra

ср, 12 янв. 2022 г. в 17:25, Victor Lazzarini < Victor.Lazzarini@mu.ie>:

Not necessarily. Distributions might provide packages with these as they do with Csound.

WarningThis email originated from outside of Maynooth University’s Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

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>:

The fltk opcodes are not longer part of the main csound tree. See https://github.com/csound/plugins

My Csound is --Csound version 6.16 (double samples) Jul 29 2021

ср, 12 янв. 2022 г. в 09:26, Anton Kholomiov < anton.kholomiov@gmail.com>:

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

Can you please help me with that

Thanks!

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

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

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

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

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

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

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

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

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

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

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

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

For me solution was:

  • remove system provided csound

  • install csound from sources

  • make symlinks manually for csound libs and headers

  • build plugins

  • manually copy widgets and virtual libs to the plugin path

ср, 12 янв. 2022 г. в 19:49, Anton Kholomiov <anton.kholomiov@gmail.com>:

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

But when csound copies it all to /usr/local/ it fails to work. I had to manually create symlinks

ср, 12 янв. 2022 г. в 19:48, Anton Kholomiov <anton.kholomiov@gmail.com>:

Yes, there is a bug in cmake file. When I copy manually it works.

Opened the issues:

https://github.com/csound/plugins/issues/7
https://github.com/csound/plugins/issues/8

ср, 12 янв. 2022 г. в 19:41, Anton Kholomiov <anton.kholomiov@gmail.com>:

I can see that it doesn not copy the plugin files to the mentioned directory :frowning:

ср, 12 янв. 2022 г. в 19:24, Anton Kholomiov <anton.kholomiov@gmail.com>:

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>:

Sorry I don’t know how to use cmake

ср, 12 янв. 2022 г. в 19:18, Anton Kholomiov <anton.kholomiov@gmail.com>:

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>:

Look at the installation paths you posted:

“/usr/local/ /usr/local/lib/csound/plugins64-6.0/libwidgets.so”

hint: there is an extra space in there. The cmake script has some typo in the installation path.

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>:

My csound is in different location

whereis csound
csound: /usr/bin/csound /usr/lib/csound /usr/include/csound

I’ve tried to setup the location:


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

Still csound -z with grep fltk is empty

ср, 12 янв. 2022 г. в 18:42, John ff <jpff@codemist.co.uk>:

I think fltk opcodes are in libwidgets

I will check.

Get TypeApp for Android

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](http://libpython3.9.so)
-- BUILD_PYTHON_OPCODES is enabled.
-- USE_FLTK is enabled.
--
-- ABLETON_LINK_HOME="", so disabling BUILD_ABLETON_LINK_OPCODES
-

But when I do sudo make install I can see no fltk related plugins:

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>:

did you do make install?

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

To me it looks not like external library problem but csound compiler can not compile FLTK-related commands.

I’ve tried the same with Ian Mccurdy example and it also fails to compile the orchestra

ср, 12 янв. 2022 г. в 17:25, Victor Lazzarini < Victor.Lazzarini@mu.ie>:

Not necessarily. Distributions might provide packages with these as they do with Csound.

WarningThis email originated from outside of Maynooth University’s Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

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>:

The fltk opcodes are not longer part of the main csound tree. See https://github.com/csound/plugins

My Csound is --Csound version 6.16 (double samples) Jul 29 2021

ср, 12 янв. 2022 г. в 09:26, Anton Kholomiov < anton.kholomiov@gmail.com>:

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

Can you please help me with that

Thanks!

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

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

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

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

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

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

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

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

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

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

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

Thanks Victor and all I’m glad that it got clarified

ср, 12 янв. 2022 г. в 19:55, Anton Kholomiov <anton.kholomiov@gmail.com>:

For me solution was:

  • remove system provided csound

  • install csound from sources

  • make symlinks manually for csound libs and headers

  • build plugins

  • manually copy widgets and virtual libs to the plugin path

ср, 12 янв. 2022 г. в 19:49, Anton Kholomiov <anton.kholomiov@gmail.com>:

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

But when csound copies it all to /usr/local/ it fails to work. I had to manually create symlinks

ср, 12 янв. 2022 г. в 19:48, Anton Kholomiov <anton.kholomiov@gmail.com>:

Yes, there is a bug in cmake file. When I copy manually it works.

Opened the issues:

https://github.com/csound/plugins/issues/7
https://github.com/csound/plugins/issues/8

ср, 12 янв. 2022 г. в 19:41, Anton Kholomiov <anton.kholomiov@gmail.com>:

I can see that it doesn not copy the plugin files to the mentioned directory :frowning:

ср, 12 янв. 2022 г. в 19:24, Anton Kholomiov <anton.kholomiov@gmail.com>:

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>:

Sorry I don’t know how to use cmake

ср, 12 янв. 2022 г. в 19:18, Anton Kholomiov <anton.kholomiov@gmail.com>:

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>:

Look at the installation paths you posted:

“/usr/local/ /usr/local/lib/csound/plugins64-6.0/libwidgets.so”

hint: there is an extra space in there. The cmake script has some typo in the installation path.

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>:

My csound is in different location

whereis csound
csound: /usr/bin/csound /usr/lib/csound /usr/include/csound

I’ve tried to setup the location:


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

Still csound -z with grep fltk is empty

ср, 12 янв. 2022 г. в 18:42, John ff <jpff@codemist.co.uk>:

I think fltk opcodes are in libwidgets

I will check.

Get TypeApp for Android

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](http://libpython3.9.so)
-- BUILD_PYTHON_OPCODES is enabled.
-- USE_FLTK is enabled.
--
-- ABLETON_LINK_HOME="", so disabling BUILD_ABLETON_LINK_OPCODES
-

But when I do sudo make install I can see no fltk related plugins:

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>:

did you do make install?

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

To me it looks not like external library problem but csound compiler can not compile FLTK-related commands.

I’ve tried the same with Ian Mccurdy example and it also fails to compile the orchestra

ср, 12 янв. 2022 г. в 17:25, Victor Lazzarini < Victor.Lazzarini@mu.ie>:

Not necessarily. Distributions might provide packages with these as they do with Csound.

WarningThis email originated from outside of Maynooth University’s Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

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>:

The fltk opcodes are not longer part of the main csound tree. See https://github.com/csound/plugins

My Csound is --Csound version 6.16 (double samples) Jul 29 2021

ср, 12 янв. 2022 г. в 09:26, Anton Kholomiov < anton.kholomiov@gmail.com>:

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

Can you please help me with that

Thanks!

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

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

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

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

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

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

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

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

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

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

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

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

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}”)

I see nothing wrong there.