Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Problem with cmake

Date2018-01-10 19:02
FromJohn
Subject[Csnd-dev] Problem with cmake
On Debian jessie....

Since not sure when I cannot build csound.  I have SWIG, ala and stuff
installed but the errors (below) claim all kinds of problems.  Any
ideas what has gone wrong/what I am missing?  Could not see anything
odd in the cmake logs

==John ff

/usr/bin/cmake -H/home/jpff/csound6 -B/home/jpff/csound6 --check-build-system CMakeFiles/Makefile.cmake 0
-- /home/jpff/csound6
-- Including Custom.cmake file: /home/jpff/csound6/Custom.cmake
-- LIBRARY INSTALL DIR: lib
-- Building with 64-bit floats
-- BUILD_BIN_DIR set to /home/jpff/csound6.
-- BUILD_LIB_DIR set to /home/jpff/csound6.
-- BUILD_PLUGINS_DIR set to /home/jpff/csound6.
-- Could NOT find CURL (missing:  CURL_LIBRARY CURL_INCLUDE_DIR) 
-- Could NOT find Java (missing:  Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) (found version "1.7.0.151")
-- Could NOT find JNI (missing:  JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) 
-- Could NOT find LUAJIT (missing:  LUAJIT_LIBRARY LUAJIT_INCLUDE_DIR) 
-- Could NOT find MUSICXML (missing:  MUSICXML_LIBRARY MUSICXML_INCLUDE_DIR) 
-- Could NOT find PORTSMF (missing:  PORTSMF_LIBRARY PORTSMF_INCLUDE_DIR) 
-- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS) (Required is at least version "2.7")
-- Could NOT find STK (missing:  STK_LIBRARY STK_INCLUDE_DIR) 
-- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR) 
-- Could NOT find VSTSDK2X (missing:  VSTSDK2X_INCLUDE_DIR) 
-- Using atomic builtins.
-- Could NOT find GMM (missing:  GMM_INCLUDE_DIR) 
-- USE_LRINT is enabled.
-- Could NOT find CURL (missing:  CURL_LIBRARY CURL_INCLUDE_DIR) 
-- Not using CURL for urls - not found.
-- Not building with new parser debugging.
-- Building with multicore support.
-- USE_GETTEXT is enabled.
-- Using GNU gettext.
-- Setting textdomain to /usr/local/share/locale.
-- Building on Linux.
--   ADDING LIBRT LIBRARY: /usr/lib/x86_64-linux-gnu/librt.so.
-- ## Building Opcodes ##
-- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS) 
-- BUILD_CHUA_OPCODES is enabled.
-- BUILD_DSSI_OPCODES is enabled.
-- FLUIDSYNTH_H="", so disabling BUILD_FLUID_OPCODES
-- BUILD_FLUID_OPCODES is disabled.
-- JACK_HEADER="", so disabling BUILD_JACK_OPCODES
-- BUILD_JACK_OPCODES is disabled.
-- GMM_FOUND="FALSE", so disabling BUILD_LINEAR_ALGEBRA_OPCODES
-- BUILD_LINEAR_ALGEBRA_OPCODES is disabled.
-- BUILD_OSC_OPCODES is enabled.
-- BUILD_IMAGE_OPCODES is enabled.
-- PYTHONLIBS_FOUND="FALSE", so disabling BUILD_PYTHON_OPCODES
-- BUILD_PYTHON_OPCODES is disabled.
-- LUAJIT_LIBRARY="LUAJIT_LIBRARY-NOTFOUND", so disabling BUILD_LUA_OPCODES
-- LUA_H_PATH="LUA_H_PATH-NOTFOUND", so disabling BUILD_LUA_OPCODES
-- BUILD_LUA_OPCODES is disabled.
-- WIIUSE_H="", so disabling BUILD_WIIMOTE_OPCODES
-- WIIUSE_LIB="WIIUSE_LIB-NOTFOUND", so disabling BUILD_WIIMOTE_OPCODES
-- BUILD_WIIMOTE_OPCODES is disabled.
-- BUILD_P5GLOVE_OPCODES is enabled.
-- BUILD_FAUST_OPCODES is disabled.
-- BUILD_VST4CS_OPCODES is disabled.
-- VSTSDK2X_INCLUDE_DIR: VSTSDK2X_INCLUDE_DIR-NOTFOUND
-- BUILD_ABLETON_LINK_OPCODES is disabled.
-- Could NOT find STK (missing:  STK_LIBRARY STK_INCLUDE_DIR) 
-- STK_FOUND="FALSE", so disabling BUILD_STK_OPCODES
-- STK_INCLUDE_DIR="STK_INCLUDE_DIR-NOTFOUND", so disabling BUILD_STK_OPCODES
-- BUILD_STK_OPCODES is disabled.
-- Could NOT find HDF5 (missing:  HDF5_LIBRARIES HDF5_INCLUDE_DIRS) 
-- HDF5_FOUND="FALSE", so disabling BUILD_HDF5_OPCODES
-- BUILD_HDF5_OPCODES is disabled.
-- websockets_library="websockets_library-NOTFOUND", so disabling BUILD_WEBSOCKET_OPCODE
-- BUILD_WEBSOCKET_OPCODE is disabled.
-- 
-- ## REALTIME AUDIO AND MIDI ##
-- APPLE="", so disabling USE_COREMIDI
-- COREMIDI_INCLUDE_PATH="COREMIDI_INCLUDE_PATH-NOTFOUND", so disabling USE_COREMIDI
-- COREMIDI_LIBRARY="COREMIDI_LIBRARY-NOTFOUND", so disabling USE_COREMIDI
-- COREFOUNDATION_LIBRARY="COREFOUNDATION_LIBRARY-NOTFOUND", so disabling USE_COREMIDI
-- USE_COREMIDI is disabled.
-- APPLE="", so disabling USE_AUDIOUNIT
-- COREAUDIO_INCLUDE_PATH="COREAUDIO_INCLUDE_PATH-NOTFOUND", so disabling USE_AUDIOUNIT
-- COREAUDIO_LIBRARY="COREAUDIO_LIBRARY-NOTFOUND", so disabling USE_AUDIOUNIT
-- AUDIOUNIT_INCLUDE_PATH="AUDIOUNIT_INCLUDE_PATH-NOTFOUND", so disabling USE_AUDIOUNIT
-- AUDIOUNIT_LIBRARY="AUDIOUNIT_LIBRARY-NOTFOUND", so disabling USE_AUDIOUNIT
-- COREFOUNDATION_LIBRARY="COREFOUNDATION_LIBRARY-NOTFOUND", so disabling USE_AUDIOUNIT
-- USE_AUDIOUNIT is disabled.
-- ALSA_HEADER="", so disabling USE_ALSA
-- USE_ALSA is disabled.
-- PULSEAUDIO_HEADER="", so disabling USE_PULSEAUDIO
-- USE_PULSEAUDIO is disabled.
-- USE_PORTAUDIO is enabled.
-- Building rtpa module.
-- USE_PORTMIDI is enabled.
-- JACK_HEADER="", so disabling USE_JACK
-- USE_JACK is disabled.
-- USE_FLTK is enabled.
-- BUILD_VIRTUAL_KEYBOARD is enabled.
-- 
-- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR) 
-- Building C++ interface library.
-- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR) (Required is at least version "2.0")
-- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS) 
-- Could NOT find JNI (missing:  JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) 
-- Could NOT find Java (missing:  Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) (found version "1.7.0.151")
-- PYTHON_LIBRARY: /usr/lib/python2.7/config/libpython2.7.so
-- SWIG_FOUND="FALSE", so disabling BUILD_PYTHON_INTERFACE
-- PYTHONLIBS_FOUND="FALSE", so disabling BUILD_PYTHON_INTERFACE
-- BUILD_PYTHON_INTERFACE is disabled.
-- SWIG_FOUND="FALSE", so disabling BUILD_JAVA_INTERFACE
-- JNI_FOUND="FALSE", so disabling BUILD_JAVA_INTERFACE
-- JAVA_FOUND="FALSE", so disabling BUILD_JAVA_INTERFACE
-- BUILD_JAVA_INTERFACE is disabled.
-- BUILD_LUA_INTERFACE is disabled.
-- 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 Error at /usr/lib/fltk/FLTKLibraries.cmake:16 (ADD_EXECUTABLE):
  add_executable cannot create imported target "fluid" because another target
  with the same name already exists.
