orbitfight icon indicating copy to clipboard operation
orbitfight copied to clipboard

Building issues

Open alh45011 opened this issue 1 year ago • 2 comments

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.

alh45011 avatar Apr 25 '23 19:04 alh45011

I wonder why project has no CMake solution.

Dolfost avatar Mar 20 '24 14:03 Dolfost

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

Ilya246 avatar Apr 25 '24 18:04 Ilya246