Csound Csound-dev Csound-tekno Search About

[Csnd-dev] compilation problem

Date2017-08-05 22:00
Fromjpff
Subject[Csnd-dev] compilation problem
Just tried rebuilding on my Debian machine but failed with

cd /home/jpff/csound6/Opcodes && /usr/bin/gcc  -Ddssi4cs_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L -ftree-vectorize -ffast-math -mfpmath=sse -msse2 -fomit-frame-pointer -Wall -W -Wno-missing-field-initializers -Wno-unused-parameter -O3 -mtune=core2 -ftree-vectorize -ffast-math -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -g -fPIC -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    -Wno-format -o CMakeFiles/dssi4cs.dir/dssi4cs/src/dssi4cs.c.o   -c /home/jpff/csound6/Opcodes/dssi4cs/src/dssi4cs.c
In file included from /home/jpff/csound6/Opcodes/dssi4cs/src/dssi4cs.h:23:0,
                 from /home/jpff/csound6/Opcodes/dssi4cs/src/dssi4cs.c:23:
/home/jpff/csound6/Opcodes/dssi4cs/src/dssi.h:28:28: fatal error: alsa/seq_event.h: No such file or directory
compilation terminated.

This used to work. Machine does not have sound enabled afik.

What changed?

Date2017-08-05 22:10
FromVictor Lazzarini
SubjectRe: [Csnd-dev] compilation problem
did you try adding USE_ALSA=0 to cmake?

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

> On 5 Aug 2017, at 22:01, jpff  wrote:
> 
> Just tried rebuilding on my Debian machine but failed with
> 
> cd /home/jpff/csound6/Opcodes && /usr/bin/gcc  -Ddssi4cs_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L -ftree-vectorize -ffast-math -mfpmath=sse -msse2 -fomit-frame-pointer -Wall -W -Wno-missing-field-initializers -Wno-unused-parameter -O3 -mtune=core2 -ftree-vectorize -ffast-math -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -g -fPIC -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    -Wno-format -o CMakeFiles/dssi4cs.dir/dssi4cs/src/dssi4cs.c.o   -c /home/jpff/csound6/Opcodes/dssi4cs/src/dssi4cs.c
> In file included from /home/jpff/csound6/Opcodes/dssi4cs/src/dssi4cs.h:23:0,
>                 from /home/jpff/csound6/Opcodes/dssi4cs/src/dssi4cs.c:23:
> /home/jpff/csound6/Opcodes/dssi4cs/src/dssi.h:28:28: fatal error: alsa/seq_event.h: No such file or directory
> compilation terminated.
> 
> This used to work. Machine does not have sound enabled afik.
> 
> What changed?

Date2017-08-06 04:57
FromSteven Yi
SubjectRe: [Csnd-dev] compilation problem
This was a failure that I saw affected someone using homebrew OSX and I ended up disabling DSSI for all platforms but Linux. Maybe the target needs further update to check for alsa too?
On Sat, Aug 5, 2017 at 5:10 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
did you try adding USE_ALSA=0 to cmake?

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

> On 5 Aug 2017, at 22:01, jpff <jpff@CODEMIST.CO.UK> wrote:
>
> Just tried rebuilding on my Debian machine but failed with
>
> cd /home/jpff/csound6/Opcodes && /usr/bin/gcc  -Ddssi4cs_EXPORTS -D_CSOUND_RELEASE_ -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DUSE_LRINT -DLINUX -DPIPES -DNO_FLTK_THREADS -D_GNU_SOURCE -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L -ftree-vectorize -ffast-math -mfpmath=sse -msse2 -fomit-frame-pointer -Wall -W -Wno-missing-field-initializers -Wno-unused-parameter -O3 -mtune=core2 -ftree-vectorize -ffast-math -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN -DHAVE_PTHREAD -g -fPIC -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    -Wno-format -o CMakeFiles/dssi4cs.dir/dssi4cs/src/dssi4cs.c.o   -c /home/jpff/csound6/Opcodes/dssi4cs/src/dssi4cs.c
> In file included from /home/jpff/csound6/Opcodes/dssi4cs/src/dssi4cs.h:23:0,
>                 from /home/jpff/csound6/Opcodes/dssi4cs/src/dssi4cs.c:23:
> /home/jpff/csound6/Opcodes/dssi4cs/src/dssi.h:28:28: fatal error: alsa/seq_event.h: No such file or directory
> compilation terminated.
>
> This used to work. Machine does not have sound enabled afik.
>
> What changed?
> ==John ffitch