Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] win64: got 'winver.h' file not found compile error

From: "????" <qiangxiong.huang@xxxxxx>
Date: Sat, 22 Jul 2017 22:30:57 +0800
I compiled 2.2.7/2.4.0rc2 sources which directly download from download page. They all OK.
But when I git clone source (about 2.5.0) by ssh, and compile it, it reports 8 errors about 'winver.h' file not found errors.
 
I find the reason is the option DISABLE_WERROR in CMakeOptions.txt is ON in 2.2.7/2.4.0rc2, OFF in 2.5.0 (or in git repository).
 
Is DISABLE_WERROR must set to ON manually in windows? (If it is OFF, '/WX' options will be added into rc.exe command, that will ignore INCLUDE environment, and finally cause 'winver.h' not found error).
 
Or is there someway to compile source in windows without turn DIABLE_WERROR on?