aubio / vamp-aubio-plugins

aubio plugins for Vamp
https://aubio.org/vamp-aubio-plugins
GNU General Public License v3.0
48 stars 12 forks source link

Cross compilation for windows 7/10 #2

Open mirrikato opened 8 years ago

mirrikato commented 8 years ago

Cross compiled 32bit plugin is not detected by vamp host on windows 10.

piem commented 8 years ago

hi @pratikbhr ,

what compiler did you use to cross compile?

did you try loading the vamp host from a command line to see its output? vamp-simple-host should help here.

thanks for the report, Paul

mirrikato commented 8 years ago

Hi @piem I used mingw32 (i686) for cross compilation.

I tried vamp-simple-host. Here is the output.

D:\Music\Workspace\vamp-plugin-sdk-2.6-binaries-win32-mingw>vamp-simple-host.exe -l Vamp plugin search path: [C:\Program Files (x86)\Vamp Plugins] Vamp plugin libraries found in search path: Vamp::HostExt: Unable to load library "C:\Program Files (x86)\Vamp Plugins\vamp-aubio.dll"

Then I also tried vamp-plugin-tester. Here is the output: D:\Music\Workspace\vamp-plugin-tester>vamp-plugin-tester.exe -a -v vamp-plugin-tester.exe: Running... Vamp::HostExt: Unable to load library "C:\Program Files (x86)\Vamp Plugins\vamp-aubio.dll" vamp-plugin-tester.exe: NOTE: No plugins found! vamp-plugin-tester.exe: (No libraries in search path, or no descriptors in library)

It seems descriptors are missing. What could be reason for this error?

mirrikato commented 8 years ago

Hi @piem

I am still struggling with compilation of 32bit and 64bit plugins. Even pre-compiled binary available to download here http://aubio.org/vamp-aubio-plugins/download is also not working.

Although I tried older version (0.4.0) of pre-compiled win32 binary and it's working. Do you have make file used to cross compile 0.4.0 version of vamp aubio plugin? I tried editing default makefile for cross compilation but no success. I also tried using make files from 0.5.0 version but ended up with exact same error as in my previous comment.

Thanks in advance for your response.

piem commented 7 years ago

hi @pratikbhr ,

cross compilation is still broken, but the binary available for download should be working now. they will be updated to 0.5.1 in a few minutes.

cheers, piem