essentia
essentia copied to clipboard
Problems running 3rd party dependencies (both debian and win32)
Hello everybody,
I found some issues on building the 3rd party dependencies (from OS-X, but it's a problem for every platform since it's contained in the source code), and I solved them by hard coding the sources of essentia (I'm not so experienced on GitHub so I didn't do a pull a request). I hope that these changes will help the community:
-
When building Lame (v3.100), which is automatically downloaded by the .sh, there is a discrepancy in the file "/lame-v3.100/include/libmp3lame.sym" (this is lame's fault, but it's pretty annoying btw...): line 2 (which contains the text: "lame_init_old") must be removed in order to compile successfully.
-
In file "build_taglib.sh" contained in both darwin and win32 3rd party directories under /packaging/, sed command at line 24 is wrong since sed now needs a backup file in order to work properly when appending a line to a file, so I've changed it from "sed -i 's/-ltag/-ltag -lz/g' taglib.pc" to "sed -i '.bak' 's/-ltag/-ltag -lz/g' taglib.pc".
I'm still finding strong difficulties when trying to build static examples for Win32 both from OS-X (version 10.14.4) and Linux (Ubuntu Studio 20.04 LTS) since Windows (version 10.X) can't see some DLL (libfftw3-w, etc.). If someone could provide some workarounds it would be awful since I find Essentia to be the best audio feature extraction library and I wouldn't move from it because of compiling issues.
Thank you very much, best, FD www.francesco-dani.com