Wireshark mailing list archives

win64: got 'winver.h' file not found compile error


From: "????" <qiangxiong.huang () qq com>
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?
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: