Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addon compilation issue with qt on mac #7

Open
burakertekin opened this issue Dec 5, 2016 · 11 comments
Open

addon compilation issue with qt on mac #7

burakertekin opened this issue Dec 5, 2016 · 11 comments

Comments

@burakertekin
Copy link

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!

@leozimmerman
Copy link
Owner

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

@burakertekin
Copy link
Author

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?

@leozimmerman
Copy link
Owner

Do you have that error compiling the examples also?
If not, maybe is something in your code

@burakertekin
Copy link
Author

Yeap, I get this error while compiling "allAlgorithms" example.

@leozimmerman
Copy link
Owner

Using this fork https://github.com/leozimmerman/ofxAudioDecoder ?

@burakertekin
Copy link
Author

Yes. I'm using that fork.

@leozimmerman
Copy link
Owner

Ok, that's weird. What version of OF, Xcode OSX are you using, please post more log info about the error

@burakertekin
Copy link
Author

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'

@leozimmerman
Copy link
Owner

Try using OF 0.9.7, thats the last stable version that I know its working. I think it might be that

@transat
Copy link

transat commented Jan 30, 2017

I'm getting the same errors as @burakertekin . With Xcode 8.1 OS 10.12.2 and using the master branch.

@transat
Copy link

transat commented Jan 31, 2017

@burakertekin I think I've got it fixed for 0.9.8. if you'd like to try this out: #8 and confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants