[GH-ISSUE #805] gmock and gtest missing #636

Closed
opened 2026-05-05 06:49:17 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @autotoxicus on GitHub (Jul 19, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/805

Operating Systems

Raspian

Barrier Version

2.3.3

Steps to reproduce bug

I'm trying to compile your program on my RaspberryPi and cmake . is giving me two error messages.

Cannot Find Source File:
../../ext/gmock/src/gmock-all.cc

and

Cannot Find Source File:
../../ext/gtest/src/gtest-all.cc

Indeed, the folders gmock and gtest are empty in the source.

Other information

I'm following this information for compiling https://github.com/debauchee/barrier/issues/41#issuecomment-392900982 , but the command for git clone is giving me an error message.

Permission denied (public key).
fatal: Could not read from remote repository.

Please make sure you have correct access rights and the repository exists.

So I did simply clone the source as I have done it every time so far with git clone 'web adress of repository'. Perhaps this could be the reason for this problem?

Originally created by @autotoxicus on GitHub (Jul 19, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/805 ### Operating Systems ### Raspian ### Barrier Version ### 2.3.3 ### Steps to reproduce bug ### I'm trying to compile your program on my RaspberryPi and `cmake .` is giving me two error messages. ``` Cannot Find Source File: ../../ext/gmock/src/gmock-all.cc ``` and ``` Cannot Find Source File: ../../ext/gtest/src/gtest-all.cc ``` Indeed, the folders gmock and gtest are empty in the source. ### Other information ### I'm following this information for compiling https://github.com/debauchee/barrier/issues/41#issuecomment-392900982 , but the command for git clone is giving me an error message. ``` Permission denied (public key). fatal: Could not read from remote repository. Please make sure you have correct access rights and the repository exists. ``` So I did simply clone the source as I have done it every time so far with `git clone 'web adress of repository'`. Perhaps this could be the reason for this problem?
Author
Owner

@p12tic commented on GitHub (Jul 19, 2020):

You need to run git submodule init and git submodule update before compiling.

<!-- gh-comment-id:660713462 --> @p12tic commented on GitHub (Jul 19, 2020): You need to run `git submodule init` and `git submodule update` before compiling.
Author
Owner

@autotoxicus commented on GitHub (Jul 19, 2020):

Thanks you for the quick help. I will give that a try tomorrow and report back afterwards.

Are btw different versions compatible with each other? I would then have 2.3.3 on my RaspberryPi, but my Desktop and Notebook have 2.3.2 from the package manager.

<!-- gh-comment-id:660719841 --> @autotoxicus commented on GitHub (Jul 19, 2020): Thanks you for the quick help. I will give that a try tomorrow and report back afterwards. Are btw different versions compatible with each other? I would then have 2.3.3 on my RaspberryPi, but my Desktop and Notebook have 2.3.2 from the package manager.
Author
Owner

@autotoxicus commented on GitHub (Jul 20, 2020):

I've got it working! Thanks a lot for your help and this great tool.

And to answer my own question from the post before:
The two different versions are working fine together.

<!-- gh-comment-id:660954516 --> @autotoxicus commented on GitHub (Jul 20, 2020): I've got it working! Thanks a lot for your help and this great tool. And to answer my own question from the post before: The two different versions are working fine together.
Author
Owner

@mariolpantunes commented on GitHub (Sep 27, 2020):

I have the same error.
The solution is not valid since I am trying to compile the release tarball, and there is no git folder.

<!-- gh-comment-id:699695949 --> @mariolpantunes commented on GitHub (Sep 27, 2020): I have the same error. The solution is not valid since I am trying to compile the release tarball, and there is no git folder.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#636
No description provided.