Hi Jean, There was an error in the makefile (caused by some updates to the chuck source that didn't get moved to the chugin souce). I have committed a fix to the chugins repository on github, so if you pull from origin and try again, it should build successfully. spencer On Wed, Nov 26, 2014 at 11:50 PM, Jean Menezes da Rocha < jean@menezesdarocha.info> wrote:
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
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- Spencer Salazar Doctoral Candidate Center for Computer Research in Music and Acoustics Stanford University https://ccrma.stanford.edu/~spencer/