[chuck-users] chugins won't compile
Jean Menezes da Rocha
jean at menezesdarocha.info
Thu Nov 27 02:50:10 EST 2014
Hello, fellow ChucKers,
I cloned the ccrma/chugins repo from github. When I try to "make linux",
the following error log appears:
CHUCK_STRICT=1 make -C ABSaturator/ linux
> make[1]: Entering directory '/home/jean/sandbox/chugins/ABSaturator'
> g++ -D__LINUX_ALSA__ -I../chuck/include/ -fPIC -O3 -Werror -c -o
> ABSaturator.o ABSaturator.cpp
> In file included from ../chuck/include/chuck_oo.h:43:0,
> from ../chuck/include/chuck_dl.h:41,
> from ABSaturator.cpp:27:
> ../chuck/include/util_thread.h:81:17: error: ‘THREAD_FUNCTION’ has not
> been declared
> bool start( THREAD_FUNCTION routine, void * ptr = NULL );
> ^
> ../chuck/include/util_thread.h:94:5: error: ‘THREAD_HANDLE’ does not name
> a type
> THREAD_HANDLE thread;
> ^
> ../chuck/include/util_thread.h: In member function ‘void XThread::clear()’:
> ../chuck/include/util_thread.h:91:20: error: ‘thread’ was not declared in
> this scope
> void clear() { thread = 0; }
> ^
> ../chuck/include/util_thread.h: At global scope:
> ../chuck/include/util_thread.h:115:5: error: ‘MUTEX’ does not name a type
> MUTEX mutex;
> ^
> In file included from ../chuck/include/chuck_dl.h:41:0,
> from ABSaturator.cpp:27:
> ../chuck/include/chuck_oo.h:485:28: error: ‘THREAD_TYPE’ has not been
> declared
> static THREAD_RETURN ( THREAD_TYPE writeStr_thread ) ( void *data );
> ^
> ../chuck/include/chuck_oo.h:485:71: error: ISO C++ forbids declaration of
> ‘THREAD_RETURN’ with no type [-fpermissive]
> static THREAD_RETURN ( THREAD_TYPE writeStr_thread ) ( void *data );
> ^
> ../chuck/include/chuck_oo.h:485:71: error: ‘THREAD_RETURN’ declared as
> function returning a function
> ../chuck/include/chuck_oo.h:486:28: error: ‘THREAD_TYPE’ has not been
> declared
> static THREAD_RETURN ( THREAD_TYPE writeInt_thread ) ( void *data );
> ^
> ../chuck/include/chuck_oo.h:486:71: error: ISO C++ forbids declaration of
> ‘THREAD_RETURN’ with no type [-fpermissive]
> static THREAD_RETURN ( THREAD_TYPE writeInt_thread ) ( void *data );
> ^
> ../chuck/include/chuck_oo.h:486:71: error: ‘THREAD_RETURN’ declared as
> function returning a function
> ../chuck/include/chuck_oo.h:487:28: error: ‘THREAD_TYPE’ has not been
> declared
> static THREAD_RETURN ( THREAD_TYPE writeFloat_thread ) ( void *data );
> ^
> ../chuck/include/chuck_oo.h:487:73: error: ISO C++ forbids declaration of
> ‘THREAD_RETURN’ with no type [-fpermissive]
> static THREAD_RETURN ( THREAD_TYPE writeFloat_thread ) ( void *data );
> ^
> ../chuck/include/chuck_oo.h:487:73: error: ‘THREAD_RETURN’ declared as
> function returning a function
> makefile:102: recipe for target 'ABSaturator.o' failed
> make[1]: *** [ABSaturator.o] Error 1
> make[1]: Leaving directory '/home/jean/sandbox/chugins/ABSaturator'
> makefile:30: recipe for target 'ABSaturator/ABSaturator.chug' failed
> make: *** [ABSaturator/ABSaturator.chug] Error 2
What do you think?
Best regards!
--
Jean Menezes da Rocha
Compositor
Professor -- Faculdades Est
Mestre e Doutorando em Composição pela Universidade Federal da Bahia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20141127/3fe75af4/attachment.html>
More information about the chuck-users
mailing list