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

improve windows build #7

Open
piem opened this issue Nov 14, 2017 · 4 comments
Open

improve windows build #7

piem opened this issue Nov 14, 2017 · 4 comments

Comments

@piem
Copy link
Member

piem commented Nov 14, 2017

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.

@SeanJD
Copy link

SeanJD commented Nov 14, 2017

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.

@ghost
Copy link

ghost commented Mar 5, 2019

Hi, i have tried to do the steps you mentioned above, but i keep getting these compilation errors:
1744f436c73152ac4c8c771e8bc16967

@moebiussurfing
Copy link

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"

@moebiussurfing
Copy link

ofxAubio1
ofxAubio2
ofxAubio3
ofxAubio4

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

3 participants