[Cs-dev] build fail -> OSC
Date | 2014-02-11 19:17 |
From | "Hackbarth, Ben" |
Subject | [Cs-dev] build fail -> OSC |
Attachments | None None |
Hello,
I'm trying to build the latest csound from GIT (develop branch) and am getting errors when building OSC. Any advice would be most appreciated. Output below.
Cheers,
– Ben
Dr. Ben Hackbarth
Lecturer & Head of Composition
School of Music, University of Liverpool
80-82 Bedford Street South, L69 7WW
+44(0)151 794 3099
Scanning dependencies of target osc
make -f Opcodes/CMakeFiles/osc.dir/build.make Opcodes/CMakeFiles/osc.dir/build
/Users/ben/bin/cmake -E cmake_progress_report /Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/CMakeFiles
[ 73%] Building C object Opcodes/CMakeFiles/osc.dir/OSC.c.o
cd /Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes && /usr/bin/cc -DCS_DEFAULT_PLUGINDIR=\"/Users/ben/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64\" -DHAVE_SOCKETS -DHAVE_SPRINTF_L -DHAVE_STRTOD_L -DHAVE_STRTOK_R
-DMACOSX -DNO_FLTK_THREADS -DPIPES -DUSE_DOUBLE -DUSE_LRINT -D_CSOUND_RELEASE_ -Dosc_EXPORTS -ffast-math -mfpmath=sse -msse2 -fomit-frame-pointer -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN -DHAVE_CURL -O3 -fPIC -I/Users/ben/include -I/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/./H
-I/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/./include -I/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/./Engine -I/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/. -I/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -Wno-format -o CMakeFiles/osc.dir/OSC.c.o -c /Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:28:19: error: lo/lo.h: No such file or directory
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:45: error: expected specifier-qualifier-list before ‘lo_address’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:60: error: expected specifier-qualifier-list before ‘lo_server_thread’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c: In function ‘oscsend_deinit’:
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:99: error: ‘lo_address’ undeclared (first use in this function)
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:99: error: (Each undeclared identifier is reported only once
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:99: error: for each function it appears in.)
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:99: error: expected ‘;’ before ‘a’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:100: error: ‘a’ undeclared (first use in this function)
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c: In function ‘osc_send_set’:
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:123: error: ‘OSCSEND’ has no member named ‘addr’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:124: error: ‘OSCSEND’ has no member named ‘cnt’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:125: error: ‘OSCSEND’ has no member named ‘last’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c: In function ‘osc_send’:
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:141: error: ‘OSCSEND’ has no member named ‘cnt’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:141: error: ‘OSCSEND’ has no member named ‘last’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:144: error: ‘lo_message’ undeclared (first use in this function)
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:144: error: expected ‘;’ before ‘msg’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:147: error: ‘OSCSEND’ has no member named ‘last’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:152: error: ‘msg’ undeclared (first use in this function)
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:185: error: ‘lo_timetag’ undeclared (first use in this function)
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:185: error: expected ‘;’ before ‘tt’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:186: error: ‘tt’ undeclared (first use in this function)
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:198: error: ‘lo_blob’ undeclared (first use in this function)
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:198: error: expected ‘;’ before ‘myblob’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:211: error: ‘myblob’ undeclared (first use in this function)
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:221: error: ‘OSCSEND’ has no member named ‘addr’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c: In function ‘OSC_reset’:
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:233: error: ‘struct <anonymous>’ has no member named ‘thread’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:234: error: ‘struct <anonymous>’ has no member named ‘thread’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:235: error: ‘struct <anonymous>’ has no member named ‘thread’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:236: error: ‘struct <anonymous>’ has no member named ‘mutex_’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c: At top level:
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:295: error: expected declaration specifiers or ‘...’ before ‘lo_arg’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c: In function ‘OSC_handler’:
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:299: error: ‘OSC_PORT’ has no member named ‘csound’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:302: error: ‘OSC_PORT’ has no member named ‘csound’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:302: error: ‘OSC_PORT’ has no member named ‘mutex_’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:303: error: ‘OSC_PORT’ has no member named ‘oplst’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:327: error: ‘argv’ undeclared (first use in this function)
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:363: error: ‘OSC_PORT’ has no member named ‘csound’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:363: error: ‘OSC_PORT’ has no member named ‘mutex_’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c: In function ‘OSC_deinit’:
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:378: error: ‘struct <anonymous>’ has no member named ‘mutex_’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:379: error: ‘struct <anonymous>’ has no member named ‘mutex_’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:380: error: ‘struct <anonymous>’ has no member named ‘thread’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:381: error: ‘struct <anonymous>’ has no member named ‘thread’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:382: error: ‘struct <anonymous>’ has no member named ‘thread’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c: In function ‘osc_listener_init’:
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:399: error: ‘struct <anonymous>’ has no member named ‘csound’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:400: error: ‘struct <anonymous>’ has no member named ‘mutex_’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:401: error: ‘struct <anonymous>’ has no member named ‘oplst’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:403: error: ‘struct <anonymous>’ has no member named ‘thread’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:404: error: ‘struct <anonymous>’ has no member named ‘thread’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c: In function ‘OSC_listdeinit’:
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:418: error: ‘OSC_PORT’ has no member named ‘mutex_’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:419: error: ‘OSC_PORT’ has no member named ‘oplst’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:420: error: ‘OSC_PORT’ has no member named ‘oplst’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:422: error: ‘OSC_PORT’ has no member named ‘oplst’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:427: error: ‘OSC_PORT’ has no member named ‘mutex_’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:428: error: ‘OSC_PORT’ has no member named ‘thread’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c: In function ‘OSC_list_init’:
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:502: error: ‘OSC_PORT’ has no member named ‘mutex_’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:503: error: ‘OSC_PORT’ has no member named ‘oplst’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:504: error: ‘OSC_PORT’ has no member named ‘oplst’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:505: error: ‘OSC_PORT’ has no member named ‘mutex_’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:506: error: ‘OSC_PORT’ has no member named ‘thread’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c: In function ‘OSC_list’:
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:523: error: ‘OSC_PORT’ has no member named ‘mutex_’
/Users/ben/Documents/csound/csound6Build/CS6/git/csound6-git/Opcodes/OSC.c:557: error: ‘OSC_PORT’ has no member named ‘mutex_’
make[2]: *** [Opcodes/CMakeFiles/osc.dir/OSC.c.o] Error 1
make[1]: *** [Opcodes/CMakeFiles/osc.dir/all] Error 2
make: *** [all] Error 2
########################
## make died with 512 ##
########################
|
Date | 2014-02-11 19:52 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] build fail -> OSC |
Attachments | None None |
It seems you are missing the liblo headers (or maybe the whole liblo library), and that cmake is not checking that properly before starting the build. Cheers, Andrés On Tue, Feb 11, 2014 at 11:17 AM, Hackbarth, Ben <B.Hackbarth@liverpool.ac.uk> wrote:
|
Date | 2014-02-11 20:29 |
From | Michael Gogins |
Subject | Re: [Cs-dev] build fail -> OSC |
Attachments | None None |
It also possible that the liblo package has been downloaded and partly installed, but the configure step did not produce lo.h from lo.h.in. Regards,
Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Tue, Feb 11, 2014 at 2:52 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
|
Date | 2014-02-11 22:24 |
From | Felipe Sateler |
Subject | Re: [Cs-dev] build fail -> OSC |
On commit 7808c5c9 the OSC header check was removed. Not sure why. On Tue, Feb 11, 2014 at 5:29 PM, Michael Gogins |
Date | 2014-02-12 11:51 |
From | "Hackbarth, Ben" |
Subject | Re: [Cs-dev] build fail -> OSC |
Attachments | None None |
I have liblo. Whatever has happened, everything was building fine a couple of months ago on the same machine. I'll poke around a bit and will report back if I find anything relevant.
– Ben
Dr. Ben Hackbarth
Lecturer & Head of Composition
School of Music, University of Liverpool
80-82 Bedford Street South, L69 7WW
+44(0)151 794 3099
On Feb 11, 2014, at 10:24 PM, Felipe Sateler wrote:
|
Date | 2014-02-12 23:02 |
From | Steven Yi |
Subject | Re: [Cs-dev] build fail -> OSC |
FYI: I've restored the lo/lo.h header check requirement that it is found to build the OSC opcodes. Ben: If there's an issue in finding the lo/lo.h headers, i.e. if they're in a non-standard place, we might need to add the location of the headers explicitly to the include path when building the OSC opcodes. If you're still having problems, could you look on your system where the lo.h header is located and report that here? On Wed, Feb 12, 2014 at 6:51 AM, Hackbarth, Ben |
Date | 2014-02-13 21:51 |
From | "Hackbarth, Ben" |
Subject | Re: [Cs-dev] build fail -> OSC |
Attachments | None None |
Cheers Steven, with your recent commit the develop branch builds fine on OSX 10.7 doubles.
– Ben
Dr. Ben Hackbarth
Lecturer & Head of Composition
School of Music, University of Liverpool
80-82 Bedford Street South, L69 7WW
+44(0)151 794 3099
On Feb 12, 2014, at 11:02 PM, Steven Yi wrote:
|
Date | 2014-02-14 14:57 |
From | Steven Yi |
Subject | Re: [Cs-dev] build fail -> OSC |
Not sure how the commit I did would have fixed the issue, but glad things are sorted out there. :) Cheers! steevn On Thu, Feb 13, 2014 at 4:51 PM, Hackbarth, Ben |