简体   繁体   English

在哪里可以找到SVN .lib文件?

[英]Where can I find the SVN .lib files?

I'm trying to write an application that wraps SVN. 我正在尝试编写包装SVN的应用程序。 I've downloaded the binaries for it, and all I've found are DLLs. 我已经下载了二进制文件,发现的都是DLL。

Is there somewhere where I can find the .lib files? 在哪里可以找到.lib文件? Or do I need to use LoadLibrary and find each method manually? 还是我需要使用LoadLibrary并手动找到每个方法? Or do I just need to include the SVN source code, which would be a pain to maintain. 还是只需要包含SVN源代码,这很难维护。

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: 我发现下载了一个包含所有.libs并包含以下问题之后的文件的下载,任何其他试图找到答案的人都应该在这里查看:

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++? 是否有用于Subversion的Windows API二进制文件,或者我必须构建SVN才能从Windows C ++调用API?

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. 您正在搜索svn的开发人员版本。

Your best chances are to download the source code for svn and compile it yourself. 最好的机会是下载svn的源代码并自己编译。 That way the lib files will be generated and you will be able to link against them. 这样,将生成lib文件,您将可以对其进行链接。

EDIT : Another option you have is to use another layer of wrapper around SVN and use something like rapidSVN API . 编辑:您拥有的另一种选择是在SVN周围使用另一层包装,并使用诸如RapidSVN API之类的东西。 This will expose most common svn features and you don't have to handle the svn source code. 这将展示最常见的svn功能,而您不必处理svn源代码。

EDIT2 : I think that they moved to github https://github.com/RapidSVN/RapidSVN EDIT2:我认为他们搬到了github https://github.com/RapidSVN/RapidSVN

DLL's are libs, but they are dynamic libs, loaded and executed during run time. DLL是lib,但是它们是动态lib,在运行时加载和执行。 Lib files, however, are libraries that have been loaded into the compiler and used to compile the binaries. 但是,Lib文件是已加载到编译器中并用于编译二进制文件的库。 In your case, there wouldn't be lib files because the .exe binaries already have the libs built into them. 在您的情况下,将没有lib文件,因为.exe二进制文件中已经内置了libs。 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. 无论如何,您确实会获得DLL,因为它们不是内置在二进制文件中,而是在执行过程中加载到二进制文件中的某个位置。

There is no reason to include the .lib's in a binary download since the binaries don't need them anymore to function. 由于二进制文件不再需要它们,因此没有必要在二进制文件下载中包含.lib。 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. 需要.lib文件的唯一原因是,如果您拥有其余的源代码以便再次构建自己的.exe。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在哪里可以找到d3dcompiler_43.dll和相应的lib文件? - Where can I find d3dcompiler_43.dll and corresponding lib files? 在哪里可以找到AIX的静态Xerces 3.0.0 lib - Where can I find static Xerces 3.0.0 lib for AIX 在Windows的Fortran x64安装上的哪里可以找到fio.lib和fmath.lib - Where can I find fio.lib and fmath.lib on Fortran x64 installation in Windows 找不到我要链接的lib文件 - can not find my lib files to link 我在哪里可以找到'winmm.lib'(我正在使用Visual Studio 2012) - Where can I find 'winmm.lib' (I'm using Visual Studio 2012) 我在哪里可以找到库“version.lib”以成功调用 GetFileVersionInfoSize()? - Where can i find library "version.lib" in order to successfully call GetFileVersionInfoSize()? 是否有与 Clang/LLVM 等效的 .spec 文件,我在哪里可以找到参考? - Is there an equivalent to .spec files for Clang/LLVM and where can I find a reference? 在Linux的哪里可以找到QtQuickCompiler生成的C ++文件? - Where can I find the QtQuickCompiler generated C++ files on Linux? 在哪里可以找到标准的 Visual C++ 头文件? - Where can I find the standard Visual C++ header files? 我可以更改boost lib文件的名称吗? - Can I change the boost lib files' names?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM