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

Essentia in Xcode 4.6 on OSX 10.8 #7

Closed
sarith opened this issue Aug 15, 2013 · 1 comment
Closed

Essentia in Xcode 4.6 on OSX 10.8 #7

sarith opened this issue Aug 15, 2013 · 1 comment

Comments

@sarith
Copy link

sarith commented Aug 15, 2013

I'm not sure if anyone can help with this problem, but here I go --

I'm trying to use Essentia in a C++ project I'm developing with Xcode. I was able to use the Python bindings to great effect to quickly prototype the collection of algorithms I'd like to use and plot my data with Python and matplotlib. I'm now trying to translate the same extractor into a C++ project.

Does anyone have any advice on setting up a blank new Xcode project that will successfully compile a command line C++ project that uses Essentia?

Note: For now, it is enough for me to be able to compile a simple standard extractor that runs on the command line, but eventually I'd like to be able to include/use Essentia in a larger application that runs a GUI / OpenGL / etc.

I'm afraid I'm just not familiar enough with compiling/linking this level of code in Xcode.

Any help will be greatly appreciated. Thanks!

@wackou
Copy link
Contributor

wackou commented Aug 15, 2013

Don't have an XCode project available, but if you want to set up one, you should make sure that:

  • you include Essentia's headers properly. They are not installed on the system at the moment, this is an open issue
  • you link against libessentia.a (should be in /usr/local/lib if you ran ./waf install)

Alternately, look at the examples in src/examples and modify one of them to suit your needs. Edit the src/examples/wscript file to add another extractor to build. Hope this helps!

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

2 participants