For fun, I tried building WebScaleSQL on Windows, even though it’s not [yet?] a support platform.
Using the following (as I would to build MySQL/MariaDB):
cd c:\mysql\webscalesql-5.6.16 mkdir bld cd bld cmake .. cmake --build . --config relwithdebinfo --target package
I end up with:
... 238 Warning(s) 110 Error(s) Time Elapsed 00:05:08.53
Looking through the output, the main error is this:
C:\mysql\webscalesql-5.6.16\include\atomic_stat.h(33): fatal error C1083: Cannot open include file: 'atomic': No such file or directory [C:\mysql\webscalesql-5.6.16\bld\storage\innobase\innobase.vcxproj]
Of course the directory does exist, and permissions are correct.
C:\mysql\webscalesql-5.6.16\include\atomic_stat.h contains the following line:
#include <atomic>
And this exists:
C:\mysql\webscalesql-5.6.16\include\atomic
So there must be some …
[Read more]