Csound Csound-dev Csound-tekno Search About

[Csnd-dev] build errors

Date2018-02-07 13:03
FromDave Seidel
Subject[Csnd-dev] build errors
I am getting new compilation errors, different errors on two different system. I currently build csound on a Linix Mint system, a Debian system, and a Raspberry Pi 3 (Raspian). All three are systems are up to date both with respect to the cscound development branch, and on the system level. Csound is building fine on the Debian system, but not on the other two. I have been routinely building csound on all three systems for some time now. After doing a git pull, I always remove CMakeCache.txt first, then run cmake, then make.

On the Linux Mint system, this is the error:

[ 45%] Building CXX object Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o
/home/dave/src/csound/csound/Opcodes/faustgen.cpp: In function ‘int32_t init_faustaudio(CSOUND*, faustgen*)’:
/home/dave/src/csound/csound/Opcodes/faustgen.cpp:434:12: error: ‘Sleep’ was not declared in this scope
     Sleep(1);
            ^
Opcodes/CMakeFiles/faustcsound.dir/build.make:62: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o' failed
make[2]: *** [Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o] Error 1
CMakeFiles/Makefile2:344: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/all' failed
make[1]: *** [Opcodes/CMakeFiles/faustcsound.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

On the Raspiann system, this is the error:

[ 62%] Building C object Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o
cd /home/pi/src/csound/cs6make/Opcodes && /usr/bin/cc  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX -DNO_FLTK_THREADS -DPIPES -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dpy_EXPORTS -I/home/pi/src/csound/csound/./H -I/home/pi/src/csound/csound/./include -I/home/pi/src/csound/csound/./Engine -I/home/pi/src/csound/csound/./util -I/home/pi/src/csound/csound/. -I/home/pi/src/csound/cs6make -I/home/pi/src/csound/cs6make/include -I/usr/include/python2.7 -I/home/pi/src/csound/csound/include  -Wall -Werror -Wno-missing-field-initializers -ffast-math -fomit-frame-pointer -mfloat-abi=hard -mfpu=neon -fvisibility=hidden -std=gnu99 -DHAVE_ATOMIC_BUILTIN -DHAVE_CURL -DHAVE_PTHREAD -fPIC   -o CMakeFiles/py.dir/py/pythonopcodes.c.o   -c /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c
/home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c: In function ‘pyinit’:
/home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c:196:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
     PyObject *csobj = Py_BuildValue("l", (int64_t) csound);
                                          ^
cc1: all warnings being treated as errors
Opcodes/CMakeFiles/py.dir/build.make:65: recipe for target 'Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o' failed
make[2]: *** [Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o] Error 1
make[2]: Leaving directory '/home/pi/src/csound/cs6make'
CMakeFiles/Makefile2:561: recipe for target 'Opcodes/CMakeFiles/py.dir/all' failed
make[1]: *** [Opcodes/CMakeFiles/py.dir/all] Error 2
make[1]: Leaving directory '/home/pi/src/csound/cs6make'
Makefile:152: recipe for target 'all' failed
make: *** [all] Error 2

Date2018-02-07 13:16
FromVictor Lazzarini
SubjectRe: [Csnd-dev] build errors
yes, there have been some changes. I’ll try to address those.
========================
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 7 Feb 2018, at 13:03, Dave Seidel  wrote:
> 
> I am getting new compilation errors, different errors on two different system. I currently build csound on a Linix Mint system, a Debian system, and a Raspberry Pi 3 (Raspian). All three are systems are up to date both with respect to the cscound development branch, and on the system level. Csound is building fine on the Debian system, but not on the other two. I have been routinely building csound on all three systems for some time now. After doing a git pull, I always remove CMakeCache.txt first, then run cmake, then make.
> 
> On the Linux Mint system, this is the error:
> 
> [ 45%] Building CXX object Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o
> /home/dave/src/csound/csound/Opcodes/faustgen.cpp: In function ‘int32_t init_faustaudio(CSOUND*, faustgen*)’:
> /home/dave/src/csound/csound/Opcodes/faustgen.cpp:434:12: error: ‘Sleep’ was not declared in this scope
>      Sleep(1);
>             ^
> Opcodes/CMakeFiles/faustcsound.dir/build.make:62: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o' failed
> make[2]: *** [Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o] Error 1
> CMakeFiles/Makefile2:344: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/all' failed
> make[1]: *** [Opcodes/CMakeFiles/faustcsound.dir/all] Error 2
> Makefile:149: recipe for target 'all' failed
> make: *** [all] Error 2
> 
> On the Raspiann system, this is the error:
> 
> [ 62%] Building C object Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o
> cd /home/pi/src/csound/cs6make/Opcodes && /usr/bin/cc  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX -DNO_FLTK_THREADS -DPIPES -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dpy_EXPORTS -I/home/pi/src/csound/csound/./H -I/home/pi/src/csound/csound/./include -I/home/pi/src/csound/csound/./Engine -I/home/pi/src/csound/csound/./util -I/home/pi/src/csound/csound/. -I/home/pi/src/csound/cs6make -I/home/pi/src/csound/cs6make/include -I/usr/include/python2.7 -I/home/pi/src/csound/csound/include  -Wall -Werror -Wno-missing-field-initializers -ffast-math -fomit-frame-pointer -mfloat-abi=hard -mfpu=neon -fvisibility=hidden -std=gnu99 -DHAVE_ATOMIC_BUILTIN -DHAVE_CURL -DHAVE_PTHREAD -fPIC   -o CMakeFiles/py.dir/py/pythonopcodes.c.o   -c /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c
> /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c: In function ‘pyinit’:
> /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c:196:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
>      PyObject *csobj = Py_BuildValue("l", (int64_t) csound);
>                                           ^
> cc1: all warnings being treated as errors
> Opcodes/CMakeFiles/py.dir/build.make:65: recipe for target 'Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o' failed
> make[2]: *** [Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o] Error 1
> make[2]: Leaving directory '/home/pi/src/csound/cs6make'
> CMakeFiles/Makefile2:561: recipe for target 'Opcodes/CMakeFiles/py.dir/all' failed
> make[1]: *** [Opcodes/CMakeFiles/py.dir/all] Error 2
> make[1]: Leaving directory '/home/pi/src/csound/cs6make'
> Makefile:152: recipe for target 'all' failed
> make: *

Date2018-02-07 13:22
FromVictor Lazzarini
SubjectRe: [Csnd-dev] build errors
can you try now?
========================
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 7 Feb 2018, at 13:16, Victor Lazzarini  wrote:
> 
> yes, there have been some changes. I’ll try to address those.
> ========================
> 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 7 Feb 2018, at 13:03, Dave Seidel  wrote:
>> 
>> I am getting new compilation errors, different errors on two different system. I currently build csound on a Linix Mint system, a Debian system, and a Raspberry Pi 3 (Raspian). All three are systems are up to date both with respect to the cscound development branch, and on the system level. Csound is building fine on the Debian system, but not on the other two. I have been routinely building csound on all three systems for some time now. After doing a git pull, I always remove CMakeCache.txt first, then run cmake, then make.
>> 
>> On the Linux Mint system, this is the error:
>> 
>> [ 45%] Building CXX object Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o
>> /home/dave/src/csound/csound/Opcodes/faustgen.cpp: In function ‘int32_t init_faustaudio(CSOUND*, faustgen*)’:
>> /home/dave/src/csound/csound/Opcodes/faustgen.cpp:434:12: error: ‘Sleep’ was not declared in this scope
>>     Sleep(1);
>>            ^
>> Opcodes/CMakeFiles/faustcsound.dir/build.make:62: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o' failed
>> make[2]: *** [Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o] Error 1
>> CMakeFiles/Makefile2:344: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/all' failed
>> make[1]: *** [Opcodes/CMakeFiles/faustcsound.dir/all] Error 2
>> Makefile:149: recipe for target 'all' failed
>> make: *** [all] Error 2
>> 
>> On the Raspiann system, this is the error:
>> 
>> [ 62%] Building C object Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o
>> cd /home/pi/src/csound/cs6make/Opcodes && /usr/bin/cc  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX -DNO_FLTK_THREADS -DPIPES -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dpy_EXPORTS -I/home/pi/src/csound/csound/./H -I/home/pi/src/csound/csound/./include -I/home/pi/src/csound/csound/./Engine -I/home/pi/src/csound/csound/./util -I/home/pi/src/csound/csound/. -I/home/pi/src/csound/cs6make -I/home/pi/src/csound/cs6make/include -I/usr/include/python2.7 -I/home/pi/src/csound/csound/include  -Wall -Werror -Wno-missing-field-initializers -ffast-math -fomit-frame-pointer -mfloat-abi=hard -mfpu=neon -fvisibility=hidden -std=gnu99 -DHAVE_ATOMIC_BUILTIN -DHAVE_CURL -DHAVE_PTHREAD -fPIC   -o CMakeFiles/py.dir/py/pythonopcodes.c.o   -c /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c
>> /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c: In function ‘pyinit’:
>> /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c:196:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
>>     PyObject *csobj = Py_BuildValue("l", (int64_t) csound);
>>                                          ^
>> cc1: all warnings being treated as errors
>> Opcodes/CMakeFiles/py.dir/build.make:65: recipe for target 'Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o' failed
>> make[2]: *** [Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o] Error 1
>> make[2]: Leaving directory '/home/pi/src/csound/cs6make'
>> CMakeFiles/Makefile2:561: recipe for target 'Opcodes/CMakeFiles/py.dir/all' failed
>> make[1]: *** [Opcodes/CMakeFiles/py.dir/all] Error 2
>> make[1]: Leaving directory '/home/pi/src/csound/cs6make'
>> Makefile:152: recipe for target 'all' failed
>> make

Date2018-02-07 13:38
FromDave Seidel
SubjectRe: [Csnd-dev] build errors
Thanks, Victor.

It works fine on the Mint systems now. On Raspian, the error appears to be fixed, but now there's a new one:

make[2]: Entering directory '/home/pi/src/csound/cs6make'
[ 62%] Building C object Opcodes/CMakeFiles/osc.dir/OSC.c.o
cd /home/pi/src/csound/cs6make/Opcodes && /usr/bin/cc  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX -DNO_FLTK_THREADS -DPIPES -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dosc_EXPORTS -I/home/pi/src/csound/csound/./H -I/home/pi/src/csound/csound/./include -I/home/pi/src/csound/csound/./Engine -I/home/pi/src/csound/csound/./util -I/home/pi/src/csound/csound/. -I/home/pi/src/csound/cs6make -I/home/pi/src/csound/cs6make/include  -Wall -Werror -Wno-missing-field-initializers -ffast-math -fomit-frame-pointer -mfloat-abi=hard -mfpu=neon -fvisibility=hidden -std=gnu99 -DHAVE_ATOMIC_BUILTIN -DHAVE_CURL -DHAVE_PTHREAD -fPIC   -o CMakeFiles/osc.dir/OSC.c.o   -c /home/pi/src/csound/csound/Opcodes/OSC.c
In file included from /home/pi/src/csound/csound/./include/csoundCore.h:35:0,
                 from /home/pi/src/csound/csound/./include/csdl.h:111,
                 from /home/pi/src/csound/csound/Opcodes/OSC.c:24:
/home/pi/src/csound/csound/Opcodes/OSC.c: In function ‘osc_send’:
/home/pi/src/csound/csound/Opcodes/OSC.c:210:35: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
           if (UNLIKELY(setsockopt((int64_t)p->addr, IPPROTO_IP,
                                   ^
/home/pi/src/csound/csound/./include/sysdep.h:340:45: note: in definition of macro ‘UNLIKELY’
 #  define UNLIKELY(x)   __builtin_expect(!!(x),0)
 

On Wed, Feb 7, 2018 at 8:22 AM, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
can you try now?
========================
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 7 Feb 2018, at 13:16, Victor Lazzarini <Victor.Lazzarini@MU.IE> wrote:
>
> yes, there have been some changes. I’ll try to address those.
> ========================
> 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 7 Feb 2018, at 13:03, Dave Seidel <dave.seidel@gmail.com> wrote:
>>
>> I am getting new compilation errors, different errors on two different system. I currently build csound on a Linix Mint system, a Debian system, and a Raspberry Pi 3 (Raspian). All three are systems are up to date both with respect to the cscound development branch, and on the system level. Csound is building fine on the Debian system, but not on the other two. I have been routinely building csound on all three systems for some time now. After doing a git pull, I always remove CMakeCache.txt first, then run cmake, then make.
>>
>> On the Linux Mint system, this is the error:
>>
>> [ 45%] Building CXX object Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o
>> /home/dave/src/csound/csound/Opcodes/faustgen.cpp: In function ‘int32_t init_faustaudio(CSOUND*, faustgen*)’:
>> /home/dave/src/csound/csound/Opcodes/faustgen.cpp:434:12: error: ‘Sleep’ was not declared in this scope
>>     Sleep(1);
>>            ^
>> Opcodes/CMakeFiles/faustcsound.dir/build.make:62: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o' failed
>> make[2]: *** [Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o] Error 1
>> CMakeFiles/Makefile2:344: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/all' failed
>> make[1]: *** [Opcodes/CMakeFiles/faustcsound.dir/all] Error 2
>> Makefile:149: recipe for target 'all' failed
>> make: *** [all] Error 2
>>
>> On the Raspiann system, this is the error:
>>
>> [ 62%] Building C object Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o
>> cd /home/pi/src/csound/cs6make/Opcodes && /usr/bin/cc  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX -DNO_FLTK_THREADS -DPIPES -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dpy_EXPORTS -I/home/pi/src/csound/csound/./H -I/home/pi/src/csound/csound/./include -I/home/pi/src/csound/csound/./Engine -I/home/pi/src/csound/csound/./util -I/home/pi/src/csound/csound/. -I/home/pi/src/csound/cs6make -I/home/pi/src/csound/cs6make/include -I/usr/include/python2.7 -I/home/pi/src/csound/csound/include  -Wall -Werror -Wno-missing-field-initializers -ffast-math -fomit-frame-pointer -mfloat-abi=hard -mfpu=neon -fvisibility=hidden -std=gnu99 -DHAVE_ATOMIC_BUILTIN -DHAVE_CURL -DHAVE_PTHREAD -fPIC   -o CMakeFiles/py.dir/py/pythonopcodes.c.o   -c /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c
>> /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c: In function ‘pyinit’:
>> /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c:196:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
>>     PyObject *csobj = Py_BuildValue("l", (int64_t) csound);
>>                                          ^
>> cc1: all warnings being treated as errors
>> Opcodes/CMakeFiles/py.dir/build.make:65: recipe for target 'Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o' failed
>> make[2]: *** [Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o] Error 1
>> make[2]: Leaving directory '/home/pi/src/csound/cs6make'
>> CMakeFiles/Makefile2:561: recipe for target 'Opcodes/CMakeFiles/py.dir/all' failed
>> make[1]: *** [Opcodes/CMakeFiles/py.dir/all] Error 2
>> make[1]: Leaving directory '/home/pi/src/csound/cs6make'
>> Makefile:152: recipe for target 'all' failed
>> make: *** [all] Error 2
>




--

Date2018-02-07 13:42
FromVictor Lazzarini
SubjectRe: [Csnd-dev] build errors
Ok, will fix it.
========================
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 7 Feb 2018, at 13:38, Dave Seidel  wrote:
> 
> Thanks, Victor.
> 
> It works fine on the Mint systems now. On Raspian, the error appears to be fixed, but now there's a new one:
> 
> make[2]: Entering directory '/home/pi/src/csound/cs6make'
> [ 62%] Building C object Opcodes/CMakeFiles/osc.dir/OSC.c.o
> cd /home/pi/src/csound/cs6make/Opcodes && /usr/bin/cc  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX -DNO_FLTK_THREADS -DPIPES -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dosc_EXPORTS -I/home/pi/src/csound/csound/./H -I/home/pi/src/csound/csound/./include -I/home/pi/src/csound/csound/./Engine -I/home/pi/src/csound/csound/./util -I/home/pi/src/csound/csound/. -I/home/pi/src/csound/cs6make -I/home/pi/src/csound/cs6make/include  -Wall -Werror -Wno-missing-field-initializers -ffast-math -fomit-frame-pointer -mfloat-abi=hard -mfpu=neon -fvisibility=hidden -std=gnu99 -DHAVE_ATOMIC_BUILTIN -DHAVE_CURL -DHAVE_PTHREAD -fPIC   -o CMakeFiles/osc.dir/OSC.c.o   -c /home/pi/src/csound/csound/Opcodes/OSC.c
> In file included from /home/pi/src/csound/csound/./include/csoundCore.h:35:0,
>                  from /home/pi/src/csound/csound/./include/csdl.h:111,
>                  from /home/pi/src/csound/csound/Opcodes/OSC.c:24:
> /home/pi/src/csound/csound/Opcodes/OSC.c: In function ‘osc_send’:
> /home/pi/src/csound/csound/Opcodes/OSC.c:210:35: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
>            if (UNLIKELY(setsockopt((int64_t)p->addr, IPPROTO_IP,
>                                    ^
> /home/pi/src/csound/csound/./include/sysdep.h:340:45: note: in definition of macro ‘UNLIKELY’
>  #  define UNLIKELY(x)   __builtin_expect(!!(x),0)
>  
> 
> On Wed, Feb 7, 2018 at 8:22 AM, Victor Lazzarini  wrote:
> can you try now?
> ========================
> 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 7 Feb 2018, at 13:16, Victor Lazzarini  wrote:
> >
> > yes, there have been some changes. I’ll try to address those.
> > ========================
> > 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 7 Feb 2018, at 13:03, Dave Seidel  wrote:
> >>
> >> I am getting new compilation errors, different errors on two different system. I currently build csound on a Linix Mint system, a Debian system, and a Raspberry Pi 3 (Raspian). All three are systems are up to date both with respect to the cscound development branch, and on the system level. Csound is building fine on the Debian system, but not on the other two. I have been routinely building csound on all three systems for some time now. After doing a git pull, I always remove CMakeCache.txt first, then run cmake, then make.
> >>
> >> On the Linux Mint system, this is the error:
> >>
> >> [ 45%] Building CXX object Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o
> >> /home/dave/src/csound/csound/Opcodes/faustgen.cpp: In function ‘int32_t init_faustaudio(CSOUND*, faustgen*)’:
> >> /home/dave/src/csound/csound/Opcodes/faustgen.cpp:434:12: error: ‘Sleep’ was not declared in this scope
> >>     Sleep(1);
> >>            ^
> >> Opcodes/CMakeFiles/faustcsound.dir/build.make:62: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o' failed
> >> make[2]: *** [Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o] Error 1
> >> CMakeFiles/Makefile2:344: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/all' failed
> >> make[1]: *** [Opcodes/CMakeFiles/faustcsound.dir/all] Error 2
> >> Makefile:149: recipe for target 'all' failed
> >> make: *** [all] Error 2
> >>
> >> On the Raspiann system, this is the error:
> >>
> >> [ 62%] Building C object Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o
> >> cd /home/pi/src/csound/cs6make/Opcodes && /usr/bin/cc  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX -DNO_FLTK_THREADS -DPIPES -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dpy_EXPORTS -I/home/pi/src/csound/csound/./H -I/home/pi/src/csound/csound/./include -I/home/pi/src/csound/csound/./Engine -I/home/pi/src/csound/csound/./util -I/home/pi/src/csound/csound/. -I/home/pi/src/csound/cs6make -I/home/pi/src/csound/cs6make/include -I/usr/include/python2.7 -I/home/pi/src/csound/csound/include  -Wall -Werror -Wno-missing-field-initializers -ffast-math -fomit-frame-pointer -mfloat-abi=hard -mfpu=neon -fvisibility=hidden -std=gnu99 -DHAVE_ATOMIC_BUILTIN -DHAVE_CURL -DHAVE_PTHREAD -fPIC   -o CMakeFiles/py.dir/py/pythonopcodes.c.o   -c /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c
> >> /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c: In function ‘pyinit’:
> >> /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c:196:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
> >>     PyObject *csobj = Py_BuildValue("l", (int64_t) csound);
> >>                                          ^
> >> cc1: all warnings being treated as errors
> >> Opcodes/CMakeFiles/py.dir/build.make:65: recipe for target 'Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o' failed
> >> make[2]: *** [Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o] Error 1
> >> make[2]: Leaving directory '/home/pi/src/csound/cs6make'
> >> CMakeFiles/Makefile2:561: recipe for target 'Opcodes/CMakeFiles/py.dir/all' failed
> >> make[1]: *** [Opcodes/CMakeFiles/py.dir/all] Error 2
> >> make[1]: Leaving directory '/home/pi/src/csound/cs6make'
> >> Makefile:152: recipe for target 'all' failed
> >> make: *** [all] Error 2
> >
> 
> 
> 
> 
> -- 
> http://mysterybear.net
> https://soundcloud.com/mysterybear
> https://mysterybear.bandcamp.com
> 
> http://recordings.irritablehe

Date2018-02-07 13:47
FromVictor Lazzarini
SubjectRe: [Csnd-dev] build errors
Can you please try it again?
========================
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 7 Feb 2018, at 13:42, Victor Lazzarini  wrote:
> 
> Ok, will fix it.
> ========================
> 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 7 Feb 2018, at 13:38, Dave Seidel  wrote:
>> 
>> Thanks, Victor.
>> 
>> It works fine on the Mint systems now. On Raspian, the error appears to be fixed, but now there's a new one:
>> 
>> make[2]: Entering directory '/home/pi/src/csound/cs6make'
>> [ 62%] Building C object Opcodes/CMakeFiles/osc.dir/OSC.c.o
>> cd /home/pi/src/csound/cs6make/Opcodes && /usr/bin/cc  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX -DNO_FLTK_THREADS -DPIPES -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dosc_EXPORTS -I/home/pi/src/csound/csound/./H -I/home/pi/src/csound/csound/./include -I/home/pi/src/csound/csound/./Engine -I/home/pi/src/csound/csound/./util -I/home/pi/src/csound/csound/. -I/home/pi/src/csound/cs6make -I/home/pi/src/csound/cs6make/include  -Wall -Werror -Wno-missing-field-initializers -ffast-math -fomit-frame-pointer -mfloat-abi=hard -mfpu=neon -fvisibility=hidden -std=gnu99 -DHAVE_ATOMIC_BUILTIN -DHAVE_CURL -DHAVE_PTHREAD -fPIC   -o CMakeFiles/osc.dir/OSC.c.o   -c /home/pi/src/csound/csound/Opcodes/OSC.c
>> In file included from /home/pi/src/csound/csound/./include/csoundCore.h:35:0,
>>                 from /home/pi/src/csound/csound/./include/csdl.h:111,
>>                 from /home/pi/src/csound/csound/Opcodes/OSC.c:24:
>> /home/pi/src/csound/csound/Opcodes/OSC.c: In function ‘osc_send’:
>> /home/pi/src/csound/csound/Opcodes/OSC.c:210:35: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
>>           if (UNLIKELY(setsockopt((int64_t)p->addr, IPPROTO_IP,
>>                                   ^
>> /home/pi/src/csound/csound/./include/sysdep.h:340:45: note: in definition of macro ‘UNLIKELY’
>> #  define UNLIKELY(x)   __builtin_expect(!!(x),0)
>> 
>> 
>> On Wed, Feb 7, 2018 at 8:22 AM, Victor Lazzarini  wrote:
>> can you try now?
>> ========================
>> 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 7 Feb 2018, at 13:16, Victor Lazzarini  wrote:
>>> 
>>> yes, there have been some changes. I’ll try to address those.
>>> ========================
>>> 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 7 Feb 2018, at 13:03, Dave Seidel  wrote:
>>>> 
>>>> I am getting new compilation errors, different errors on two different system. I currently build csound on a Linix Mint system, a Debian system, and a Raspberry Pi 3 (Raspian). All three are systems are up to date both with respect to the cscound development branch, and on the system level. Csound is building fine on the Debian system, but not on the other two. I have been routinely building csound on all three systems for some time now. After doing a git pull, I always remove CMakeCache.txt first, then run cmake, then make.
>>>> 
>>>> On the Linux Mint system, this is the error:
>>>> 
>>>> [ 45%] Building CXX object Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o
>>>> /home/dave/src/csound/csound/Opcodes/faustgen.cpp: In function ‘int32_t init_faustaudio(CSOUND*, faustgen*)’:
>>>> /home/dave/src/csound/csound/Opcodes/faustgen.cpp:434:12: error: ‘Sleep’ was not declared in this scope
>>>>    Sleep(1);
>>>>           ^
>>>> Opcodes/CMakeFiles/faustcsound.dir/build.make:62: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o' failed
>>>> make[2]: *** [Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o] Error 1
>>>> CMakeFiles/Makefile2:344: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/all' failed
>>>> make[1]: *** [Opcodes/CMakeFiles/faustcsound.dir/all] Error 2
>>>> Makefile:149: recipe for target 'all' failed
>>>> make: *** [all] Error 2
>>>> 
>>>> On the Raspiann system, this is the error:
>>>> 
>>>> [ 62%] Building C object Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o
>>>> cd /home/pi/src/csound/cs6make/Opcodes && /usr/bin/cc  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX -DNO_FLTK_THREADS -DPIPES -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dpy_EXPORTS -I/home/pi/src/csound/csound/./H -I/home/pi/src/csound/csound/./include -I/home/pi/src/csound/csound/./Engine -I/home/pi/src/csound/csound/./util -I/home/pi/src/csound/csound/. -I/home/pi/src/csound/cs6make -I/home/pi/src/csound/cs6make/include -I/usr/include/python2.7 -I/home/pi/src/csound/csound/include  -Wall -Werror -Wno-missing-field-initializers -ffast-math -fomit-frame-pointer -mfloat-abi=hard -mfpu=neon -fvisibility=hidden -std=gnu99 -DHAVE_ATOMIC_BUILTIN -DHAVE_CURL -DHAVE_PTHREAD -fPIC   -o CMakeFiles/py.dir/py/pythonopcodes.c.o   -c /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c
>>>> /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c: In function ‘pyinit’:
>>>> /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c:196:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
>>>>    PyObject *csobj = Py_BuildValue("l", (int64_t) csound);
>>>>                                         ^
>>>> cc1: all warnings being treated as errors
>>>> Opcodes/CMakeFiles/py.dir/build.make:65: recipe for target 'Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o' failed
>>>> make[2]: *** [Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o] Error 1
>>>> make[2]: Leaving directory '/home/pi/src/csound/cs6make'
>>>> CMakeFiles/Makefile2:561: recipe for target 'Opcodes/CMakeFiles/py.dir/all' failed
>>>> make[1]: *** [Opcodes/CMakeFiles/py.dir/all] Error 2
>>>> make[1]: Leaving directory '/home/pi/src/csound/cs6make'
>>>> Makefile:152: recipe for target 'all' failed
>>>> make: *** [all] Error 2
>>> 
>> 
>> 
>> 
>> 
>> -- 
>> http://mysterybear.net
>> https://soundcloud.com/mysterybear
>> https://mysterybear.bandcamp.com
>> 
>> http://recordings.irritablehedgehog.com/album/dave-seidel-60-hz

Date2018-02-07 13:54
FromDave Seidel
SubjectRe: [Csnd-dev] build errors
Verified on all three systems. Thanks again, Victor.

On Wed, Feb 7, 2018 at 8:47 AM, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
Can you please try it again?
========================
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 7 Feb 2018, at 13:42, Victor Lazzarini <Victor.Lazzarini@MU.IE> wrote:
>
> Ok, will fix it.
> ========================
> 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 7 Feb 2018, at 13:38, Dave Seidel <dave.seidel@GMAIL.COM> wrote:
>>
>> Thanks, Victor.
>>
>> It works fine on the Mint systems now. On Raspian, the error appears to be fixed, but now there's a new one:
>>
>> make[2]: Entering directory '/home/pi/src/csound/cs6make'
>> [ 62%] Building C object Opcodes/CMakeFiles/osc.dir/OSC.c.o
>> cd /home/pi/src/csound/cs6make/Opcodes && /usr/bin/cc  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX -DNO_FLTK_THREADS -DPIPES -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dosc_EXPORTS -I/home/pi/src/csound/csound/./H -I/home/pi/src/csound/csound/./include -I/home/pi/src/csound/csound/./Engine -I/home/pi/src/csound/csound/./util -I/home/pi/src/csound/csound/. -I/home/pi/src/csound/cs6make -I/home/pi/src/csound/cs6make/include  -Wall -Werror -Wno-missing-field-initializers -ffast-math -fomit-frame-pointer -mfloat-abi=hard -mfpu=neon -fvisibility=hidden -std=gnu99 -DHAVE_ATOMIC_BUILTIN -DHAVE_CURL -DHAVE_PTHREAD -fPIC   -o CMakeFiles/osc.dir/OSC.c.o   -c /home/pi/src/csound/csound/Opcodes/OSC.c
>> In file included from /home/pi/src/csound/csound/./include/csoundCore.h:35:0,
>>                 from /home/pi/src/csound/csound/./include/csdl.h:111,
>>                 from /home/pi/src/csound/csound/Opcodes/OSC.c:24:
>> /home/pi/src/csound/csound/Opcodes/OSC.c: In function ‘osc_send’:
>> /home/pi/src/csound/csound/Opcodes/OSC.c:210:35: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
>>           if (UNLIKELY(setsockopt((int64_t)p->addr, IPPROTO_IP,
>>                                   ^
>> /home/pi/src/csound/csound/./include/sysdep.h:340:45: note: in definition of macro ‘UNLIKELY’
>> #  define UNLIKELY(x)   __builtin_expect(!!(x),0)
>>
>>
>> On Wed, Feb 7, 2018 at 8:22 AM, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
>> can you try now?
>> ========================
>> 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 7 Feb 2018, at 13:16, Victor Lazzarini <Victor.Lazzarini@MU.IE> wrote:
>>>
>>> yes, there have been some changes. I’ll try to address those.
>>> ========================
>>> 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 7 Feb 2018, at 13:03, Dave Seidel <dave.seidel@gmail.com> wrote:
>>>>
>>>> I am getting new compilation errors, different errors on two different system. I currently build csound on a Linix Mint system, a Debian system, and a Raspberry Pi 3 (Raspian). All three are systems are up to date both with respect to the cscound development branch, and on the system level. Csound is building fine on the Debian system, but not on the other two. I have been routinely building csound on all three systems for some time now. After doing a git pull, I always remove CMakeCache.txt first, then run cmake, then make.
>>>>
>>>> On the Linux Mint system, this is the error:
>>>>
>>>> [ 45%] Building CXX object Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o
>>>> /home/dave/src/csound/csound/Opcodes/faustgen.cpp: In function ‘int32_t init_faustaudio(CSOUND*, faustgen*)’:
>>>> /home/dave/src/csound/csound/Opcodes/faustgen.cpp:434:12: error: ‘Sleep’ was not declared in this scope
>>>>    Sleep(1);
>>>>           ^
>>>> Opcodes/CMakeFiles/faustcsound.dir/build.make:62: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o' failed
>>>> make[2]: *** [Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o] Error 1
>>>> CMakeFiles/Makefile2:344: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/all' failed
>>>> make[1]: *** [Opcodes/CMakeFiles/faustcsound.dir/all] Error 2
>>>> Makefile:149: recipe for target 'all' failed
>>>> make: *** [all] Error 2
>>>>
>>>> On the Raspiann system, this is the error:
>>>>
>>>> [ 62%] Building C object Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o
>>>> cd /home/pi/src/csound/cs6make/Opcodes && /usr/bin/cc  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX -DNO_FLTK_THREADS -DPIPES -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dpy_EXPORTS -I/home/pi/src/csound/csound/./H -I/home/pi/src/csound/csound/./include -I/home/pi/src/csound/csound/./Engine -I/home/pi/src/csound/csound/./util -I/home/pi/src/csound/csound/. -I/home/pi/src/csound/cs6make -I/home/pi/src/csound/cs6make/include -I/usr/include/python2.7 -I/home/pi/src/csound/csound/include  -Wall -Werror -Wno-missing-field-initializers -ffast-math -fomit-frame-pointer -mfloat-abi=hard -mfpu=neon -fvisibility=hidden -std=gnu99 -DHAVE_ATOMIC_BUILTIN -DHAVE_CURL -DHAVE_PTHREAD -fPIC   -o CMakeFiles/py.dir/py/pythonopcodes.c.o   -c /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c
>>>> /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c: In function ‘pyinit’:
>>>> /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c:196:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
>>>>    PyObject *csobj = Py_BuildValue("l", (int64_t) csound);
>>>>                                         ^
>>>> cc1: all warnings being treated as errors
>>>> Opcodes/CMakeFiles/py.dir/build.make:65: recipe for target 'Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o' failed
>>>> make[2]: *** [Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o] Error 1
>>>> make[2]: Leaving directory '/home/pi/src/csound/cs6make'
>>>> CMakeFiles/Makefile2:561: recipe for target 'Opcodes/CMakeFiles/py.dir/all' failed
>>>> make[1]: *** [Opcodes/CMakeFiles/py.dir/all] Error 2
>>>> make[1]: Leaving directory '/home/pi/src/csound/cs6make'
>>>> Makefile:152: recipe for target 'all' failed
>>>> make: *** [all] Error 2
>>>
>>
>>
>>
>>
>> --
>> http://mysterybear.net
>> https://soundcloud.com/mysterybear
>> https://mysterybear.bandcamp.com
>>
>> http://recordings.irritablehedgehog.com/album/dave-seidel-60-hz
>




--

Date2018-02-07 13:55
FromVictor Lazzarini
SubjectRe: [Csnd-dev] build errors
Excellent, thanks for checking.
========================
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 7 Feb 2018, at 13:54, Dave Seidel  wrote:
> 
> Verified on all three systems. Thanks again, Victor.
> 
> On Wed, Feb 7, 2018 at 8:47 AM, Victor Lazzarini  wrote:
> Can you please try it again?
> ========================
> 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 7 Feb 2018, at 13:42, Victor Lazzarini  wrote:
> >
> > Ok, will fix it.
> > ========================
> > 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 7 Feb 2018, at 13:38, Dave Seidel  wrote:
> >>
> >> Thanks, Victor.
> >>
> >> It works fine on the Mint systems now. On Raspian, the error appears to be fixed, but now there's a new one:
> >>
> >> make[2]: Entering directory '/home/pi/src/csound/cs6make'
> >> [ 62%] Building C object Opcodes/CMakeFiles/osc.dir/OSC.c.o
> >> cd /home/pi/src/csound/cs6make/Opcodes && /usr/bin/cc  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX -DNO_FLTK_THREADS -DPIPES -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dosc_EXPORTS -I/home/pi/src/csound/csound/./H -I/home/pi/src/csound/csound/./include -I/home/pi/src/csound/csound/./Engine -I/home/pi/src/csound/csound/./util -I/home/pi/src/csound/csound/. -I/home/pi/src/csound/cs6make -I/home/pi/src/csound/cs6make/include  -Wall -Werror -Wno-missing-field-initializers -ffast-math -fomit-frame-pointer -mfloat-abi=hard -mfpu=neon -fvisibility=hidden -std=gnu99 -DHAVE_ATOMIC_BUILTIN -DHAVE_CURL -DHAVE_PTHREAD -fPIC   -o CMakeFiles/osc.dir/OSC.c.o   -c /home/pi/src/csound/csound/Opcodes/OSC.c
> >> In file included from /home/pi/src/csound/csound/./include/csoundCore.h:35:0,
> >>                 from /home/pi/src/csound/csound/./include/csdl.h:111,
> >>                 from /home/pi/src/csound/csound/Opcodes/OSC.c:24:
> >> /home/pi/src/csound/csound/Opcodes/OSC.c: In function ‘osc_send’:
> >> /home/pi/src/csound/csound/Opcodes/OSC.c:210:35: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
> >>           if (UNLIKELY(setsockopt((int64_t)p->addr, IPPROTO_IP,
> >>                                   ^
> >> /home/pi/src/csound/csound/./include/sysdep.h:340:45: note: in definition of macro ‘UNLIKELY’
> >> #  define UNLIKELY(x)   __builtin_expect(!!(x),0)
> >>
> >>
> >> On Wed, Feb 7, 2018 at 8:22 AM, Victor Lazzarini  wrote:
> >> can you try now?
> >> ========================
> >> 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 7 Feb 2018, at 13:16, Victor Lazzarini  wrote:
> >>>
> >>> yes, there have been some changes. I’ll try to address those.
> >>> ========================
> >>> 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 7 Feb 2018, at 13:03, Dave Seidel  wrote:
> >>>>
> >>>> I am getting new compilation errors, different errors on two different system. I currently build csound on a Linix Mint system, a Debian system, and a Raspberry Pi 3 (Raspian). All three are systems are up to date both with respect to the cscound development branch, and on the system level. Csound is building fine on the Debian system, but not on the other two. I have been routinely building csound on all three systems for some time now. After doing a git pull, I always remove CMakeCache.txt first, then run cmake, then make.
> >>>>
> >>>> On the Linux Mint system, this is the error:
> >>>>
> >>>> [ 45%] Building CXX object Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o
> >>>> /home/dave/src/csound/csound/Opcodes/faustgen.cpp: In function ‘int32_t init_faustaudio(CSOUND*, faustgen*)’:
> >>>> /home/dave/src/csound/csound/Opcodes/faustgen.cpp:434:12: error: ‘Sleep’ was not declared in this scope
> >>>>    Sleep(1);
> >>>>           ^
> >>>> Opcodes/CMakeFiles/faustcsound.dir/build.make:62: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o' failed
> >>>> make[2]: *** [Opcodes/CMakeFiles/faustcsound.dir/faustgen.cpp.o] Error 1
> >>>> CMakeFiles/Makefile2:344: recipe for target 'Opcodes/CMakeFiles/faustcsound.dir/all' failed
> >>>> make[1]: *** [Opcodes/CMakeFiles/faustcsound.dir/all] Error 2
> >>>> Makefile:149: recipe for target 'all' failed
> >>>> make: *** [all] Error 2
> >>>>
> >>>> On the Raspiann system, this is the error:
> >>>>
> >>>> [ 62%] Building C object Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o
> >>>> cd /home/pi/src/csound/cs6make/Opcodes && /usr/bin/cc  -DCS_DEFAULT_PLUGINDIR=\"/usr/local/lib/csound/plugins64-6.0\" -DHAVE_SOCKETS -DHAVE_STRTOD_L -DHAVE_STRTOK_R -DLINUX -DNO_FLTK_THREADS -DPIPES -D_CSOUND_RELEASE_ -D_GNU_SOURCE -Dpy_EXPORTS -I/home/pi/src/csound/csound/./H -I/home/pi/src/csound/csound/./include -I/home/pi/src/csound/csound/./Engine -I/home/pi/src/csound/csound/./util -I/home/pi/src/csound/csound/. -I/home/pi/src/csound/cs6make -I/home/pi/src/csound/cs6make/include -I/usr/include/python2.7 -I/home/pi/src/csound/csound/include  -Wall -Werror -Wno-missing-field-initializers -ffast-math -fomit-frame-pointer -mfloat-abi=hard -mfpu=neon -fvisibility=hidden -std=gnu99 -DHAVE_ATOMIC_BUILTIN -DHAVE_CURL -DHAVE_PTHREAD -fPIC   -o CMakeFiles/py.dir/py/pythonopcodes.c.o   -c /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c
> >>>> /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c: In function ‘pyinit’:
> >>>> /home/pi/src/csound/csound/Opcodes/py/pythonopcodes.c:196:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
> >>>>    PyObject *csobj = Py_BuildValue("l", (int64_t) csound);
> >>>>                                         ^
> >>>> cc1: all warnings being treated as errors
> >>>> Opcodes/CMakeFiles/py.dir/build.make:65: recipe for target 'Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o' failed
> >>>> make[2]: *** [Opcodes/CMakeFiles/py.dir/py/pythonopcodes.c.o] Error 1
> >>>> make[2]: Leaving directory '/home/pi/src/csound/cs6make'
> >>>> CMakeFiles/Makefile2:561: recipe for target 'Opcodes/CMakeFiles/py.dir/all' failed
> >>>> make[1]: *** [Opcodes/CMakeFiles/py.dir/all] Error 2
> >>>> make[1]: Leaving directory '/home/pi/src/csound/cs6make'
> >>>> Makefile:152: recipe for target 'all' failed
> >>>> make: *** [all] Error 2
> >>>
> >>
> >>
> >>
> >>
> >> --
> >> http://mysterybear.net
> >> https://soundcloud.com/mysterybear
> >> https://mysterybear.bandcamp.com
> >>
> >> http://recordings.irritablehedgehog.com/album/dave-seidel-60-hz
> >
> 
> 
> 
> 
> -- 
> http://mysterybear.net
> https://soundcloud.com/mysterybear
> https://mysterybear.bandcamp.com
> 
> http://recordings.irrita