Csound Csound-dev Csound-tekno Search About

[Csnd-dev] plugins for cs7

Date2023-12-27 16:25
FromJohn ff
Subject[Csnd-dev] plugins for cs7
I cannot seem to get these built.  A simple approach of cmake+make
failed as it could not find #include "csdl.h" which is a problem I
have often.  I do not install csound on my system as I change parts of
it frequently and as there are no users on this computer other than
myself it saves quoting the root password repeatedly.

Anyway I tried to overcome this by editing CMakeCache.txt to use the H
directory of my csound7 tree.  That gets me to

........
-- BUILD_JACK_OPCODES is disabled.
-- Could NOT find FLUIDSYNTH (missing: FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR) 
-- FLUIDSYNTH_FOUND="FALSE", so disabling BUILD_FLUID_OPCODES
-- BUILD_FLUID_OPCODES is disabled.
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/home/jpff/cs7/plugins/src/websockets/WEBSOCKETS_H
   used as include directory in directory /home/jpff/cs7/plugins/src/websockets
Python3_LIBRARY
    linked by target "py" in directory /home/jpff/cs7/plugins/src/py
websockets_library
    linked by target "websocketIO" in directory /home/jpff/cs7/plugins/src/websockets

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
make: *** [Makefile:260: cmake_check_build_system] Error 1

I do not think I have any need for websockets but I am unsure about
this message.  It failed to find (for example) fluidsynth so it said it
would not build it.
  I have not looked at the py reference; again I have no interest in python

Plugin
s used to be buildable. Could we return to that state?

==John ffitch

Date2023-12-27 18:16
FromVictor Lazzarini
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] plugins for cs7
I tried it here and was able to build. Perhaps it is a problem to do with not installing Csound?

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 27 Dec 2023, at 16:25, John ff  wrote:
> 
> *Warning*
> 
> This 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.
> 
> I cannot seem to get these built.  A simple approach of cmake+make
> failed as it could not find #include "csdl.h" which is a problem I
> have often.  I do not install csound on my system as I change parts of
> it frequently and as there are no users on this computer other than
> myself it saves quoting the root password repeatedly.
> 
> Anyway I tried to overcome this by editing CMakeCache.txt to use the H
> directory of my csound7 tree.  That gets me to
> 
> ........
> -- BUILD_JACK_OPCODES is disabled.
> -- Could NOT find FLUIDSYNTH (missing: FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR)
> -- FLUIDSYNTH_FOUND="FALSE", so disabling BUILD_FLUID_OPCODES
> -- BUILD_FLUID_OPCODES is disabled.
> -- Configuring done
> CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the CMake files:
> /home/jpff/cs7/plugins/src/websockets/WEBSOCKETS_H
>   used as include directory in directory /home/jpff/cs7/plugins/src/websockets
> Python3_LIBRARY
>    linked by target "py" in directory /home/jpff/cs7/plugins/src/py
> websockets_library
>    linked by target "websocketIO" in directory /home/jpff/cs7/plugins/src/websockets
> 
> -- Generating done
> CMake Generate step failed.  Build files cannot be regenerated correctly.
> make: *** [Makefile:260: cmake_check_build_system] Error 1
> 
> I do not think I have any need for websockets but I am unsure about
> this message.  It failed to find (for example) fluidsynth so it said it
> would not build it.
>  I have not looked at the py reference; again I have no interest in python
> 
> Plugin
> s used to be buildable. Could we return to that state?
> 
> ==John ffitch

Date2023-12-28 01:13
FromStephen Kyne
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] plugins for cs7
I can check to make sure that it's bypassing building of plugins if dependencies are missing. Which plugin are you trying to build exactly? 

The build does look for a version of the Csound headers for building purposes so that is required.

Stephen


From: Csound-developers <CSOUND-DEV@LISTSERV.HEANET.IE> on behalf of Victor Lazzarini <Victor.Lazzarini@MU.IE>
Sent: Wednesday 27 December 2023 19:16
To: CSOUND-DEV@LISTSERV.HEANET.IE <CSOUND-DEV@LISTSERV.HEANET.IE>
Subject: Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] plugins for cs7
 
I tried it here and was able to build. Perhaps it is a problem to do with not installing Csound?

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 27 Dec 2023, at 16:25, John ff <jpff@codemist.co.uk> wrote:
>
> *Warning*
>
> This 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.
>
> I cannot seem to get these built.  A simple approach of cmake+make
> failed as it could not find #include "csdl.h" which is a problem I
> have often.  I do not install csound on my system as I change parts of
> it frequently and as there are no users on this computer other than
> myself it saves quoting the root password repeatedly.
>
> Anyway I tried to overcome this by editing CMakeCache.txt to use the H
> directory of my csound7 tree.  That gets me to
>
> ........
> -- BUILD_JACK_OPCODES is disabled.
> -- Could NOT find FLUIDSYNTH (missing: FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR)
> -- FLUIDSYNTH_FOUND="FALSE", so disabling BUILD_FLUID_OPCODES
> -- BUILD_FLUID_OPCODES is disabled.
> -- Configuring done
> CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the CMake files:
> /home/jpff/cs7/plugins/src/websockets/WEBSOCKETS_H
>   used as include directory in directory /home/jpff/cs7/plugins/src/websockets
> Python3_LIBRARY
>    linked by target "py" in directory /home/jpff/cs7/plugins/src/py
> websockets_library
>    linked by target "websocketIO" in directory /home/jpff/cs7/plugins/src/websockets
>
> -- Generating done
> CMake Generate step failed.  Build files cannot be regenerated correctly.
> make: *** [Makefile:260: cmake_check_build_system] Error 1
>
> I do not think I have any need for websockets but I am unsure about
> this message.  It failed to find (for example) fluidsynth so it said it
> would not build it.
>  I have not looked at the py reference; again I have no interest in python
>
> Plugin
> s used to be buildable. Could we return to that state?
>
> ==John ffitch

Date2023-12-28 15:43
Fromjohn
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] plugins for cs7
I have jhad problems before with installing csound; basically as I 
developed code it try to compile with the instllrf (and out of date) 
headers.  Took a long time to work that out.

I am happy yo ytell cmake where the headers are but I have not found where 
to kick the ode.


On Thu, 28 Dec 2023, Stephen Kyne wrote:

> I can check to make sure that it's bypassing building of plugins if
> dependencies are missing. Which plugin are you trying to build exactly? 
> 
> The build does look for a version of the Csound headers for building
> purposes so that is required.
> 
> Stephen
> 
> ____________________________________________________________________________
> From: Csound-developers  on behalf of Victor
> Lazzarini 
> Sent: Wednesday 27 December 2023 19:16
> To: CSOUND-DEV@LISTSERV.HEANET.IE 
> Subject: Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] plugins for cs7  
> I tried it here and was able to build. Perhaps it is a problem to do with
> not installing Csound?
> 
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> 
> > On 27 Dec 2023, at 16:25, John ff  wrote:
> >
> > *Warning*
> >
> > This 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.
> >
> > I cannot seem to get these built.  A simple approach of cmake+make
> > failed as it could not find #include "csdl.h" which is a problem I
> > have often.  I do not install csound on my system as I change parts of
> > it frequently and as there are no users on this computer other than
> > myself it saves quoting the root password repeatedly.
> >
> > Anyway I tried to overcome this by editing CMakeCache.txt to use the H
> > directory of my csound7 tree.  That gets me to
> >
> > ........
> > -- BUILD_JACK_OPCODES is disabled.
> > -- Could NOT find FLUIDSYNTH (missing: FLUIDSYNTH_LIBRARIES
> FLUIDSYNTH_INCLUDE_DIR)
> > -- FLUIDSYNTH_FOUND="FALSE", so disabling BUILD_FLUID_OPCODES
> > -- BUILD_FLUID_OPCODES is disabled.
> > -- Configuring done
> > CMake Error: The following variables are used in this project, but they
> are set to NOTFOUND.
> > Please set them or make sure they are set and tested correctly in the
> CMake files:
> > /home/jpff/cs7/plugins/src/websockets/WEBSOCKETS_H
> >   used as include directory in directory
> /home/jpff/cs7/plugins/src/websockets
> > Python3_LIBRARY
> >    linked by target "py" in directory /home/jpff/cs7/plugins/src/py
> > websockets_library
> >    linked by target "websocketIO" in directory
> /home/jpff/cs7/plugins/src/websockets
> >
> > -- Generating done
> > CMake Generate step failed.  Build files cannot be regenerated correctly.
> > make: *** [Makefile:260: cmake_check_build_system] Error 1
> >
> > I do not think I have any need for websockets but I am unsure about
> > this message.  It failed to find (for example) fluidsynth so it said it
> > would not build it.
> >  I have not looked at the py reference; again I have no interest in python
> >
> > Plugin
> > s used to be buildable. Could we return to that state?
> >
> > ==John ffitch
> 
>