Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Configuration problem

Date2018-01-05 14:57
Fromjpff
Subject[Csnd-dev] Configuration problem
I have a new machine so it is time to resolve this issue!

Running cmake all is OK until
...
-- SWIG_USE_FILE: /usr/share/cmake/Modules/UseSWIG.cmake
-- Building csLadspa.
-- BUILD_CSBEATS is enabled.
-- PD_HEADER_PATH="PD_HEADER_PATH-NOTFOUND", so disabling BUILD_PD_CLASS
-- BUILD_PD_CLASS is disabled.
-- BUILD_WINSOUND is enabled.
CMake Warning at frontends/CsoundAC/CMakeLists.txt:14 (find_package):
Could not find a package configuration file provided by "Eigen3" with any
  of the following names:

    Eigen3Config.cmake
    eigen3-config.cmake

  Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
  "Eigen3_DIR" to a directory containing one of the above files.  If "Eigen3"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Found SWIG: /usr/bin/swig (found version "3.0.10") 
...

However I have eigen3 installed

zypper se eigen
S | Name            | Summary                                         | Type   
--+-----------------+-------------------------------------------------+--------
i | eigen3-devel    | C++ Template Library for Linear Algebra         | package
  | libeigen2-devel | Lightweight linear algebra C++ template library | package

How do I fix?  currently it is stopping build of csoun - it crashes out

Date2018-01-05 15:29
FromVictor Lazzarini
SubjectRe: [Csnd-dev] Configuration problem
I have a similar message here in my systems, but it doesn’t crash out. It just carries on. I have
BUILD_CSOUND_AC OFF and maybe that is why.
========================
Prof. 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 5 Jan 2018, at 14:57, jpff  wrote:
> 
> I have a new machine so it is time to resolve this issue!
> 
> Running cmake all is OK until
> ...
> -- SWIG_USE_FILE: /usr/share/cmake/Modules/UseSWIG.cmake
> -- Building csLadspa.
> -- BUILD_CSBEATS is enabled.
> -- PD_HEADER_PATH="PD_HEADER_PATH-NOTFOUND", so disabling BUILD_PD_CLASS
> -- BUILD_PD_CLASS is disabled.
> -- BUILD_WINSOUND is enabled.
> CMake Warning at frontends/CsoundAC/CMakeLists.txt:14 (find_package):
> Could not find a package configuration file provided by "Eigen3" with any
>  of the following names:
> 
>    Eigen3Config.cmake
>    eigen3-config.cmake
> 
>  Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
>  "Eigen3_DIR" to a directory containing one of the above files.  If "Eigen3"
>  provides a separate development package or SDK, be sure it has been
>  installed.
> 
> 
> -- Found SWIG: /usr/bin/swig (found version "3.0.10") 
> ...
> 
> However I have eigen3 installed
> 
> zypper se eigen
> S | Name            | Summary                                         | Type   
> --+-----------------+-------------------------------------------------+--------
> i | eigen3-devel    | C++ Template Library for Linear Algebra         | package
>  | libeigen2-devel | Lightweight linear algebra C++ template library | package
> 
> How do I fix?  currently it is stopping build 

Date2018-01-05 18:01
Fromjpff
SubjectRe: [Csnd-dev] Configuration problem
I am see
  70%] Building CXX object 
Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o
cd /home/jpff/csound6/Opcodes && /usr/bin/c++ 
-DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib64/csound/plugins64-6.0\" 
-DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLIB64 -DLINUX 
-DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_ -D_GNU_SOURCE 
-Dchua_EXPORTS -I/usr/local/include -I/home/jpff/csound6/./H 
-I/home/jpff/csound6/./include -I/home/jpff/csound6/./Engine 
-I/home/jpff/csound6/. -I/home/jpff/csound6 -I/home/jpff/csound6/include 
-ffast-math -mfpmath=sse -msse2 -fomit-frame-pointer -DJPFF -std=c++11 
-fvisibility=hidden -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN -g -fPIC 
-Wno-format -o CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o -c 
/home/jpff/csound6/Opcodes/chua/ChuaOscillator.cpp
/home/jpff/csound6/Opcodes/chua/ChuaOscillator.cpp:120:30: fatal error: 
eigen3/Eigen/Dense: No such file or directory
  #include 
                               ^