Call Stack (most recent call first):
  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
  frontends/CsoundAC/CMakeLists.txt:13 (find_package)


CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:19 (ADD_LIBRARY):
  add_library cannot create imported target "fltk" because another target
  with the same name already exists.
Call Stack (most recent call first):
  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
  frontends/CsoundAC/CMakeLists.txt:13 (find_package)


CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:22 (ADD_LIBRARY):
  add_library cannot create imported target "fltk_cairo" because another
  target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
  frontends/CsoundAC/CMakeLists.txt:13 (find_package)


CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:25 (ADD_LIBRARY):
  add_library cannot create imported target "fltk_forms" because another
  target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
  frontends/CsoundAC/CMakeLists.txt:13 (find_package)


CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:28 (ADD_LIBRARY):
  add_library cannot create imported target "fltk_images" because another
  target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
  frontends/CsoundAC/CMakeLists.txt:13 (find_package)


CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:31 (ADD_LIBRARY):
  add_library cannot create imported target "fltk_gl" because another target
  with the same name already exists.
Call Stack (most recent call first):
  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
  frontends/CsoundAC/CMakeLists.txt:13 (find_package)


CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:34 (ADD_LIBRARY):
  add_library cannot create imported target "fltk_SHARED" because another
  target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
  frontends/CsoundAC/CMakeLists.txt:13 (find_package)


CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:37 (ADD_LIBRARY):
  add_library cannot create imported target "fltk_cairo_SHARED" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
  frontends/CsoundAC/CMakeLists.txt:13 (find_package)


CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:40 (ADD_LIBRARY):
  add_library cannot create imported target "fltk_forms_SHARED" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
  frontends/CsoundAC/CMakeLists.txt:13 (find_package)


CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:43 (ADD_LIBRARY):
  add_library cannot create imported target "fltk_images_SHARED" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
  frontends/CsoundAC/CMakeLists.txt:13 (find_package)


CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:46 (ADD_LIBRARY):
  add_library cannot create imported target "fltk_gl_SHARED" because another
  target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
  frontends/CsoundAC/CMakeLists.txt:13 (find_package)


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.


-- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR) 
-- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS) 
-- BUILD_CSOUND_AC is disabled.
-- BUILD_CSOUND_AC_PYTHON_INTERFACE is disabled.
-- BUILD_CSOUND_AC_LUA_INTERFACE is disabled.
-- BUILD_CSOUND_VST is disabled.
-- BUILD_CSOUND_VST: OFF.
-- Not building csound~ for Max/MSP
-- MAX_SDK_ROOT is not defined.
-- Not building src_conv (libsndfile or libsamplerate not found).
-- CUNIT_LIBRARY="CUNIT_LIBRARY-NOTFOUND", so disabling BUILD_TESTS
-- BUILD_TESTS is disabled.
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
-- Not building documentation
-- Configuring incomplete, errors occurred!
See also "/home/jpff/csound6/CMakeFiles/CMakeOutput.log".
See also "/home/jpff/csound6/CMakeFiles/CMakeError.log".
Makefile:8153: recipe for target 'cmake_check_build_system' failed

Date2018-01-10 22:49
Fromjpff
SubjectRe: [Csnd-dev] Problem with cmake
Minor improvemet.  there is no swig binary but /usr/bin/swig3.0 exists.  A 
s-link fixes that but surely there should be a better way

No idea about the fltk issue

On Wed, 10 Jan 2018, John wrote:

