Comments (8)
Hello there,
AFAIK, to install ofxAubio under linux (ubuntu in my case), I had to install aubio
before:
sudo apt-get install libaubio-dev aubio-tools
Now it finds the aubio
headers, but still cannot compile the example project.
Here is the kind of compile errors:
ofxAubioBeat.cpp:(.text+0xd4): référence indéfinie vers « new_aubio_tempo »
ofxAubioBeat.cpp:(.text+0xe8): référence indéfinie vers « aubio_tempo_set_silence »
And much more of this style (undefined reference).
Any idea? I'm running ubuntu 15.04
Regards
Xavier
from ofxaubio.
Hey edne, I just tried your directions for Linux, but when I try building the example project, I have the following error, any ideas?
[...]/ofxAubio/src/ofxAubioOnset.cpp: In member function ‘void ofxAubioOnset::setup(std::string, int, int, int)’:
[...]/ofxAubio/src/ofxAubioOnset.cpp:41:52: error: ‘aubio_onset_get_threshold’ was not declared in this scope
threshold = aubio_onset_get_threshold(onset);
from ofxaubio.
hi all,
@edne, thanks for the patch! i'll have a look ASAP.
@jayarnielsen, what version of libaubio-dev do you have installed?
from ofxaubio.
@piem I have 0.4.0-1 installed
from ofxaubio.
@jayarnielsen ok, you would need 0.4.1 to get aubio_onset_get_threshold
, but for now you can just remove that line and set the default threshold to 0.3 at line 41 of src/ofxAubioOnset.cpp
, like so:
- threshold = aubio_onset_get_threshold(onset);
+ threshold = 0.3; //aubio_onset_get_threshold(onset);
this should get you rolling. let us know how it goes!
from ofxaubio.
@piem So that worked, but then I got a whole slew of new errors that I am guessing are also related to using the older 0.4.0 version.
from ofxaubio.
what do these errors look like?
On 2/29/16 9:40 PM, JR wrote:
@piem https://github.com/piem So that worked, but then I got a whole
slew of new errors that I am guessing are also related to using the
older 0.4.0 version.—
Reply to this email directly or view it on GitHub
#2 (comment).
from ofxaubio.
@piem lots of undefined references. new_aubio_tempo, aubio_tempo_set_silence, del_aubio_tempo, aubio_temp_do, aubio_tempo_get_bpm, aubio_temp_get_last_s, and so on.
Well this is embarrassing, I guess I hadn't added the -laubio linker flag after all.
from ofxaubio.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ofxaubio.