compilation terminated.
Opcodes/CMakeFiles/chua.dir/build.make:65: recipe for target 
'Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o' failed
make[2]: *** [Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o] Error 
1
make[2]: Leaving directory '/home/jpff/csound6'
CMakeFiles/Makefile2:991: recipe for target 
'Opcodes/CMakeFiles/chua.dir/all' failed
make[1]: *** [Opcodes/CMakeFiles/chua.dir/all] Error 2
make[1]: Leaving directory '/home/jpff/csound6'
Makefile:163: recipe for target 'all' failed
make: *** [all] Error 2

if it needs files not existing the onfguration should notice



On Fri, 5 Jan 2018, Victor Lazzarini wrote:

> I have a similar message here in my systems, but it doesn’t crash out. It just carries on. I have
> BUILD_CSOUND_AC OFF and maybe that is why.
> ========================
> Prof. 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 5 Jan 2018, at 14:57, jpff  wrote:
>>
>> I have a new machine so it is time to resolve this issue!
>>
>> Running cmake all is OK until
>> ...
>> -- SWIG_USE_FILE: /usr/share/cmake/Modules/UseSWIG.cmake
>> -- Building csLadspa.
>> -- BUILD_CSBEATS is enabled.
>> -- PD_HEADER_PATH="PD_HEADER_PATH-NOTFOUND", so disabling BUILD_PD_CLASS
>> -- BUILD_PD_CLASS is disabled.
>> -- BUILD_WINSOUND is enabled.
>> CMake Warning at frontends/CsoundAC/CMakeLists.txt:14 (find_package):
>> Could not find a package configuration file provided by "Eigen3" with any
>>  of the following names:
>>
>>    Eigen3Config.cmake
>>    eigen3-config.cmake
>>
>>  Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
>>  "Eigen3_DIR" to a directory containing one of the above files.  If "Eigen3"
>>  provides a separate development package or SDK, be sure it has been
>>  installed.
>>
>>
>> -- Found SWIG: /usr/bin/swig (found version "3.0.10")
>> ...
>>
>> However I have eigen3 installed
>>
>> zypper se eigen
>> S | Name            | Summary                                         | Type
>> --+-----------------+-------------------------------------------------+--------
>> i | eigen3-devel    | C++ Template Library for Linear Algebra         | package
>>  | libeigen2-devel | Lightweight linear algebra C++ template library | package
>>
>> How do I fix?  currently it is stopping build of csoun - it crashes out
>>
>> ==John ffitch
>
>

Date2018-01-05 18:34
FromVictor Lazzarini
SubjectRe: [Csnd-dev] Configuration problem
I guess so. Not sure what is the matter.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 5 Jan 2018, at 18:02, jpff <jpff@CODEMIST.CO.UK> wrote:

I am see
70%] Building CXX object Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o
cd /home/jpff/csound6/Opcodes && /usr/bin/c++ -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib64/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLIB64 -DLINUX -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dchua_EXPORTS -I/usr/local/include -I/home/jpff/csound6/./H -I/home/jpff/csound6/./include -I/home/jpff/csound6/./Engine -I/home/jpff/csound6/. -I/home/jpff/csound6 -I/home/jpff/csound6/include -ffast-math -mfpmath=sse -msse2 -fomit-frame-pointer -DJPFF -std=c++11 -fvisibility=hidden -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN -g -fPIC -Wno-format -o CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o -c /home/jpff/csound6/Opcodes/chua/ChuaOscillator.cpp
/home/jpff/csound6/Opcodes/chua/ChuaOscillator.cpp:120:30: fatal error: eigen3/Eigen/Dense: No such file or directory
#include <eigen3/Eigen/Dense>
                             ^
compilation terminated.
Opcodes/CMakeFiles/chua.dir/build.make:65: recipe for target 'Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o' failed
make[2]: *** [Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o] Error 1
make[2]: Leaving directory '/home/jpff/csound6'
CMakeFiles/Makefile2:991: recipe for target 'Opcodes/CMakeFiles/chua.dir/all' failed
make[1]: *** [Opcodes/CMakeFiles/chua.dir/all] Error 2
make[1]: Leaving directory '/home/jpff/csound6'
Makefile:163: recipe for target 'all' failed
make: *** [all] Error 2

if it needs files not existing the onfguration should notice



On Fri, 5 Jan 2018, Victor Lazzarini wrote:

I have a similar message here in my systems, but it doesn’t crash out. It just carries on. I have
BUILD_CSOUND_AC OFF and maybe that is why.
========================
Prof. 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 5 Jan 2018, at 14:57, jpff <jpff@codemist.co.uk> wrote:

I have a new machine so it is time to resolve this issue!

Running cmake all is OK until
...
-- SWIG_USE_FILE: /usr/share/cmake/Modules/UseSWIG.cmake
-- Building csLadspa.
-- BUILD_CSBEATS is enabled.
-- PD_HEADER_PATH="PD_HEADER_PATH-NOTFOUND", so disabling BUILD_PD_CLASS
-- BUILD_PD_CLASS is disabled.
-- BUILD_WINSOUND is enabled.
CMake Warning at frontends/CsoundAC/CMakeLists.txt:14 (find_package):
Could not find a package configuration file provided by "Eigen3" with any
of the following names:

  Eigen3Config.cmake
  eigen3-config.cmake

Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
"Eigen3_DIR" to a directory containing one of the above files.  If "Eigen3"
provides a separate development package or SDK, be sure it has been
installed.


-- Found SWIG: /usr/bin/swig (found version "3.0.10")
...

However I have eigen3 installed

zypper se eigen
S | Name            | Summary                                         | Type
--+-----------------+-------------------------------------------------+--------
i | eigen3-devel    | C++ Template Library for Linear Algebra         | package
| libeigen2-devel | Lightweight linear algebra C++ template library | package

How do I fix?  currently it is stopping build of csoun - it crashes out

==John ffitch


