Skip to content
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

Cross compilation for windows 7/10 #2

Open
und3f9 opened this issue Jun 16, 2016 · 4 comments
Open

Cross compilation for windows 7/10 #2

und3f9 opened this issue Jun 16, 2016 · 4 comments

Comments

@und3f9
Copy link

und3f9 commented Jun 16, 2016

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

@piem
Copy link
Member

piem commented Jun 16, 2016

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

@und3f9
Copy link
Author

und3f9 commented Jun 16, 2016

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?

@und3f9
Copy link
Author

und3f9 commented Jul 6, 2016

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 added a commit that referenced this issue Feb 13, 2017
@piem
Copy link
Member

piem commented Feb 13, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants