problems building Spencer Salazar's MAUI on linux
I'm using Fedora 22. ChucK and miniAudicle are working fine. *bernardo@localhost MAUI.chug]$ make linuxg++ -D__LINUX_ALSA__ -Ichuck/include/ -Ichuck/include/ -O3 -c -o MAUI.o MAUI.cppIn file included from chuck/include/chuck_oo.h:43:0,from chuck/include/chuck_dl.h:41,from MAUI.cpp:7:chuck/include/util_thread.h:81:17: error: ‘THREAD_FUNCTION’ has not been declaredbool start( THREAD_FUNCTION routine, void * ptr = NULL );^chuck/include/util_thread.h:94:5: error: ‘THREAD_HANDLE’ does not name a typeTHREAD_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 scopevoid clear() { thread = 0; }^chuck/include/util_thread.h: At global scope:chuck/include/util_thread.h:115:5: error: ‘MUTEX’ does not name a typeMUTEX mutex;^In file included from chuck/include/chuck_dl.h:41:0,from MAUI.cpp:7:chuck/include/chuck_oo.h:481:28: error: ‘THREAD_TYPE’ has not been declaredstatic THREAD_RETURN ( THREAD_TYPE writeStr_thread ) ( void data );^chuck/include/chuck_oo.h:481: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:481:71: error: ‘THREAD_RETURN’ declared as function returning a functionchuck/include/chuck_oo.h:482:28: error: ‘THREAD_TYPE’ has not been declaredstatic THREAD_RETURN ( THREAD_TYPE writeInt_thread ) ( void *data );^chuck/include/chuck_oo.h:482: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:482:71: error: ‘THREAD_RETURN’ declared as function returning a functionchuck/include/chuck_oo.h:483:28: error: ‘THREAD_TYPE’ has not been declaredstatic THREAD_RETURN ( THREAD_TYPE writeFloat_thread ) ( void *data );^chuck/include/chuck_oo.h:483: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:483:73: error: ‘THREAD_RETURN’ declared as function returning a functionIn file included from MAUI.cpp:17:0:chuck/include/chuck_globals.h:70:8: error: ‘CHUCK_THREAD’ does not name a typeextern CHUCK_THREAD g_tid_whatever;^makefile:107: recipe for target 'MAUI.o' failedmake: ** [MAUI.o] Error 1*
participants (1)
-
bernardo araujo rodrigues