[Stk] MACOS"X" in Messager.cpp ...?
Woon Seung Yeo
woony@ccrma.Stanford.EDU
Tue, 2 Aug 2005 03:59:03 -0700
Hello,
While compiling STK on OS X 10.4, I had the following error:
g++ -O3 -Wall -g -Woverloaded-virtual -D__GXX__ -I../include -I/usr/
local/include/stk/ -D__MACOSX_CORE__ -DRAWWAVE_PATH=\"/usr/local/
share/stk/rawwaves/\" -c Messager.cpp -o Release/Messager.o
Messager.cpp: In function `void* socketHandler(void*)':
Messager.cpp:356: error: 'errno' was not declared in this scope
Messager.cpp:357: error: 'EAGAIN' was not declared in this scope
I guess the "__OS_MACOS__" in line 293 of 'Messager.cpp' should be
"__OS_MACOSX__":
#if (defined(__OS_IRIX__) || defined(__OS_LINUX__) || defined
(__OS_MACOSX__))
Please let me know if I got it wrong. Thanks!
-woony