有Subversion的Windows API二进制,或者我必须构建SVN从Windows C ++调用API? [英] Are there Windows API binaries for Subversion or do I have to build SVN to call the API from Windows C++?

查看:144
本文介绍了有Subversion的Windows API二进制,或者我必须构建SVN从Windows C ++调用API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从Visual Studio 2003 C ++项目中调用Subversion API。

I want to call a Subversion API from a Visual Studio 2003 C++ project.

我知道有线程此处此处此处,以及介绍如何开始使用C#.NET的此处 (共识似乎是 SharpSvn ,我在其他项目中很容易成功使用)但这不是我想要的。

I know there are threads here, here, here, and here that tell how to get started with C#.NET on Windows (the consensus seems to be SharpSvn, which I've used easily and successfully on another project) but that's not what I want.

我读过使用API​​章节


Subversion主要是一组C库,包含存在于源树的subversion / include目录中的头文件(.h)。当您从源代码构建和安装Subversion时,这些头文件将被复制到您的系统位置(例如/ usr / local / include)。这些头文件代表了Subversion库用户可以访问的所有函数和类型。

Subversion is primarily a set of C libraries, with header (.h) files that live in the subversion/include directory of the source tree. These headers are copied into your system locations (e.g., /usr/local/include) when you build and install Subversion itself from source. These headers represent the entirety of the functions and types meant to be accessible by users of the Subversion libraries.

我想使用 CollabNet Subversion ,但似乎没有API二进制下载,我会

I'd like to use CollabNet Subversion but there doesn't seem to be API binary downloads, and I'd just as soon not build the whole thing if I can avoid it.

考虑另一种方法,我发现 RapidSVN的C ++ API,但它似乎不提供Windows API二进制文件,似乎需要构建SVN(我愿意做最后一个选择,如果RapidSVN的API

Considering another approach, I found RapidSVN's C++ API, but it doesn't appear to offer Windows API binaries either and seems to require building SVN (which I would be willing to do as a last choice if RapidSVN's API is higher-level than the stock SVN offering.)



从Windows的C ++调用API必须是这样的比起在.NET下使用SharpSvn更多的工作,还是有一些我没有发现,这将有助于我实现我的目标?


Does calling the API from C++ in Windows have to be this much more work compared to using SharpSvn under .NET, or is there something I haven't found that would help me achieve my goal?

推荐答案

你需要dev(eg svn-win32-1.6.16_dev.zip )包从这里。也许也可以下载工具的二进制文件(例如 svn-win32-1.6.16.zip )。

You need the dev (e.g. svn-win32-1.6.16_dev.zip) package from here. Probably download also the binaries (e.g. svn-win32-1.6.16.zip) of the tools (DLLs are there).

这篇关于有Subversion的Windows API二进制,或者我必须构建SVN从Windows C ++调用API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