-
Notifications
You must be signed in to change notification settings - Fork 530
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
Build on Windows #204
Comments
Yes, you can cross-compile using mingw from linux. https://github.com/MTG/essentia/blob/master/FAQ.md#cross-compiling-for-windows-on-linux You can also do it from Windows itself, using mingw_port branch, few commits back. The da80e8b replaced native compilation for windows by cross-compiling. That branch has not been updated for a while. |
Hi, I'd rather stay on the master branch, also as I did for OSX I'm trying to compile without the optional dependencies. is this something doable as now or does it require lots of work? thanks |
Then just cross-compile from linux. Do you what to use extractors only? streaming_extractor_music build for windows is available here |
Ideally I'd like to build it in the same way I did it for OSX using lightweight=fftw |
You can compile with MinGW on windows, modifying a build script a bit (and looking how it was done in mingw branch before), and we will bring back support for building natively at some point. |
which script are you referring to? I had a look at the mingw_port branch and I couldn't find it.(I'm not familiar with MinGW) |
Hi, I'm trying to cross compile from ubuntu, the
despite that I can build essentia using waf run successfully, however it generates the file thanks |
The ".a" is a normal output. It seems that unfortunately MinGw builds are only compatible with MSVC only in the case of C, not C++. http://stackoverflow.com/questions/2096519/from-mingw-static-library-a-to-visual-studio-static-library-lib Is there a specific reason you are using VS instead of Code::Blocks? |
I need to use Essentia with Cinder and another framework, both only working with VS, migrating the whole thing is not possible. is there any solution to compile it in VS2012? |
Sure, but it will be more difficult. It is possible to run Essentia's waf build scripts from VS. Although I did not try it myself, I've heard some people successfully did it. Perhaps you will need to modify scripts a little bit. You can take precompiled 3rd party dependencies here and place them to the corresponding folder in the code. The best solution would be updating waf version supplied with Essentia and using a Visual Studio project generator script. |
would it be possible to simply create and build a VS2012 project or is there anything specific that wouldn't work? |
I followed the FAQ instructions on cross-compiling for Windows on Linux, and got an error (below). I found out about Essentia thanks to Steve Tjoa's IPython Notebooks on music information retrieval. Essentia looks awesome and I'm looking forward to using it via Python bindings on Windows. I've never attempted to compile from source before, because most Python packages I use are included in the Anaconda distribution, or there are Windows binary installers available (for example, OpenCV). If you are able to improve the getting started experience, by providing an installer, and/or improved documentation, it will help Essentia adoption flourish even more. Thank you for your time and assistance! Build failed |
Have there been any updates on a Windows port? |
still need it. |
did anybody manage to compile on Windows?
The text was updated successfully, but these errors were encountered: