Skip to content

goloskokovic/essentiaMSVC

Repository files navigation

Building Essentia's Python extension on Windows

Python.org Windows binaries are compiled against an MS Visual C++ (MSVC) runtime, which version differs with different Python versions. Essentia's Python extension should be built with MSVC too because the MinGW C++ library builds won't be compatible with MSVC.

In this guide we use a VirtualBox Windows machine. The instructions are for a x64 build, but they can be modified together with the scripts accordingly.

Preparing build environment

Building Essentia

python waf
python waf install

By default waf script will install:

  • library binary and headers to C:\Users\User\AppData\Local\Temp\include\essentia\ and C:\Users\User\AppData\Local\Temp\lib\
  • Python extension to C:\Users\User\AppData\Local\Programs\Python\Python36\Lib\site-packages\essentia

You can specify your own path to install using the --prefix flag (see python waf --help for help). In the case of import error in python due to missing DLLs, use Dependency Walker to find out missing dependencies.

Prebuilt library

essentia.lib 750MB https://drive.google.com/file/d/1qtwMW-D94za2lG65r5KcWhW-XTCPBrhl/view?usp=sharing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published