> On Debian jessie....
>
> Since not sure when I cannot build csound.  I have SWIG, ala and stuff
> installed but the errors (below) claim all kinds of problems.  Any
> ideas what has gone wrong/what I am missing?  Could not see anything
> odd in the cmake logs
>
> ==John ff
>
> /usr/bin/cmake -H/home/jpff/csound6 -B/home/jpff/csound6 --check-build-system CMakeFiles/Makefile.cmake 0
> -- /home/jpff/csound6
> -- Including Custom.cmake file: /home/jpff/csound6/Custom.cmake
> -- LIBRARY INSTALL DIR: lib
> -- Building with 64-bit floats
> -- BUILD_BIN_DIR set to /home/jpff/csound6.
> -- BUILD_LIB_DIR set to /home/jpff/csound6.
> -- BUILD_PLUGINS_DIR set to /home/jpff/csound6.
> -- Could NOT find CURL (missing:  CURL_LIBRARY CURL_INCLUDE_DIR)
> -- Could NOT find Java (missing:  Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) (found version "1.7.0.151")
> -- Could NOT find JNI (missing:  JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
> -- Could NOT find LUAJIT (missing:  LUAJIT_LIBRARY LUAJIT_INCLUDE_DIR)
> -- Could NOT find MUSICXML (missing:  MUSICXML_LIBRARY MUSICXML_INCLUDE_DIR)
> -- Could NOT find PORTSMF (missing:  PORTSMF_LIBRARY PORTSMF_INCLUDE_DIR)
> -- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS) (Required is at least version "2.7")
> -- Could NOT find STK (missing:  STK_LIBRARY STK_INCLUDE_DIR)
> -- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR)
> -- Could NOT find VSTSDK2X (missing:  VSTSDK2X_INCLUDE_DIR)
> -- Using atomic builtins.
> -- Could NOT find GMM (missing:  GMM_INCLUDE_DIR)
> -- USE_LRINT is enabled.
> -- Could NOT find CURL (missing:  CURL_LIBRARY CURL_INCLUDE_DIR)
> -- Not using CURL for urls - not found.
> -- Not building with new parser debugging.
> -- Building with multicore support.
> -- USE_GETTEXT is enabled.
> -- Using GNU gettext.
> -- Setting textdomain to /usr/local/share/locale.
> -- Building on Linux.
> --   ADDING LIBRT LIBRARY: /usr/lib/x86_64-linux-gnu/librt.so.
> -- ## Building Opcodes ##
> -- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS)
> -- BUILD_CHUA_OPCODES is enabled.
> -- BUILD_DSSI_OPCODES is enabled.
> -- FLUIDSYNTH_H="", so disabling BUILD_FLUID_OPCODES
> -- BUILD_FLUID_OPCODES is disabled.
> -- JACK_HEADER="", so disabling BUILD_JACK_OPCODES
> -- BUILD_JACK_OPCODES is disabled.
> -- GMM_FOUND="FALSE", so disabling BUILD_LINEAR_ALGEBRA_OPCODES
> -- BUILD_LINEAR_ALGEBRA_OPCODES is disabled.
> -- BUILD_OSC_OPCODES is enabled.
> -- BUILD_IMAGE_OPCODES is enabled.
> -- PYTHONLIBS_FOUND="FALSE", so disabling BUILD_PYTHON_OPCODES
> -- BUILD_PYTHON_OPCODES is disabled.
> -- LUAJIT_LIBRARY="LUAJIT_LIBRARY-NOTFOUND", so disabling BUILD_LUA_OPCODES
> -- LUA_H_PATH="LUA_H_PATH-NOTFOUND", so disabling BUILD_LUA_OPCODES
> -- BUILD_LUA_OPCODES is disabled.
> -- WIIUSE_H="", so disabling BUILD_WIIMOTE_OPCODES
> -- WIIUSE_LIB="WIIUSE_LIB-NOTFOUND", so disabling BUILD_WIIMOTE_OPCODES
> -- BUILD_WIIMOTE_OPCODES is disabled.
> -- BUILD_P5GLOVE_OPCODES is enabled.
> -- BUILD_FAUST_OPCODES is disabled.
> -- BUILD_VST4CS_OPCODES is disabled.
> -- VSTSDK2X_INCLUDE_DIR: VSTSDK2X_INCLUDE_DIR-NOTFOUND
> -- BUILD_ABLETON_LINK_OPCODES is disabled.
> -- Could NOT find STK (missing:  STK_LIBRARY STK_INCLUDE_DIR)
> -- STK_FOUND="FALSE", so disabling BUILD_STK_OPCODES
> -- STK_INCLUDE_DIR="STK_INCLUDE_DIR-NOTFOUND", so disabling BUILD_STK_OPCODES
> -- BUILD_STK_OPCODES is disabled.
> -- Could NOT find HDF5 (missing:  HDF5_LIBRARIES HDF5_INCLUDE_DIRS)
> -- HDF5_FOUND="FALSE", so disabling BUILD_HDF5_OPCODES
> -- BUILD_HDF5_OPCODES is disabled.
> -- websockets_library="websockets_library-NOTFOUND", so disabling BUILD_WEBSOCKET_OPCODE
> -- BUILD_WEBSOCKET_OPCODE is disabled.
> -- 
> -- ## REALTIME AUDIO AND MIDI ##
> -- APPLE="", so disabling USE_COREMIDI
> -- COREMIDI_INCLUDE_PATH="COREMIDI_INCLUDE_PATH-NOTFOUND", so disabling USE_COREMIDI
> -- COREMIDI_LIBRARY="COREMIDI_LIBRARY-NOTFOUND", so disabling USE_COREMIDI
> -- COREFOUNDATION_LIBRARY="COREFOUNDATION_LIBRARY-NOTFOUND", so disabling USE_COREMIDI
> -- USE_COREMIDI is disabled.
> -- APPLE="", so disabling USE_AUDIOUNIT
> -- COREAUDIO_INCLUDE_PATH="COREAUDIO_INCLUDE_PATH-NOTFOUND", so disabling USE_AUDIOUNIT
> -- COREAUDIO_LIBRARY="COREAUDIO_LIBRARY-NOTFOUND", so disabling USE_AUDIOUNIT
> -- AUDIOUNIT_INCLUDE_PATH="AUDIOUNIT_INCLUDE_PATH-NOTFOUND", so disabling USE_AUDIOUNIT
> -- AUDIOUNIT_LIBRARY="AUDIOUNIT_LIBRARY-NOTFOUND", so disabling 
USE_AUDIOUNIT
> -- COREFOUNDATION_LIBRARY="COREFOUNDATION_LIBRARY-NOTFOUND", so disabling USE_AUDIOUNIT
> -- USE_AUDIOUNIT is disabled.
> -- ALSA_HEADER="", so disabling USE_ALSA
> -- USE_ALSA is disabled.
> -- PULSEAUDIO_HEADER="", so disabling USE_PULSEAUDIO
> -- USE_PULSEAUDIO is disabled.
> -- USE_PORTAUDIO is enabled.
> -- Building rtpa module.
> -- USE_PORTMIDI is enabled.
> -- JACK_HEADER="", so disabling USE_JACK
> -- USE_JACK is disabled.
> -- USE_FLTK is enabled.
> -- BUILD_VIRTUAL_KEYBOARD is enabled.
> -- 
> -- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR)
> -- Building C++ interface library.
> -- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR) (Required is at least version "2.0")
> -- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS)
> -- Could NOT find JNI (missing:  JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
> -- Could NOT find Java (missing:  Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) (found version "1.7.0.151")
> -- PYTHON_LIBRARY: /usr/lib/python2.7/config/libpython2.7.so
> -- SWIG_FOUND="FALSE", so disabling BUILD_PYTHON_INTERFACE
> -- PYTHONLIBS_FOUND="FALSE", so disabling BUILD_PYTHON_INTERFACE
> -- BUILD_PYTHON_INTERFACE is disabled.
> -- SWIG_FOUND="FALSE", so disabling BUILD_JAVA_INTERFACE
> -- JNI_FOUND="FALSE", so disabling BUILD_JAVA_INTERFACE
> -- JAVA_FOUND="FALSE", so disabling BUILD_JAVA_INTERFACE
> -- BUILD_JAVA_INTERFACE is disabled.
> -- BUILD_LUA_INTERFACE is disabled.
> -- 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 Error at /usr/lib/fltk/FLTKLibraries.cmake:16 (ADD_EXECUTABLE):
>  add_executable cannot create imported target "fluid" because another target
>  with the same name already exists.
> Call Stack (most recent call first):
>  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>  frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>
>
> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:19 (ADD_LIBRARY):
>  add_library cannot create imported target "fltk" because another target
>  with the same name already exists.
> Call Stack (most recent call first):
>  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>  frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>
>
> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:22 (ADD_LIBRARY):
>  add_library cannot create imported target "fltk_cairo" because another
>  target with the same name already exists.
> Call Stack (most recent call first):
>  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>  frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>
>
> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:25 (ADD_LIBRARY):
>  add_library cannot create imported target "fltk_forms" because another
>  target with the same name already exists.
> Call Stack (most recent call first):
>  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>  frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>
>
> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:28 (ADD_LIBRARY):
>  add_library cannot create imported target "fltk_images" because another
>  target with the same name already exists.
> Call Stack (most recent call first):
>  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>  frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>
>
> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:31 (ADD_LIBRARY):
>  add_library cannot create imported target "fltk_gl" because another target
>  with the same name already exists.
> Call Stack (most recent call first):
>  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>  frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>
>
> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:34 (ADD_LIBRARY):
>  add_library cannot create imported target "fltk_SHARED" because another
>  target with the same name already exists.
> Call Stack (most recent call first):
>  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>  frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>
>
> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:37 (ADD_LIBRARY):
>  add_library cannot create imported target "fltk_cairo_SHARED" because
>  another target with the same name already exists.
> Call Stack (most recent call first):
>  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>  frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>
>
> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:40 (ADD_LIBRARY):
>  add_library cannot create imported target "fltk_forms_SHARED" because
>  another target with the same name already exists.
> Call Stack (most recent call first):
>  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>  frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>
>
> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:43 (ADD_LIBRARY):
>  add_library cannot create imported target "fltk_images_SHARED" because
>  another target with the same name already exists.
> Call Stack (most recent call first):
>  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>  frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>
>
> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:46 (ADD_LIBRARY):
>  add_library cannot create imported target "fltk_gl_SHARED" because another
>  target with the same name already exists.
> Call Stack (most recent call first):
>  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>  frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>
>
> 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.
>
>
> -- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR)
> -- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS)
> -- BUILD_CSOUND_AC is disabled.
> -- BUILD_CSOUND_AC_PYTHON_INTERFACE is disabled.
> -- BUILD_CSOUND_AC_LUA_INTERFACE is disabled.
> -- BUILD_CSOUND_VST is disabled.
> -- BUILD_CSOUND_VST: OFF.
> -- Not building csound~ for Max/MSP
> -- MAX_SDK_ROOT is not defined.
> -- Not building src_conv (libsndfile or libsamplerate not found).
> -- CUNIT_LIBRARY="CUNIT_LIBRARY-NOTFOUND", so disabling BUILD_TESTS
> -- BUILD_TESTS is disabled.
> -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
> -- Not building documentation
> -- Configuring incomplete, errors occurred!
> See also "/home/jpff/csound6/CMakeFiles/CMakeOutput.log".
> See also "/home/jpff/csound6/CMakeFiles/CMakeError.log".
> Makefile:8153: recipe for target 'cmake_check_build_system' failed
> make: *** [cmake_check_build_system] Error 1

