Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 生成boost失败检出子模块libs/context_C++_Git_Github_Boost - Fatal编程技术网

C++ 生成boost失败检出子模块libs/context

C++ 生成boost失败检出子模块libs/context,c++,git,github,boost,C++,Git,Github,Boost,我试图在Windows上使用git repo()和commit(5ec478a570bdc71c5d4854e7165a8b3f4fa82ad9)构建boost 我创建了一个CMAKE文件,直到几天前,一切都很顺利。此后我没有修改任何内容,但现在在签出子模块libs/context时失败: Cloning into 'libs/context'... 1>CUSTOMBUILD : error : no such remote ref 2ddbe4c26813134cdf8f0d169f7

我试图在Windows上使用git repo()和commit(5ec478a570bdc71c5d4854e7165a8b3f4fa82ad9)构建boost

我创建了一个CMAKE文件,直到几天前,一切都很顺利。此后我没有修改任何内容,但现在在签出子模块libs/context时失败:

Cloning into 'libs/context'...
1>CUSTOMBUILD : error : no such remote ref 2ddbe4c26813134cdf8f0d169f70cd85f44b637b
1>  Fetched in submodule path 'libs/context', but it did not contain 2ddbe4c26813134cdf8f0d169f70cd85f44b637b. Direct fetching of that commit failed.
1>  CMake Error at Boost-prefix/tmp/Boost-gitclone.cmake:83 (message):
1>    Failed to update submodules in:
1>    'C:/Users/Me/Project-build/Libraries-build/Boost/boost'
我在libs/context中检查了提交,它似乎在那里:

我不太熟悉git的子模块结构,所以我不确定到底发生了什么。我修复了BoostGit标签,使其始终使用相同的版本(这对我来说是有效的),所以我不明白为什么它不再有效

多谢各位


编辑:是否有人有相同的问题(是来自回购协议?),还是来自我的配置?

我联系了boost开发人员,他们确认回购协议中存在问题。他们现在已经修复了它。

Hmm,你真的在尝试使用CMake作为你自己项目的git子模块构建boost吗?不,我使用CMake下载并构建boost作为外部项目,并将其链接到我的项目。但是boost本身是由几个子模块构建的,这些子模块在编译时下载并构建。然而,由于某些原因,现在boost中的子模块libs/context的克隆不再起作用了。有人能在Windows上正确编译它吗?