I commited more patches which cleaning our defines and patches which determinate errno_t, strcpy_s, strcasestr, strnlen, getopt and strcat_s. If these functions is not present in system, we will use implementation in in src/stratagus/util.cpp file. So this is not critical. Next patch is for generating stratagus version strings at compile time. Now stratagus version is present only in cmake file and version-generated.h is generated by program genversion which must be compiled before compiling stratagus. I wrote cmake rules which should do that.
So first question is: is program genversion compiled correctly? If yes, look at CMakelists.txt, find "add_custom_target(version ALL" and try to change path to genversion.
I commited more patches which cleaning our defines and patches which determinate errno_t, strcpy_s, strcasestr, strnlen, getopt and strcat_s. If these functions is not present in system, we will use implementation in in src/stratagus/ util.cpp file. So this is not critical. Next patch is for generating stratagus version strings at compile time. Now stratagus version is present only in cmake file and version-generated.h is generated by program genversion which must be compiled before compiling stratagus. I wrote cmake rules which should do that.
So first question is: is program genversion compiled correctly? If yes, look at CMakelists.txt, find "add_custom_ target( version ALL" and try to change path to genversion.