拉斯宾
2.3.3
我正在尝试在我的 RaspberryPi 上编译您的程序,而cmake .
给了我两条错误消息。
Cannot Find Source File:
../../ext/gmock/src/gmock-all.cc
和
Cannot Find Source File:
../../ext/gtest/src/gtest-all.cc
事实上,文件夹 gmock 和 gtest 在源代码中是空的。
我正在关注此信息以编译https://github.com/debauchee/barrier/issues/41#issuecomment -392900982 ,但 git clone 的命令给了我一条错误消息。
Permission denied (public key).
fatal: Could not read from remote repository.
Please make sure you have correct access rights and the repository exists.
所以我只是简单地克隆了源代码,因为到目前为止我每次都使用git clone 'web adress of repository'
。 也许这可能是这个问题的原因?
您需要在编译之前运行git submodule init
和git submodule update
。
感谢您的快速帮助。 我明天会试一试,然后再报告。
顺便说一句,不同的版本是否相互兼容? 然后我会在我的 RaspberryPi 上安装 2.3.3,但我的台式机和笔记本电脑从包管理器获得 2.3.2。
我已经成功了! 非常感谢您的帮助和这个很棒的工具。
并从之前的帖子中回答我自己的问题:
两个不同的版本一起工作得很好。
我有同样的错误。
该解决方案无效,因为我正在尝试编译发布 tarball,并且没有 git 文件夹。
最有用的评论
我有同样的错误。
该解决方案无效,因为我正在尝试编译发布 tarball,并且没有 git 文件夹。