Date2018-01-06 13:14
FromVictor Lazzarini
SubjectRe: [Csnd-dev] Configuration problem
My configuration here has eigen headers in /usr/local/include and Eigen3_DIR as Eigen3_DIR-NOTFOUND 
========================
Prof. 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 5 Jan 2018, at 18:34, Victor Lazzarini  wrote:
> 
> I guess so. Not sure what is the matter.
> 
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
> On 5 Jan 2018, at 18:02, jpff  wrote:
> 
>> I am see
>> 70%] Building CXX object Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o
>> cd /home/jpff/csound6/Opcodes && /usr/bin/c++ -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib64/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLIB64 -DLINUX -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dchua_EXPORTS -I/usr/local/include -I/home/jpff/csound6/./H -I/home/jpff/csound6/./include -I/home/jpff/csound6/./Engine -I/home/jpff/csound6/. -I/home/jpff/csound6 -I/home/jpff/csound6/include -ffast-math -mfpmath=sse -msse2 -fomit-frame-pointer -DJPFF -std=c++11 -fvisibility=hidden -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN -g -fPIC -Wno-format -o CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o -c /home/jpff/csound6/Opcodes/chua/ChuaOscillator.cpp
>> /home/jpff/csound6/Opcodes/chua/ChuaOscillator.cpp:120:30: fatal error: eigen3/Eigen/Dense: No such file or directory
>> #include 
>>                              ^
>> compilation terminated.
>> Opcodes/CMakeFiles/chua.dir/build.make:65: recipe for target 'Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o' failed
>> make[2]: *** [Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o] Error 1
>> make[2]: Leaving directory '/home/jpff/csound6'
>> CMakeFiles/Makefile2:991: recipe for target 'Opcodes/CMakeFiles/chua.dir/all' failed
>> make[1]: *** [Opcodes/CMakeFiles/chua.dir/all] Error 2
>> make[1]: Leaving directory '/home/jpff/csound6'
>> Makefile:163: recipe for target 'all' failed
>> make: *** [all] Error 2
>> 
>> if it needs files not existing the onfguration should notice
>> 
>> 
>> 
>> On Fri, 5 Jan 2018, Victor Lazzarini wrote:
>> 
>>> I have a similar message here in my systems, but it doesn’t crash out. It just carries on. I have
>>> BUILD_CSOUND_AC OFF and maybe that is why.
>>> ========================
>>> Prof. 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 5 Jan 2018, at 14:57, jpff  wrote:
>>>> 
>>>> I have a new machine so it is time to resolve this issue!
>>>> 
>>>> Running cmake all is OK until
>>>> ...
>>>> -- SWIG_USE_FILE: /usr/share/cmake/Modules/UseSWIG.cmake
>>>> -- Building csLadspa.
>>>> -- BUILD_CSBEATS is enabled.
>>>> -- PD_HEADER_PATH="PD_HEADER_PATH-NOTFOUND", so disabling BUILD_PD_CLASS
>>>> -- BUILD_PD_CLASS is disabled.
>>>> -- BUILD_WINSOUND is enabled.
>>>> CMake Warning at frontends/CsoundAC/CMakeLists.txt:14 (find_package):
>>>> Could not find a package configuration file provided by "Eigen3" with any
>>>> of the following names:
>>>> 
>>>>   Eigen3Config.cmake
>>>>   eigen3-config.cmake
>>>> 
>>>> Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
>>>> "Eigen3_DIR" to a directory containing one of the above files.  If "Eigen3"
>>>> provides a separate development package or SDK, be sure it has been
>>>> installed.
>>>> 
>>>> 
>>>> -- Found SWIG: /usr/bin/swig (found version "3.0.10")
>>>> ...
>>>> 
>>>> However I have eigen3 installed
>>>> 
>>>> zypper se eigen
>>>> S | Name            | Summary                                         | Type
>>>> --+-----------------+-------------------------------------------------+--------
>>>> i | eigen3-devel    | C++ Template Library for Linear Algebra         | package
>>>> | libeigen2-devel | Lightweight linear algebra C++ template library | package
>>>> 
>>>> How do I fix?  currently it is stopping build of csoun - it crashes

Date2018-01-06 14:19
FromJohn ff
SubjectRe: [Csnd-dev] Configuration problem
I have (now) got that header.  Still think there is something wrong with the cake configuration.

⁣Sent from TypeApp ​

