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

Building issues #19

Open
alh45011 opened this issue Apr 25, 2023 · 2 comments
Open

Building issues #19

alh45011 opened this issue Apr 25, 2023 · 2 comments

Comments

@alh45011
Copy link

Hi!

I've tried to build the project, but got the following message:

constexpr double PI = atan(1.0) * 4.0;
Error C2131 expression did not evaluate to a constant

It seems that Microsoft Compiler doesn't consider atan as a non-constexpr function.
Also suggest to add SFML include and libs files into project, so it would be easier for novice to participate.

@Dolfost
Copy link

Dolfost commented Mar 20, 2024

I wonder why project has no CMake solution.

@Ilya246
Copy link
Owner

Ilya246 commented Apr 25, 2024

I wonder why project has no CMake solution.

because i didn't know how to do proper build automation or care to find out at the time
issue will be fixed when/if i rewrite the game, i won't be fixing this myself, otherwise just make it a non-constexpr

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

3 participants