spencersalazar / MAUI.chug

miniAudicle User Interface stand-alone chugin
2 stars 1 forks source link

problem building on linux #1

Open bernardoaraujor opened 8 years ago

bernardoaraujor commented 8 years ago

I'm using Fedora 22. chuck and miniaudicle are working ok

[bernardo@localhost MAUI.chug]$ make linux g++ -D__LINUX_ALSA__ -Ichuck/include/ -Ichuck/include/ -O3 -c -o MAUI.o MAUI.cpp In 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 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 MAUI.cpp:7: chuck/include/chuck_oo.h:481:28: error: ‘THREAD_TYPE’ has not been declared static 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 function chuck/include/chuck_oo.h:482:28: error: ‘THREAD_TYPE’ has not been declared static 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 function chuck/include/chuck_oo.h:483:28: error: ‘THREAD_TYPE’ has not been declared static 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 function In file included from MAUI.cpp:17:0: chuck/include/chuck_globals.h:70:8: error: ‘CHUCK_THREAD’ does not name a type extern CHUCK_THREAD g_tid_whatever; ^ makefile:107: recipe for target 'MAUI.o' failed make: _* [MAUI.o] Error 1

spencersalazar commented 8 years ago

I should probably note in the README that MAUI.chug is only supported on Linux at the moment. We'd like to broaden support in the future!

bernardoaraujor commented 8 years ago

Sorry, I don't understand what you mean.

I am running Linux. As I said, Fedora 22.

I'm tryin to run make linux inside MAUI.chug directory

spencersalazar commented 8 years ago

Sorry spoke before my morning coffee. MAUI.chug is only supported on Mac at the moment.

bernardoaraujor commented 8 years ago

Yeah I was aware of that.

I was hopeful I was gonna get it running on Linux with your repo. Is it still far from ready?

Anyway thanks for your reply!

spencersalazar commented 8 years ago

Yah right now there isn't really anything on the Linux side- still pretty far off.