Using Vamp Plugins and Hosts > Getting and Using Vamp Plugins

problem with compilation vamp-plugin-sdk-2.1 from source

(1/1)

slippens:
Hi

This is my first post here, so I could be doing some things wrong. I didn't found any reference to a bug tracker system for vamp plugins, so I'm posting my problem here. Forgive me if I picked the wrong channel.

I just downloaded vamp-plugin-sdk-2.1.tar.gz and tried to build it on Ubuntu 9.10 (32 bit). I got this problem:

--- Code: ---g++ -I. -g -O2 -fPIC -Wall     -c -o examples/FixedTempoEstimator.o examples/FixedTempoEstimator.cpp                                           
examples/FixedTempoEstimator.cpp: In member function ‘std::map<int, std::vector<_VampPlugin::Vamp::Plugin::Feature, std::allocator<_VampPlugin::Vamp::Plugin::Feature> >, std::less<int>, std::allocator<std::pair<const int, std::vector<_VampPlugin::Vamp::Plugin::Feature, std::allocator<_VampPlugin::Vamp::Plugin::Feature> > > > > FixedTempoEstimator::D::assembleFeatures()’:                                                           
examples/FixedTempoEstimator.cpp:515: error: ‘sprintf’ was not declared in this scope                                                           
examples/FixedTempoEstimator.cpp:546: error: ‘sprintf’ was not declared in this scope                                                           
examples/FixedTempoEstimator.cpp:586: error: ‘sprintf’ was not declared in this scope                                                           
make: *** [examples/FixedTempoEstimator.o] Error 1         

--- End code ---

Seemed like a pretty stupid bug that was easy to fix: I added

--- Code: ---#include <stdio.h>

--- End code ---
to examples/FixedTempoEstimator.cpp
and I could compile it without errors

Navigation

[0] Message Index

Go to full version