Closed gepatto closed 8 years ago
It seems to be an error with the libraries links. Did you try creating a new project and adding the libraries manually? (libavcodec.a - libavformat.a - libavutil.a - libessentia.a - libfftw3f.a - libsamplerate.a - libswresample.a - libtag.dylib -libyaml.a) Do you have all these files in /usr/local/lib?
Yes I have and yes I do.. I am now trying a complete reinstall of Brew (and installed libraries) and see if that helps
Try adding the libraries to a 32 bit project. Perhaps, for some reason, you're compiling the libraries in 32 bits, Could it be possible?
I think somehow that might be the case, although I did follow the exact instructions. .... I have made sure now that I have the 64bit version of libyaml installed, but I still get the errors.
Any success solving the issue, @gepatto ? Looks like I have the same show stopper problem at the moment.
No, I gave up. I've upgraded to osx 10.11. Maybe I'll try again once OF0.90 is final.
I gave up too. Now using https://github.com/borg/ofxGist and https://github.com/darrenmothersele/ofxBeat
Updating the addon to OF 0.9.0 I found this error. The problem was an icompatibility of the C++ Standard Library used to compile Essentia and OF. (libc++ / libstdc++). Now,OF 0.9.0 and the last version of Essentia use both libc++, so there should be no problem.
it works fine after updating. while today I update to 10.11.3 (15D21), errors show again....
I didn't update my system to 10.11 yet so I can't try to find the error in this osx version. But if the errors you get are the same than before (std library related erros) try recompiling Essentia and make sure that both OF and Essentia are compiling with the same C++ Standard Library
New update has been tested with OSX 10.11.6. Now static builds of libraries are included in the repository making much easier to compile the addon. d3436377727260f
I have followed the instructions in the readme and installed all dependencies trough the provided link, added the files to the project and added the needed paths to the project. I am using the 64bit version of openframeworks. However when I try to compile the example projects, I get about 75 linking errors like:
Undefined symbols for architecture x86_64: "non-virtual thunk to std::1::basic_iostream<char, std::1::char_traits >::~basic_iostream()", referenced from:
construction vtable for std:: 1::basic_iostream<char, std::1::char_traits >-in-std::1::basic_stringstream<char, std::__1::char_traits, std:: 1::allocator > in libessentia.a(yamlast.cpp.1.o)
( full output here: https://gist.github.com/gepatto/208a0b43bb133882cf93 )