简体   繁体   中英

Where can I find the SVN .lib files?

I'm trying to write an application that wraps SVN. I've downloaded the binaries for it, and all I've found are DLLs.

Is there somewhere where I can find the .lib files? Or do I need to use LoadLibrary and find each method manually? Or do I just need to include the SVN source code, which would be a pain to maintain.

EDIT:

I have found a download that has all the .libs and include files after following this question, anyone else trying to find an answer should look here:

For anyone else who may be looking for the same thing, there is a download here that has everything you want!

Are there Windows API binaries for Subversion or do I have to build SVN to call the API from Windows C++?

I don't think that what you want is readily available as very few people use that. You are searching for a developer build for svn.

Your best chances are to download the source code for svn and compile it yourself. That way the lib files will be generated and you will be able to link against them.

EDIT : Another option you have is to use another layer of wrapper around SVN and use something like rapidSVN API . This will expose most common svn features and you don't have to handle the svn source code.

EDIT2 : I think that they moved to github https://github.com/RapidSVN/RapidSVN

DLL's are libs, but they are dynamic libs, loaded and executed during run time. Lib files, however, are libraries that have been loaded into the compiler and used to compile the binaries. In your case, there wouldn't be lib files because the .exe binaries already have the libs built into them. Where-as, you do get the DLL's because they aren't built into the binaries, but instead are loaded somewhere inside the binary during execution.

There is no reason to include the .lib's in a binary download since the binaries don't need them anymore to function. The only reason you would need .lib files is if you had the rest of the source code in order to build your own .exe again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM