When VS2015 IDE cannot find _dynamic_version.h in the source directory, two error messages are generated in error. They can be seen in the IDE's "Error List" tab.
cannot open source file "_dynamic_version.h"
#error directive: "VERSION not defined properly"
These messages are caused by the relocation of _dynamic_version.h to the target-specific build include directory. The relocation is done in line 34 of PRIM_Rules.msvc. Keeping the Windows source directory clean in this instance conflicts with how VS 2015 works.
The error messages can be ignored. Hercules builds correctly both from the command line and from the IDE, even when these messages are issued.
When VS2015 IDE cannot find _dynamic_version.h in the source directory, two error messages are generated in error. They can be seen in the IDE's "Error List" tab.
These messages are caused by the relocation of _dynamic_version.h to the target-specific build include directory. The relocation is done in line 34 of PRIM_Rules.msvc. Keeping the Windows source directory clean in this instance conflicts with how VS 2015 works.
The error messages can be ignored. Hercules builds correctly both from the command line and from the IDE, even when these messages are issued.