There were a bunch of issues still wrong with the project when I tried to build for Windows. This is a cumulative PullRequest for all the issues that were blocking the build. One commit for each problem:
M_PI only defined when some magic definition is set. This did work with <math.h> but had some problems with <cmath>. Found a good solution.
filename.compare was not 100% clear to the microsoft compiler, I did make it explicit which is nice.
the time calculation did have a small bug that resulted in a compile error.
The conditional compilation had some small bugs (I forgot some lines and had a typo)
Colored output did not work on windows. This did not produce a compile-error, but the output was very ugly to look at. Also, the progressbar sine-wave does not look like a wave on Windows and the characters produced some problems. So I replaced it with a boring bar. I don't really like the solution with dout very much, see #90 and #91
There were a bunch of issues still wrong with the project when I tried to build for Windows. This is a cumulative PullRequest for all the issues that were blocking the build. One commit for each problem:
M_PI
only defined when some magic definition is set. This did work with<math.h>
but had some problems with<cmath>
. Found a good solution.filename.compare
was not 100% clear to the microsoft compiler, I did make it explicit which is nice.dout
very much, see #90 and #91