Skip to content
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

Compilation fails with several errors #1

Open
ThreeDeeJay opened this issue Jun 24, 2024 · 1 comment
Open

Compilation fails with several errors #1

ThreeDeeJay opened this issue Jun 24, 2024 · 1 comment

Comments

@ThreeDeeJay
Copy link

Hi there, I've been having trouble building the executable.
I've set up a GitHub actions workflow with the instructions from the Readme but even after fixing modules I keep getting compilation errors.
By the way, is the executable available to download somewhere?

@cuppajoeman
Copy link
Contributor

cuppajoeman commented Jul 18, 2024

Hey there, I just noticed this message today, sorry about the delay. I'm refactoring all of the mwe's as well as making it easier to build the projects. I looked at the error log, one of the errors I saw was this:

main.cpp(40,11): error C2429: language feature 'structured bindings' requires compiler flag '/std:c++17' 

So looks like the action you're using might not have been using c++17. In general I'm going to try to make these projects for the newest c++ standard, which is c++20 right now, so make sure you're using that, also the mwe projects will be using conan for their packages to instead of entirely relying on submodules.

Also if you're using a workflow, just use linux and g++. I can look into finding a workflow that works for the project in the future.

Also at the moment there is no executable available to download, I will make executables for each of the mwe's soon, as I still need a robust solution for dealing with resource paths in the project, when that is done it will be easy to create executables that can be run in isolation from the assets folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants