Skip to content

improve windows build #7

Open
Open

Description

@piem

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.

Activity

  1. SeanJD commented on Nov 14, 2017

    @SeanJD

    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.

  2. moebiussurfing commented on May 1, 2020

    @moebiussurfing

    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"
    
  3. moebiussurfing commented on May 2, 2020

    @moebiussurfing

    ofxAubio1
    ofxAubio2
    ofxAubio3
    ofxAubio4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions