Barrier: gmock and gtest missing

Created on 19 Jul 2020  ·  4Comments  ·  Source: debauchee/barrier

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?

Most helpful comment

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.

All 4 comments

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

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.

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.

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jwalton picture jwalton  ·  3Comments

HereInPlainSight picture HereInPlainSight  ·  4Comments

raffimohammed picture raffimohammed  ·  3Comments

graingert picture graingert  ·  4Comments

NIXOYE picture NIXOYE  ·  4Comments