Open piem opened 7 years ago
The following steps worked for me in successfully building an executable using aubio / ofxAubio on Windows 10, VS2017, openFrameworks 0.98 ....
Create a project with the ofxAubio addon
Grab the windows build from above and extract.
I used the 64-bit version - if you do so make sure to set your platform to x64 in VS.
Go to Project Properties > Configuration Properties > C/C++ > General > Additional Include Directories and add the path to the include directory (path_to/aubio-0.4.6-win64/include) to include the header files for the compiler
Go to Project Properties > Configuration Properties > Linker > General > Additional Library Directories and add the path to the lib directory where your .a files can be found (path_to/aubio-0.4.6-win64/lib)
Go to Project Properties > Configuration Properties > Linker > Input > Additional Dependencies and add the .a files (add aubio.dll.a and libaubio.a here) to add the archive files for the linker.
Make sure to copy the libaubio-5.dll file to the bin directory of your project so it can be found at runtime.
Hi, i have tried to do the steps you mentioned above, but i keep getting these compilation errors:
thanks @SeanJD, @Solanonaranj here it worked fine after following all your steps. No aubio errors at all. Just only like 3 errors related to not included std::string solved changing this:
//#include "ofLog.h"
#include "ofMain.h"
It would be nice if building on windows was easier.
Downloading the latest binary build from https://aubio.org/download#win could be a first step.