Date2018-01-11 13:29
FromVictor Lazzarini
SubjectRe: [Csnd-dev] Problem with cmake
cmake needs to be told what the swig binary is. I think this page says you can set SWIG_EXECUTABLE
from the command line

https://cmake.org/cmake/help/v3.0/module/FindSWIG.html
========================
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 10 Jan 2018, at 22:49, jpff  wrote:
> 
> Minor improvemet.  there is no swig binary but /usr/bin/swig3.0 exists.  A s-link fixes that but surely there should be a better way
> 
> No idea about the fltk issue
> 
> On Wed, 10 Jan 2018, John wrote:
> 
>> On Debian jessie....
>> 
>> Since not sure when I cannot build csound.  I have SWIG, ala and stuff
>> installed but the errors (below) claim all kinds of problems.  Any
>> ideas what has gone wrong/what I am missing?  Could not see anything
>> odd in the cmake logs
>> 
>> ==John ff
>> 
>> /usr/bin/cmake -H/home/jpff/csound6 -B/home/jpff/csound6 --check-build-system CMakeFiles/Makefile.cmake 0
>> -- /home/jpff/csound6
>> -- Including Custom.cmake file: /home/jpff/csound6/Custom.cmake
>> -- LIBRARY INSTALL DIR: lib
>> -- Building with 64-bit floats
>> -- BUILD_BIN_DIR set to /home/jpff/csound6.
>> -- BUILD_LIB_DIR set to /home/jpff/csound6.
>> -- BUILD_PLUGINS_DIR set to /home/jpff/csound6.
>> -- Could NOT find CURL (missing:  CURL_LIBRARY CURL_INCLUDE_DIR)
>> -- Could NOT find Java (missing:  Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) (found version "1.7.0.151")
>> -- Could NOT find JNI (missing:  JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
>> -- Could NOT find LUAJIT (missing:  LUAJIT_LIBRARY LUAJIT_INCLUDE_DIR)
>> -- Could NOT find MUSICXML (missing:  MUSICXML_LIBRARY MUSICXML_INCLUDE_DIR)
>> -- Could NOT find PORTSMF (missing:  PORTSMF_LIBRARY PORTSMF_INCLUDE_DIR)
>> -- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS) (Required is at least version "2.7")
>> -- Could NOT find STK (missing:  STK_LIBRARY STK_INCLUDE_DIR)
>> -- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR)
>> -- Could NOT find VSTSDK2X (missing:  VSTSDK2X_INCLUDE_DIR)
>> -- Using atomic builtins.
>> -- Could NOT find GMM (missing:  GMM_INCLUDE_DIR)
>> -- USE_LRINT is enabled.
>> -- Could NOT find CURL (missing:  CURL_LIBRARY CURL_INCLUDE_DIR)
>> -- Not using CURL for urls - not found.
>> -- Not building with new parser debugging.
>> -- Building with multicore support.
>> -- USE_GETTEXT is enabled.
>> -- Using GNU gettext.
>> -- Setting textdomain to /usr/local/share/locale.
>> -- Building on Linux.
>> --   ADDING LIBRT LIBRARY: /usr/lib/x86_64-linux-gnu/librt.so.
>> -- ## Building Opcodes ##
>> -- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS)
>> -- BUILD_CHUA_OPCODES is enabled.
>> -- BUILD_DSSI_OPCODES is enabled.
>> -- FLUIDSYNTH_H="", so disabling BUILD_FLUID_OPCODES
>> -- BUILD_FLUID_OPCODES is disabled.
>> -- JACK_HEADER="", so disabling BUILD_JACK_OPCODES
>> -- BUILD_JACK_OPCODES is disabled.
>> -- GMM_FOUND="FALSE", so disabling BUILD_LINEAR_ALGEBRA_OPCODES
>> -- BUILD_LINEAR_ALGEBRA_OPCODES is disabled.
>> -- BUILD_OSC_OPCODES is enabled.
>> -- BUILD_IMAGE_OPCODES is enabled.
>> -- PYTHONLIBS_FOUND="FALSE", so disabling BUILD_PYTHON_OPCODES
>> -- BUILD_PYTHON_OPCODES is disabled.
>> -- LUAJIT_LIBRARY="LUAJIT_LIBRARY-NOTFOUND", so disabling BUILD_LUA_OPCODES
>> -- LUA_H_PATH="LUA_H_PATH-NOTFOUND", so disabling BUILD_LUA_OPCODES
>> -- BUILD_LUA_OPCODES is disabled.
>> -- WIIUSE_H="", so disabling BUILD_WIIMOTE_OPCODES
>> -- WIIUSE_LIB="WIIUSE_LIB-NOTFOUND", so disabling BUILD_WIIMOTE_OPCODES
>> -- BUILD_WIIMOTE_OPCODES is disabled.
>> -- BUILD_P5GLOVE_OPCODES is enabled.
>> -- BUILD_FAUST_OPCODES is disabled.
>> -- BUILD_VST4CS_OPCODES is disabled.
>> -- VSTSDK2X_INCLUDE_DIR: VSTSDK2X_INCLUDE_DIR-NOTFOUND
>> -- BUILD_ABLETON_LINK_OPCODES is disabled.
>> -- Could NOT find STK (missing:  STK_LIBRARY STK_INCLUDE_DIR)
>> -- STK_FOUND="FALSE", so disabling BUILD_STK_OPCODES
>> -- STK_INCLUDE_DIR="STK_INCLUDE_DIR-NOTFOUND", so disabling BUILD_STK_OPCODES
>> -- BUILD_STK_OPCODES is disabled.
>> -- Could NOT find HDF5 (missing:  HDF5_LIBRARIES HDF5_INCLUDE_DIRS)
>> -- HDF5_FOUND="FALSE", so disabling BUILD_HDF5_OPCODES
>> -- BUILD_HDF5_OPCODES is disabled.
>> -- websockets_library="websockets_library-NOTFOUND", so disabling BUILD_WEBSOCKET_OPCODE
>> -- BUILD_WEBSOCKET_OPCODE is disabled.
>> -- 
>> -- ## REALTIME AUDIO AND MIDI ##
>> -- APPLE="", so disabling USE_COREMIDI
>> -- COREMIDI_INCLUDE_PATH="COREMIDI_INCLUDE_PATH-NOTFOUND", so disabling USE_COREMIDI
>> -- COREMIDI_LIBRARY="COREMIDI_LIBRARY-NOTFOUND", so disabling USE_COREMIDI
>> -- COREFOUNDATION_LIBRARY="COREFOUNDATION_LIBRARY-NOTFOUND", so disabling USE_COREMIDI
>> -- USE_COREMIDI is disabled.
>> -- APPLE="", so disabling USE_AUDIOUNIT
>> -- COREAUDIO_INCLUDE_PATH="COREAUDIO_INCLUDE_PATH-NOTFOUND", so disabling USE_AUDIOUNIT
>> -- COREAUDIO_LIBRARY="COREAUDIO_LIBRARY-NOTFOUND", so disabling USE_AUDIOUNIT
>> -- AUDIOUNIT_INCLUDE_PATH="AUDIOUNIT_INCLUDE_PATH-NOTFOUND", so disabling USE_AUDIOUNIT
>> -- AUDIOUNIT_LIBRARY="AUDIOUNIT_LIBRARY-NOTFOUND", so disabling 
> USE_AUDIOUNIT
>> -- COREFOUNDATION_LIBRARY="COREFOUNDATION_LIBRARY-NOTFOUND", so disabling USE_AUDIOUNIT
>> -- USE_AUDIOUNIT is disabled.
>> -- ALSA_HEADER="", so disabling USE_ALSA
>> -- USE_ALSA is disabled.
>> -- PULSEAUDIO_HEADER="", so disabling USE_PULSEAUDIO
>> -- USE_PULSEAUDIO is disabled.
>> -- USE_PORTAUDIO is enabled.
>> -- Building rtpa module.
>> -- USE_PORTMIDI is enabled.
>> -- JACK_HEADER="", so disabling USE_JACK
>> -- USE_JACK is disabled.
>> -- USE_FLTK is enabled.
>> -- BUILD_VIRTUAL_KEYBOARD is enabled.
>> -- 
>> -- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR)
>> -- Building C++ interface library.
>> -- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR) (Required is at least version "2.0")
>> -- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS)
>> -- Could NOT find JNI (missing:  JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
>> -- Could NOT find Java (missing:  Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) (found version "1.7.0.151")
>> -- PYTHON_LIBRARY: /usr/lib/python2.7/config/libpython2.7.so
>> -- SWIG_FOUND="FALSE", so disabling BUILD_PYTHON_INTERFACE
>> -- PYTHONLIBS_FOUND="FALSE", so disabling BUILD_PYTHON_INTERFACE
>> -- BUILD_PYTHON_INTERFACE is disabled.
>> -- SWIG_FOUND="FALSE", so disabling BUILD_JAVA_INTERFACE
>> -- JNI_FOUND="FALSE", so disabling BUILD_JAVA_INTERFACE
>> -- JAVA_FOUND="FALSE", so disabling BUILD_JAVA_INTERFACE
>> -- BUILD_JAVA_INTERFACE is disabled.
>> -- BUILD_LUA_INTERFACE is disabled.
>> -- 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 Error at /usr/lib/fltk/FLTKLibraries.cmake:16 (ADD_EXECUTABLE):
>> add_executable cannot create imported target "fluid" because another target
>> with the same name already exists.
>> Call Stack (most recent call first):
>> /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>> /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>> frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>> 
>> 
>> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:19 (ADD_LIBRARY):
>> add_library cannot create imported target "fltk" because another target
>> with the same name already exists.
>> Call Stack (most recent call first):
>> /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>> /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>> frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>> 
>> 
>> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:22 (ADD_LIBRARY):
>> add_library cannot create imported target "fltk_cairo" because another
>> target with the same name already exists.
>> Call Stack (most recent call first):
>> /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>> /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>> frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>> 
>> 
>> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:25 (ADD_LIBRARY):
>> add_library cannot create imported target "fltk_forms" because another
>> target with the same name already exists.
>> Call Stack (most recent call first):
>> /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>> /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>> frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>> 
>> 
>> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:28 (ADD_LIBRARY):
>> add_library cannot create imported target "fltk_images" because another
>> target with the same name already exists.
>> Call Stack (most recent call first):
>> /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>> /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>> frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>> 
>> 
>> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:31 (ADD_LIBRARY):
>> add_library cannot create imported target "fltk_gl" because another target
>> with the same name already exists.
>> Call Stack (most recent call first):
>> /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>> /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>> frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>> 
>> 
>> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:34 (ADD_LIBRARY):
>> add_library cannot create imported target "fltk_SHARED" because another
>> target with the same name already exists.
>> Call Stack (most recent call first):
>> /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>> /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>> frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>> 
>> 
>> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:37 (ADD_LIBRARY):
>> add_library cannot create imported target "fltk_cairo_SHARED" because
>> another target with the same name already exists.
>> Call Stack (most recent call first):
>> /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>> /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>> frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>> 
>> 
>> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:40 (ADD_LIBRARY):
>> add_library cannot create imported target "fltk_forms_SHARED" because
>> another target with the same name already exists.
>> Call Stack (most recent call first):
>> /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>> /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>> frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>> 
>> 
>> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:43 (ADD_LIBRARY):
>> add_library cannot create imported target "fltk_images_SHARED" because
>> another target with the same name already exists.
>> Call Stack (most recent call first):
>> /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>> /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>> frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>> 
>> 
>> CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:46 (ADD_LIBRARY):
>> add_library cannot create imported target "fltk_gl_SHARED" because another
>> target with the same name already exists.
>> Call Stack (most recent call first):
>> /usr/lib/fltk/FLTKConfig.cmake:34 (include)
>> /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
>> frontends/CsoundAC/CMakeLists.txt:13 (find_package)
>> 
>> 
>> 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.
>> 
>> 
>> -- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR)
>> -- Could NOT find PythonLibs (missing:  PYTHON_INCLUDE_DIRS)
>> -- BUILD_CSOUND_AC is disabled.
>> -- BUILD_CSOUND_AC_PYTHON_INTERFACE is disabled.
>> -- BUILD_CSOUND_AC_LUA_INTERFACE is disabled.
>> -- BUILD_CSOUND_VST is disabled.
>> -- BUILD_CSOUND_VST: OFF.
>> -- Not building csound~ for Max/MSP
>> -- MAX_SDK_ROOT is not defined.
>> -- Not building src_conv (libsndfile or libsamplerate not found).
>> -- CUNIT_LIBRARY="CUNIT_LIBRARY-NOTFOUND", so disabling BUILD_TESTS
>> -- BUILD_TESTS is disabled.
>> -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
>> -- Not building documentation
>> -- Configuring incomplete, errors occurred!
>> See also "/home/jpff/csound6/CMakeFiles/CMakeOutput.log".
>> See also "/home/jpff/csound6/CMakeFiles/CMakeError.log".
>> Makefile:8153: recipe for target 'cmake_check_build_system' failed
>> make: *** [cmake_check_build_system] Error 1

Date2018-01-11 16:37
Fromjpff
SubjectRe: [Csnd-dev] Problem with cmake
i tried setting SWIG_EXECUTABLE but either the syntax i used was wrong 
or 
it does not work.

Anyway big problem is....

CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:16 (ADD_EXECUTABLE):
   add_executable cannot create imported target "fluid" because 
another target
   with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/fltk/FLTKConfig.cmake:34 (include)
   /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
   frontends/CsoundAC/CMakeLists.txt:13 (find_package)

CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:19 (ADD_LIBRARY):
   add_library cannot create imported target "fltk" because another target
   with the same name already exists.
Call Stack (most recent call first):
   /usr/lib/fltk/FLTKConfig.cmake:34 (include)
   /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
   frontends/CsoundAC/CMakeLists.txt:13 (find_package)


No idea what it could mean.  I suppose I could try with no fltk but that 

Date2018-01-11 16:47
FromMichael Gogins
SubjectRe: [Csnd-dev] Problem with cmake
I think SWIG has found two ways to configure for using FLTK.

On Jan 11, 2018 11:38, "jpff" <jpff@codemist.co.uk> wrote:
i tried setting SWIG_EXECUTABLE but either the syntax i used was wrong or it does not work.

Anyway big problem is....

CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:16 (ADD_EXECUTABLE):
  add_executable cannot create imported target "fluid" because another target
  with the same name already exists.
Call Stack (most recent call first):
  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
  frontends/CsoundAC/CMakeLists.txt:13 (find_package)

CMake Error at /usr/lib/fltk/FLTKLibraries.cmake:19 (ADD_LIBRARY):
  add_library cannot create imported target "fltk" because another target
  with the same name already exists.
Call Stack (most recent call first):
  /usr/lib/fltk/FLTKConfig.cmake:34 (include)
  /usr/share/cmake-3.0/Modules/FindFLTK.cmake:161 (include)
  frontends/CsoundAC/CMakeLists.txt:13 (find_package)


No idea what it could mean.  I suppose I could try with no fltk but that seems retrgrade