-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
gamenetworkingsockets fails to build (likely related to #3667 ) #3710
Comments
try this patch. #3706 |
Isn't this already in the "main repo"? As in, if I were to clean my repository cache, run |
Could you please provide a minimal reproduction that will help us pinpoint the root cause? This will assist in narrowing down the issue more effectively. |
The issue can be reproduced by adding the
|
try xrepo update-repo
xrepo remove --all abseil
xmake f -cvD |
This produces a long list of compilation errors that boils down to string_view not being able to compile:
|
please add |
or |
I'm assuming these configuration options would be added in my project's configuration, and not the gamenetworkingsockets package configuration? These options don't work, even if |
add to your gamenetworkingsockets package's project xmake.lua |
As suggested by @waruqi in xmake-io#3710 .
* Fix gamenetworkingsockets abseil C++ version As suggested by @waruqi in #3710 . * Set language C++17 in gamenetworkingsockets * Update xmake.lua * Update xmake.lua * Update xmake.lua * Update xmake.lua * fix openssl fetch * Update xmake.lua * Update xmake.lua * Update xmake.lua * Update xmake.lua * remove arm64 support * Update xmake.lua * Update xmake.lua * Update xmake.lua * Update xmake.lua --------- Co-authored-by: Jérôme Leclercq <[email protected]> Co-authored-by: ruki <[email protected]>
Xmake Version
2.8.9
Operating System Version and Architecture
Windows 11, Ubuntu 22.04
Describe Bug
Linking to
protobuf-cpp
fails.I am guessing it is related to the C++ version not being set correctly (protobuf or abseil using C++11 causing strings compilation to fail). Seems there are other packages like
grpc
that are running into similar issues ( #3705 ).Sometimes, compilation seems to continue, only for it to later fail as the protobuf files are not present, resulting in errors such as the following:
Expected Behavior
protobuf
and/or its dependencies should use the correct C++ version to compile.Project Configuration
The latest version of
gamenetworkingsockets
is used (v1.4.1
).Additional Information and Error Logs
The text was updated successfully, but these errors were encountered: