ofxAudioAnalyzer
ofxAudioAnalyzer copied to clipboard
addon compilation issue with qt on mac
Hello,
I've been trying to compile this addon with Qt 5.7.0 on mac OS 10.12.1. Using .qbs build system.
I'm getting the following linker error:
ld: framework not found /Users/burakertekin/openFrameworks/addons/ofxAudioAnalyzer/OpenAL clang: error: linker command failed with exit code 1 (use -v to see invocation) Process failed with exit code 1.
Although, I've added OpenAL to frameworks list in qbs file. Do I have to compile this addon somehow? Anybody have an idea on this?
Thanks!
In OSX the audio file player needs OpenAL framework. It seems Qt isn'n likning it right, but I don't use Qt and I can't help you very much with that. The Xcode projects have it included and are ready to compile. Try using the Project Generator
It seems the linking problem is no more with Xcode;
However I'm getting the following error:
/Users/burakertekin/openFrameworks/apps/ofxPlayground/audioAnalyze/src/ofApp.h:29:31: Field type 'ofSoundPlayerExtended' is an abstract class
Any idea on this maybe?
Do you have that error compiling the examples also? If not, maybe is something in your code
Yeap, I get this error while compiling "allAlgorithms" example.
Using this fork https://github.com/leozimmerman/ofxAudioDecoder ?
Yes. I'm using that fork.
Ok, that's weird. What version of OF, Xcode OSX are you using, please post more log info about the error
I'm using master branch OF, Xcode 8.1 and running on macOS 10.12.1. And the following is the error:
example-allAlgorithms Group Semantic Issue Group /Users/burakertekin/openFrameworks/addons/ofxAudioAnalyzer/src/ofxAudioAnalyzer.cpp:123:16: Reference to stack memory associated with local variable 'r' returned /Users/burakertekin/openFrameworks/addons/ofxAudioAnalyzer/src/ofxAudioAnalyzer.cpp:135:16: Reference to stack memory associated with local variable 'r' returned /Users/burakertekin/openFrameworks/addons/ofxAudioAnalyzer/example-allAlgorithms/src/ofApp.h:29:31: Field type 'ofSoundPlayerExtended' is an abstract class /Users/burakertekin/openFrameworks/addons/ofxAudioAnalyzer/example-allAlgorithms/src/main.cpp:11:2: No matching function for call to 'ofRunApp'
Try using OF 0.9.7, thats the last stable version that I know its working. I think it might be that
I'm getting the same errors as @burakertekin . With Xcode 8.1 OS 10.12.2 and using the master branch.
@burakertekin I think I've got it fixed for 0.9.8. if you'd like to try this out: #8 and confirm.