Skip to content

Building issues #19

Description

@alh45011

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.

Activity

  1. Dolfost commented on Mar 20, 2024

    @Dolfost

    I wonder why project has no CMake solution.

  2. Ilya246 commented on Apr 25, 2024

    @Ilya246
    Owner

    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

  3. Ilya246 commented on Jun 16, 2026

    @Ilya246
    Owner

    it uses cmake now so might be better?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions