0

我是 Shogun 的新用户,此外,这是我第一次使用 SVN。(我认为问题是 SVN 而不是 Shogun)这些是我使用的环境:

  • 视窗 10
  • 幕府将军4.0.0
  • TortoiseSVN-1.9.3.27038-x64-svn-1.9.3;
  • 视觉SVN-5.1.3;
  • VisualSVN-Server-3.5.1-x64;
  • 对比 2013

现在,当我想开始一个简单的 Shogun 示例(在文档中复制)时,我遇到了麻烦,如下所示:

#include <shogun/base/init.h>
using namespace shogun;

int main(int argc, char** argv)
{
    init_shogun();
    exit_shogun();
    return 0;
}

然后,我尝试在 Vs 2013 中编译它,它告诉我:

1>  Generating version header
3>  Building Custom Rule E:/shogun/CMakeLists.txt
3>  CMake does not need to re-run because E:\shogun-configure\CMakeFiles\generate.stamp is up-to-date.
3>  Creating directories for 'MSIntTypes'
3>  Performing download step (SVN checkout) for 'MSIntTypes'
3>  svn: E170013: Unable to connect to a repository at URL ' http://msinttypes.googlecode.com/svn/trunk '
3>  svn: E175012: Connection timed out
3>  C:\ProgramFiles(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: 
"cmd.exe" has exited. code is 1.

然后,我认为SVN可能存在一些问题,我尝试检查一些存储库:
首先,我尝试检查我自己创建的存储库:'_http://burningbear:8443/!/#new_rep',它可以是正常结帐。
然后我尝试检查存储库:'_http://msinttypes.googlecode.com/svn/trunk',但是乌龟只是很长时间没有响应,然后它回复我:

 Command: Checkout from _http://msinttypes.googlecode.com/svn/trunk, revision HEAD, Fully recursive, Externals included  
 Error: Unable to connect to a repository at URL  
 Error:  '_http://msinttypes.googlecode.com/svn/trunk'  
 Error: Error running context: 你的主机中的软件中止了一个已建立的连接。(what I use is Chinese,it means "the software in your host stop an connected connection")  

在中国,除非我们使用VPN,否则我们无法访问googlecode,所以我更改了服务器,启用代理服务器,以下是我的设置:

  Server address: 127.0.0.1  
  Port: 8087

然后我尝试再次结帐:

当我签出 _http://msinttypes.googlecode.com/svn/trunk

 Checkout from _http://msinttypes.googlecode.com/svn/trunk, revision HEAD, Fully recursive, Externals included
 Unable to connect to a repository at URL'_http://msinttypes.googlecode.com/svn/trunk'
 The HTTP method 'OPTIONS' is not allowed on '/svn/trunk'

当我更新存储库时,我之前结帐的内容(URL 是:_http://burningbear:8443/!/#new_rep)。它移动得很慢,我花了大约半个小时,SVN 告诉我:“ 2 kBytes 在 20 分 2 秒内传输

  Command: Update  
  Updating: E:\test2  
  Error: Unable to connect to a repository at URL 'https://burningbear:8443/svn/new_rep'  
  Error: Connection timed out  
  Completed!:   

现在,我不知道是什么问题。我花了几天时间,我仍然无法解决它。请帮我!提前谢谢你!(我现在不能发布超过 2 个链接,所以上面的所有 URL 我都在 'http' 之前添加了一个 '_' 标记)

4

2 回答 2

1

不幸的是,目前没有办法在 Windows 上本地编译 shogun。尽管您的问题似乎无关紧要,并且使用 svn 失败,这很奇怪,因为 shogun 的官方 repo 正在使用:http git: //github.com/shogun-toolbox/shogun/

周末在 shogun 的原生 Windows 支持上工作,你可以在feature/windows官方仓库的分支中找到它:https ://github.com/shogun-toolbox/shogun/tree/feature/windows

更新:功能分支已合并到开发分支。从现在开始,shogun 可以在 Windows 上本地编译。

于 2016-07-24T15:10:30.420 回答
0

谷歌代码不再可用:http://msinttypes.googlecode.com/svn/trunk。这就是工具无法访问的原因googlecode.com

于 2016-07-29T10:53:45.683 回答