Ilya246 / orbitfight

A game in C++ written with SFML, currently dead; planned to be remade ground-up later
GNU General Public License v3.0
22 stars 4 forks source link

Building issues #19

Open alh45011 opened 1 year ago

alh45011 commented 1 year ago

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 commented 8 months ago

I wonder why project has no CMake solution.

Ilya246 commented 6 months ago

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