Development Topics > Plugin Development

Plugin DLL not recognised by SV on windows

(1/1)

justin:
Hi Chris and all,

I'm having some trouble with a vamp plugin we've created here especially for a course we're giving on sound analysis. Basically, on some computers, the plugin is simply not recognised by Sonic Visualiser. The computers belong to the university and run windows xp. Importantly, on non-university machines the plugin is recognised correctly.

Whilst this implies that in part the problem has something to do with the configuration of the university computers, other vamp libraries (e.g. the vamp example library, aubio or libextract) are recognised by SV without any problem! This suggests that there is something different about our DLL which prevents the uni machines from recognising it.

Has anyone experienced something like this before? Any idea what could be the reason for this?

Thanks!

Justin

cannam:
Hi Justin -- is it possible it depends on a version of e.g. the VC++ runtime which is not installed on these machines?

Can you try the DLL in Dependency Walker (http://www.dependencywalker.com/) on one of the offending machines?

Chris

justin:
Yup, you nailed it.

The machines didn't have the VC++ runtime dll's installed and hence the plugin wasn't being recognized. Once I installed the dll's from here: http://www.microsoft.com/en-us/download/details.aspx?id=5555
the problem was solved.

In case anyone else is following this thread, I also found a link explaining how to avoid the problem in the first place by statically linking to the C/C++ runtime: http://stackoverflow.com/questions/3162325/after-building-exe-using-vs-2010-c-missing-msvcp100-dll

Thanks for the speedy solution Chris!

Update: I just tried the workaround proposed in the link I posted above, but the compiler throws a bunch of linking errors and the build fails :o Anyway, all in all problem solved  :)

Navigation

[0] Message Index

Go to full version