I am doing an install with dependencies coming direct from MacPorts (i.e., not via the mpkg). When I run 'sudo python setup.py install', I get these warnings and errors:
g++ -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -O2 -Wall -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c eplSound.cpp -o eplSound.o clang: warning: argument unused during compilation: '-mno-fused-madd' warning: unknown warning option '-Wno-long-double'; did you mean '-Wno-long-long'? [-Wunknown-warning-option] In file included from eplSound.cpp:10: ./eplSound.h:78:7: warning: private field 'rate' is not used [-Wunused-private-field] int rate; ^ 2 warnings generated. g++ -O2 -Wall -D__MACOSX_CORE__ -c RtAudio.cpp -o RtAudio.o RtAudio.cpp:1625:9: warning: 'AudioHardwareGetPropertyInfo' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations] err = AudioHardwareGetPropertyInfo(kAudioHardwarePropertyDevices, &dataSize, NULL); ^ /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareDeprecated.h:306:1: note: 'AudioHardwareGetPropertyInfo' declared here AudioHardwareGetPropertyInfo( AudioHardwarePropertyID inPropertyID, ^ RtAudio.cpp:1642:9: warning: 'AudioHardwareGetProperty' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations] err = AudioHardwareGetProperty(kAudioHardwarePropertyDevices, &dataSize, (void *) deviceList); ^ ... RtAudio.cpp:2378:5: warning: 'AudioDeviceRemoveIOProc' is deprecated: first deprecated in OS X 10.5 [-Wdeprecated-declarations] AudioDeviceRemoveIOProc( id, callbackHandler ); ^ /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareDeprecated.h:712:1: note: 'AudioDeviceRemoveIOProc' declared here AudioDeviceRemoveIOProc( AudioDeviceID inDevice, ^ 23 warnings generated. g++ -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -O2 -Wall -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c fifo.cpp -o fifo.o clang: warning: argument unused during compilation: '-mno-fused-madd' warning: unknown warning option '-Wno-long-double'; did you mean '-Wno-long-long'? [-Wunknown-warning-option] 1 warning generated. swig -c++ -python eplSound.i :3: Error: Unable to find 'python.swg' make: *** [_eplSound.so] Error 1 !!! Compilation Error !!! Make failed for target hardware/sound Exiting...Please fix the above error and try again...
Now, admittedly, I was trying to do this with python 2.7. But, when I tried again using 2.6, I still got this:
python setup.py install swig -c++ -python eplSound.i :3: Error: Unable to find 'python.swg' make: *** [_eplSound.so] Error 1 !!! Compilation Error !!! Make failed for target hardware/sound Exiting...Please fix the above error and try again…
Any thoughts?
I am doing an install with dependencies coming direct from MacPorts (i.e., not via the mpkg). When I run 'sudo python setup.py install', I get these warnings and errors:
Now, admittedly, I was trying to do this with python 2.7. But, when I tried again using 2.6, I still got this:
Any thoughts?
Last edit: Iain 2014-01-14