-
Notifications
You must be signed in to change notification settings - Fork 826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building the cpp-simple example prints a fatal message and hangs for a long time before finishing #1091
Comments
Ok, it looks like I wasn't being patient enough. It would be great if the output didn't say |
I think using |
Hello, this text is an output from "git describe --tags --abbrev=0" command. (https://github.com/googleforgames/agones/blob/master/sdks/cpp/CMakeLists.txt#L47) To fix this it's possible to remove this script from CMakeLists.txt
But you should set an AGONES_VERSION to something from environment. For example Note. This variable is used to save a version number to cmake generated scripts for cpp sdk. I think that you don't need this in the most cases. So you can just remove this code and remove a |
Thanks @dsazonoff, I got this results empirically. Curious what |
Result of
That's why, we should not remove this command:
|
What happened: Tried to build the cpp-simple application. The build hangs, with the error
fatal: not a git repository (or any of the parent directories): .git
(see full output below).What you expected to happen: A successful build.
How to reproduce it (as minimally and precisely as possible): Check out the master branch,
cd examples/cpp-simple; make
.Anything else we need to know?:
Environment:
kubectl version
): n/aThe text was updated successfully, but these errors were encountered: