MTG / essentia

C++ library for audio and music analysis, description and synthesis, including Python bindings
http://essentia.upf.edu
GNU Affero General Public License v3.0
2.86k stars 534 forks source link

Win32 static build #730

Open eadward opened 6 years ago

eadward commented 6 years ago

I just downloaded the code updated after commit 0dda5e5 and tried to create static build of the library and executable example extractors.

In order to compile the library I had to comment out lines 78 to 85 in src/essentia/roguevector.h and uncomment lines 87 to 97. See error log attached for reference.

win32-static-compilation-RogueVectorErrors.log

Then I re-configured and recompiled. At his stage I should say that I included the ChromaPrint library which I built using the script below (extension change from sh to log to allow upload).

build_chromaprint.log

The library is detected when run the configuration, but I get a compilation error as shown in the log file below

win32-static-compilation-ChromaprintErrors.log

Any ideas? Thanks!

sildeag commented 6 years ago

This is one case where using --with-gaia-qt5 would help as libchromaprint-dev.so is in the same location, at least on my system, as qt. The building of examples failed during linking see file essentia/src/examples/wscript.