私は新しい Shogun ユーザーですが、SVN を使用するのはこれが初めてです (問題は Shogun ではなく SVN にあると思います)。これらは私が使用する環境です。
- ウィンドウズ10
- 将軍 4.0.0
- TortoiseSVN-1.9.3.27038-x64-svn-1.9.3;
- VisualSVN-5.1.3;
- VisualSVN-Server-3.5.1-x64;
- VS 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://msinttypes.googlecode.com/svn/trunk' ですが、Tortoise は長い間応答しませんでした。
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です)。ゆっくりと動きます。約 30分かかります。SVN は、「20 分 2 秒で 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」の前に「_」マークを追加しています)