[Cs-dev] Can't build from git sources on Debian sid
Date | 2013-11-23 01:06 |
From | Forrest Cahoon |
Subject | [Cs-dev] Can't build from git sources on Debian sid |
Attachments | None None |
Hey folks! I was able to build from git earlier using the same technique you in the following, but now it's not working. The errors after "USE_FLTK is enabled" look particularly suspicious. Help?Script started on Fri 22 Nov 2013 06:57:03 PM CST forrest@makemake:~/src/csound6/csound-csound6-git$ git branch * develop master forrest@makemake:~/src/csound6/csound-csound6-git$ git pull Already up-to-date. forrest@makemake:~/src/csound6/csound-csound6-git$ cd ../build forrest@makemake:~/src/csound6/build$ ls forrest@makemake:~/src/csound6/build$ cmake ../csound-csound6-git/ CMake Warning (dev) in CMakeLists.txt: Syntax Warning in cmake code at /home/forrest/src/csound6/csound-csound6-git/CMakeLists.txt:1159:167 Argument not separated from preceding token by whitespace. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 4.8.2 -- The CXX compiler identification is GNU 4.8.2 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- /home/forrest/src/csound6/csound-csound6-git -- LIBRARY INSTALL DIR: lib -- Performing Test HAS_TREE_VECTORIZE -- Performing Test HAS_TREE_VECTORIZE - Success -- Performing Test HAS_CXX_TREE_VECTORIZE -- Performing Test HAS_CXX_TREE_VECTORIZE - Success -- Performing Test HAS_FAST_MATH -- Performing Test HAS_FAST_MATH - Success -- Performing Test HAS_CXX_FAST_MATH -- Performing Test HAS_CXX_FAST_MATH - Success -- Performing Test HAS_FPMATH_SSE -- Performing Test HAS_FPMATH_SSE - Success -- Performing Test HAS_CXX_FPMATH_SSE -- Performing Test HAS_CXX_FPMATH_SSE - Success -- Performing Test HAS_SSE2 -- Performing Test HAS_SSE2 - Success -- Performing Test HAS_CXX_SSE2 -- Performing Test HAS_CXX_SSE2 - Success -- Performing Test HAS_OMIT_FRAME_POINTER -- Performing Test HAS_OMIT_FRAME_POINTER - Success -- Performing Test HAS_CXX_OMIT_FRAME_POINTER -- Performing Test HAS_CXX_OMIT_FRAME_POINTER - Success -- Not using Custom.cmake file. -- Performing Test HAS_VISIBILITY_HIDDEN -- Performing Test HAS_VISIBILITY_HIDDEN - Success -- Performing Test HAS_CXX_VISIBILITY_HIDDEN -- Performing Test HAS_CXX_VISIBILITY_HIDDEN - Success -- BUILD_BIN_DIR set to /home/forrest/src/csound6/build -- BUILD_LIB_DIR set to /home/forrest/src/csound6/build -- BUILD_PLUGINS_DIR set to /home/forrest/src/csound6/build -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Try OpenMP C flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Try OpenMP CXX flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Found OpenMP: -fopenmp -- Performing Test HAVE_ATOMIC_BUILTIN -- Performing Test HAVE_ATOMIC_BUILTIN - Success -- Using Atomic Builtins -- Looking for libintl.h -- Looking for libintl.h - found -- Looking for C++ include eigen3/Eigen/Dense -- Looking for C++ include eigen3/Eigen/Dense - found -- Found Gettext: /usr/bin/msgmerge (found version "0.18.3") -- Looking for lrint in m -- Looking for lrint in m - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for io.h -- Looking for io.h - not found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for values.h -- Looking for values.h - found -- Looking for winsock.h -- Looking for winsock.h - not found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for dirent.h -- Looking for dirent.h - found -- USE_LRINT is enabled -- Found FLEX: /usr/bin/flex (found version "2.5.35") -- Found BISON: /usr/bin/bison (found version "2.7.12-4996") FLTK FOUND: 1 -- Using fltk-config script for FLTK 1.3 -- Looking for pthread_spin_lock -- Looking for pthread_spin_lock - found -- Looking for pthread_barrier_init -- Looking for pthread_barrier_init - found -- USE_OPEN_MP is enabled -- Not building with score parser -- Not building with new parser debugging -- Building with multicore -- USE_GETTEXT is enabled -- Using GNU Gettext -- Building on Linux -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for strtod_l -- Looking for strtod_l - found -- Looking for sprintf_l -- Looking for sprintf_l - not found -- Looking for _strtok_r -- Looking for _strtok_r - not found -- Looking for _strtod_l -- Looking for _strtod_l - not found -- Looking for _sprintf_l -- Looking for _sprintf_l - not found -- Boost version: 1.54.0 -- Looking for ladspa.h -- Looking for ladspa.h - found -- Looking for fluidsynth.h -- Looking for fluidsynth.h - found -- Looking for jack/jack.h -- Looking for jack/jack.h - found -- Looking for C++ include gmm/gmm.h -- Looking for C++ include gmm/gmm.h - found -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") -- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.49") -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version "2.7.6") -- Looking for wiiuse.h -- Looking for wiiuse.h - not found -- Looking for p5glove.h -- Looking for p5glove.h - not found -- BUILD_CHUA_OPCODES is enabled -- BUILD_DSSI_OPCODES is enabled -- BUILD_FLUID_OPCODES is enabled -- BUILD_JACK_OPCODES is enabled -- BUILD_LINEAR_ALGEBRA_OPCODES is enabled -- BUILD_OSC_OPCODES is enabled -- BUILD_IMAGE_OPCODES is enabled -- BUILD_PYTHON_OPCODES is enabled -- BUILD_LUA_OPCODES is enabled -- WIIUSE_H="", so disabling BUILD_WIIMOTE_OPCODES -- BUILD_WIIMOTE_OPCODES is disabled -- P5GLOVE_H="", so disabling BUILD_P5GLOVE_OPCODES -- BUILD_P5GLOVE_OPCODES is disabled -- BUILD_FAUST_OPCODES is disabled -- BUILD_VST4CS_OPCODES is disabled -- BUILD_STK_OPCODES is enabled -- -- ## REALTIME AUDIO AND MIDI ## -- Looking for alsa/asoundlib.h -- Looking for alsa/asoundlib.h - found -- Looking for pulse/simple.h -- Looking for pulse/simple.h - found -- 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 -- USE_ALSA is enabled -- USE_PULSEAUDIO is enabled -- PORTAUDIO_INCLUDE_PATH="PORTAUDIO_INCLUDE_PATH-NOTFOUND", so disabling USE_PORTAUDIO -- PORTAUDIO_LIBRARY="PORTAUDIO_LIBRARY-NOTFOUND", so disabling USE_PORTAUDIO -- USE_PORTAUDIO is disabled -- PORTMIDI_INCLUDE_PATH="PORTMIDI_INCLUDE_PATH-NOTFOUND", so disabling USE_PORTMIDI -- PORTMIDI_LIBRARY="PORTMIDI_LIBRARY-NOTFOUND", so disabling USE_PORTMIDI -- PORTTIME_LIBRARY="PORTTIME_LIBRARY-NOTFOUND", so disabling USE_PORTMIDI -- USE_PORTMIDI is disabled -- USE_JACK is enabled -- USE_FLTK is enabled CMake Error at InOut/CMakeLists.txt:177 (add_dependency_to_framework): add_dependency_to_framework Function invoked with incorrect arguments for function named: add_dependency_to_framework CMake Error at InOut/CMakeLists.txt:178 (add_dependency_to_framework): add_dependency_to_framework Function invoked with incorrect arguments for function named: add_dependency_to_framework CMake Error at InOut/CMakeLists.txt:179 (add_dependency_to_framework): add_dependency_to_framework Function invoked with incorrect arguments for function named: add_dependency_to_framework -- BUILD_VIRTUAL_KEYBOARD is enabled CMake Error at InOut/CMakeLists.txt:194 (add_dependency_to_framework): add_dependency_to_framework Function invoked with incorrect arguments for function named: add_dependency_to_framework CMake Error at InOut/CMakeLists.txt:195 (add_dependency_to_framework): add_dependency_to_framework Function invoked with incorrect arguments for function named: add_dependency_to_framework CMake Error at InOut/CMakeLists.txt:196 (add_dependency_to_framework): add_dependency_to_framework Function invoked with incorrect arguments for function named: add_dependency_to_framework -- -- Building C++ interface library -- Found SWIG: /usr/bin/swig2.0 (found suitable version "2.0.11", minimum required is "2.0") -- Found JNI: /usr/lib/jvm/default-java/jre/lib/amd64/libjawt.so -- Found Java: /usr/bin/java (found version "1.7.0.25") -- /usr/lib/x86_64-linux-gnu/libpython2.7.so -- BUILD_PYTHON_INTERFACE is enabled -- BUILD_JAVA_INTERFACE is enabled -- BUILD_LUA_INTERFACE is enabled -- Building csLadspa -- BUILD_CSBEATS is enabled -- BUILD_PD_CLASS is enabled -- BUILD_WINSOUND is disabled -- Boost version: 1.54.0 -- Found SWIG: /usr/bin/swig2.0 (found version "2.0.11") -- BUILD_CSOUND_AC is enabled -- BUILD_CSOUND_AC_PYTHON_INTERFACE is enabled -- BUILD_CSOUND_AC_LUA_INTERFACE is enabled -- USE_SYSTEM_PORTSMF is disabled -- Building CsoundAC Python interface -- Building CsoundAC Lua interface -- Boost version: 1.54.0 -- BUILD_CSOUNDVST is disabled -- Not Building csound~ for Max/MSP -- MAX_SDK_ROOT is not defined -- BUILD_STATIC_LIBRARY="OFF", so disabling BUILD_TESTS -- BUILD_TESTS is disabled -- Configuring incomplete, errors occurred! See also "/home/forrest/src/csound6/build/CMakeFiles/CMakeOutput.log". See also "/home/forrest/src/csound6/build/CMakeFiles/CMakeError.log". forrest@makemake:~/src/csound6/build$ exit Script done on Fri 22 Nov 2013 06:57:57 PM CST |
Date | 2013-11-23 01:44 |
From | Steven Yi |
Subject | Re: [Cs-dev] Can't build from git sources on Debian sid |
Attachments | None None |
Hi Forrest, This is a known issue. Check the mailing list archive for a work around. The issue was due to fltk related changes in CMake . I made one fix for OSX. I was going to look for a fix on Linux but haven't had a chance. (currently on a trip, might have time tomorrow to look at it if no one else gets to it before me). Steven On Nov 22, 2013 8:06 PM, "Forrest Cahoon" <forrest.cahoon@gmail.com> wrote:
|
Date | 2013-11-23 09:47 |
From | PINOT Francois |
Subject | Re: [Cs-dev] Can't build from git sources on Debian sid |
Attachments | None None |
Hello Forrest,
I had the some fltk problem a few days ago when building
csound6 onubuntu 12.04 64. The following command worked for
me:cmake -DFLTK_BASE_LIBRARY="/usr/lib/x86_64-linux-gnu/libfltk.so" \ -DFLTK_FORMS_LIBRARY="/usr/lib/x86_64-linux-gnu/libfltk_forms.so" \ -DFLTK_IMAGES_LIBRARY="/usr/lib/x86_64-linux-gnu/libfltk_images.so" ../csound6 Le 23/11/2013 02:06, Forrest Cahoon a
écrit :
|
Date | 2013-11-23 09:51 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] Can't build from git sources on Debian sid |
Attachments | None |
Date | 2013-11-23 16:26 |
From | Steven Yi |
Subject | Re: [Cs-dev] Can't build from git sources on Debian sid |
Hi All, I did some researching into this. The easy thing actually was to just comment out those calls to add_dependency_to_framework (committed to GIT). The background is: those calls were added during a time when we were researching how to get all dependent libraries packaged into the OSX Framework. That didn't quite work out, so we backtracked it by commenting out the body of the add_dependency_to_framework. Somehow, that remained fine until the CMake change for FLTK. As far as I can see, the CMake changes for FLTK are fine now. I had questioned why we were using fltk-config at all if we had use of the cmake FLTK finder, but then I remembered there was an odd quirk on SuSE 64-bit where the fltk finder wasn't working. Forrest and others: could you try a clean run of CMake now to re-test? Thanks! steven On Sat, Nov 23, 2013 at 4:51 AM, |
Date | 2013-11-23 19:41 |
From | Francois PINOT |
Subject | Re: [Cs-dev] Can't build from git sources on Debian sid |
Attachments | None None |
Hello Steven, just tried a new build with last git sources. Works fine. Thanks.2013/11/23 Steven Yi <stevenyi@gmail.com> Hi All, |
Date | 2013-11-23 19:49 |
From | Steven Yi |
Subject | Re: [Cs-dev] Can't build from git sources on Debian sid |
Attachments | None None |
Fantastic, thanks for the confirmation! On Nov 23, 2013 2:42 PM, "Francois PINOT" <fggpinot@gmail.com> wrote:
|
Date | 2013-11-23 21:12 |
From | Forrest Cahoon |
Subject | Re: [Cs-dev] Can't build from git sources on Debian sid |
Attachments | None None |
Builds fine for me now as well. Thanks, Steven! On Sat, Nov 23, 2013 at 1:49 PM, Steven Yi <stevenyi@gmail.com> wrote:
|