On Jan 6, 2018, 13:15, at 13:15, Victor Lazzarini  wrote:
>My configuration here has eigen headers in /usr/local/include and
>Eigen3_DIR as Eigen3_DIR-NOTFOUND 
>========================
>Prof. 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 5 Jan 2018, at 18:34, Victor Lazzarini 
>wrote:
>> 
>> I guess so. Not sure what is the matter.
>> 
>> Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy
>> Maynooth University
>> Ireland
>> 
>> On 5 Jan 2018, at 18:02, jpff  wrote:
>> 
>>> I am see
>>> 70%] Building CXX object
>Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o
>>> cd /home/jpff/csound6/Opcodes && /usr/bin/c++
>-DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib64/csound/plugins64-6.0\"
>-DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLIB64 -DLINUX
>-DNO_FLTK_THREADS -DPIPES -DUSE_LRINT -D_CSOUND_RELEASE_ -D_GNU_SOURCE
>-Dchua_EXPORTS -I/usr/local/include -I/home/jpff/csound6/./H
>-I/home/jpff/csound6/./include -I/home/jpff/csound6/./Engine
>-I/home/jpff/csound6/. -I/home/jpff/csound6
>-I/home/jpff/csound6/include -ffast-math -mfpmath=sse -msse2
>-fomit-frame-pointer -DJPFF -std=c++11 -fvisibility=hidden
>-fvisibility=hidden -DHAVE_ATOMIC_BUILTIN -g -fPIC -Wno-format -o
>CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o -c
>/home/jpff/csound6/Opcodes/chua/ChuaOscillator.cpp
>>> /home/jpff/csound6/Opcodes/chua/ChuaOscillator.cpp:120:30: fatal
>error: eigen3/Eigen/Dense: No such file or directory
>>> #include 
>>>                              ^
>>> compilation terminated.
>>> Opcodes/CMakeFiles/chua.dir/build.make:65: recipe for target
>'Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o' failed
>>> make[2]: *** [Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.o]
>Error 1
>>> make[2]: Leaving directory '/home/jpff/csound6'
>>> CMakeFiles/Makefile2:991: recipe for target
>'Opcodes/CMakeFiles/chua.dir/all' failed
>>> make[1]: *** [Opcodes/CMakeFiles/chua.dir/all] Error 2
>>> make[1]: Leaving directory '/home/jpff/csound6'
>>> Makefile:163: recipe for target 'all' failed
>>> make: *** [all] Error 2
>>> 
>>> if it needs files not existing the onfguration should notice
>>> 
>>> 
>>> 
>>> On Fri, 5 Jan 2018, Victor Lazzarini wrote:
>>> 
>>>> I have a similar message here in my systems, but it doesn’t crash
>out. It just carries on. I have
>>>> BUILD_CSOUND_AC OFF and maybe that is why.
>>>> ========================
>>>> Prof. 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 5 Jan 2018, at 14:57, jpff  wrote:
>>>>> 
>>>>> I have a new machine so it is time to resolve this issue!
>>>>> 
>>>>> Running cmake all is OK until
>>>>> ...
>>>>> -- SWIG_USE_FILE: /usr/share/cmake/Modules/UseSWIG.cmake
>>>>> -- Building csLadspa.
>>>>> -- BUILD_CSBEATS is enabled.
>>>>> -- PD_HEADER_PATH="PD_HEADER_PATH-NOTFOUND", so disabling
>BUILD_PD_CLASS
>>>>> -- BUILD_PD_CLASS is disabled.
>>>>> -- BUILD_WINSOUND is enabled.
>>>>> CMake Warning at frontends/CsoundAC/CMakeLists.txt:14
>(find_package):
>>>>> Could not find a package configuration file provided by "Eigen3"
>with any
>>>>> of the following names:
>>>>> 
>>>>>   Eigen3Config.cmake
>>>>>   eigen3-config.cmake
>>>>> 
>>>>> Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or
>set
>>>>> "Eigen3_DIR" to a directory containing one of the above files.  If
>"Eigen3"
>>>>> provides a separate development package or SDK, be sure it has
>been
>>>>> installed.
>>>>> 
>>>>> 
>>>>> -- Found SWIG: /usr/bin/swig (found version "3.0.10")
>>>>> ...
>>>>> 
>>>>> However I have eigen3 installed
>>>>> 
>>>>> zypper se eigen
>>>>> S | Name            | Summary                                     
>   | Type
>>>>>
>--+-----------------+-------------------------------------------------+--------
>>>>> i | eigen3-devel    | C++ Template Library for Linear Algebra     
>   | package
>>>>> | libeigen2-devel | Lightweight linear algebra C++ template
>library | package
>>>>> 
>>>>> How do I fix?  currently it is stopping build of csoun - it
>crashes out
>>>>> 
>>>>> ==John ffitch