Moved from the Mac 2.x Help board
Hi folks,
I’m banging with my head few days trying to get run the newest Audacity with wxWidgets 2.8.12 on my Mac.
What I have done :
Compiled and installed wxWidgets :
../configure --disable-shared --disable-universal_binary --prefix=/Users/Patrik/Develop/RCAudio/audacity/wx --enable-static --enable-unicode --disable-depency-tracking --enable-monolithic --enable-debug --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.5.sdk --with-macosx-version-min=10.5 CFLAGS="-arch i386" CXXFLAGS="-arch i386" CPPFLAGS="-arch i386" LDFLAGS="-arch i386" OBJCFLAGS="-arch i386" OBJCXXFLAGS="-arch i386"
sudo make install
Compiled the Audacity :
./configure --enable-static --with-portmixer="local" --with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk --with-macosx-version-min=10.6
But then when I want to make :
I get errors :
/wx/mac/carbon/private.h:1459: error: ‘Cursor’ does not name a type
/wx/include/wx-2.8/wx/mac/carbon/private.h:1488: error: ‘ClassicCursor’ does not name a type
mac/FileDialogPrivate.cpp:58: error: ‘NavDialogRef’ does not name a type
mac/FileDialogPrivate.cpp:78: error: variable or field ‘NavEventProc’ declared void
mac/FileDialogPrivate.cpp:78: error: ‘NavEventCallbackMessage’ was not declared in this scope
mac/FileDialogPrivate.cpp:79: error: ‘NavCBRecPtr’ was not declared in this scope
mac/FileDialogPrivate.cpp:80: error: ‘NavCallBackUserData’ was not declared in this scope
mac/FileDialogPrivate.cpp:82: error: ‘NavEventUPP’ does not name a type
mac/FileDialogPrivate.cpp:84: error: variable or field ‘HandleAdjustRect’ declared void
mac/FileDialogPrivate.cpp:84: error: ‘NavCBRecPtr’ was not declared in this scope
mac/FileDialogPrivate.cpp:84: error: expected primary-expression before ‘*’ token
mac/FileDialogPrivate.cpp:84: error: ‘data’ was not declared in this scope
make[2]: *** [mac/FileDialogPrivate.o] Error 1
make[1]: *** [FileDialog-recursive] Error 2
make: *** [audacity] Error 2
Compiling from Xcode works neither : I get error :
from Configure :
audacity/mac/DerivedData/Audacity/Build/Intermediates/Audacity.build/Debug Static/Configure.build/Script-17072E8C0988BD85008541CC.sh: line 44: sh: command not found
Command /bin/sh failed with exit code 1
Can anyone help??? THX!