aubio/vamp-aubio-plugins

Cross compilation for windows 7/10

mirrikato opened this issue · 4 comments

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

piem commented

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

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?

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

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