Crayon Shin Chan wrote:Well that's just the problem: there is no DLL provided.
JBI, your link gives me an archive with librsvg-2.dll.a. I don't know how to use it with VS2010. In fact, I doubt you can use it with anything other than Cygwin. There is a difference, right? Plus VS2010 never associated itself with .a files.
Zoomastigophora wrote:I think all you should need to do is include the headers in your VS project and the DLL in one of the PATHs used by the VS project (this page might help). It doesn't seem like all the functions in the header files were declared with extern though so that probably needs to be changed.
Crayon Shin Chan wrote:You mean, I don't need a .lib file anyway? I can just use the dll? Wait but that's not right, because the archive you linked doesn't provide headers, therefore they probably didn't mean it to be linked against?
Zoomastigophora wrote:The dev zip just contains some header files and a pre-compiled .a file to link to when building. You get the same effect externing the functions and letting the linker either statically link to the DLL or letting Windows dynamically load it at run-time.
Edit: Actually, I might be wrong. Reading up on it, I've confused myself now. Go with FF's advice.
Users browsing this forum: No registered users and 1 guest