1 | initial version |
Note that 3.1x hasn't been tested with VS2015, but I don't think that's your issue.
I suspect that your build might have picked up a different bison\flex tool than expected. Do you have Cygwin or something similar installed?
Please delete CMakeCache.txt and re-run the CMake generation step, redirecting the output to a file and then post the contents of that file back here, e.g.
cmake -G ... 2>&1 > cmakeout.txt