No CMAKE_C(XX)_COMPILER could be found
I try to compile wireshark in my windows(10) PC, Follow the instruction https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html#ChWin32Generate
, I have setup the working environment,
set WIRESHARK_BASE_DIR=C:\Users\Me\DDisk\FWork\WireShark\
set QT5_BASE_DIR=C:\Qt\Qt5.6.3\5.6.3\msvc2015_64
set WIRESHARK_VERSION_EXTRA=-1.0.0
set WIRESHARK_CYGWIN_INSTALL_PATH=C:\cygwin64
set VisualStudioVersion=14.0
Visual Studio 2015, QT, Cygwin, python, git and cmake have been installed.
NOTE: I have VS2005 before, for the Wireshark compiling, I remove it after VS2015 has been installed, the removing may be unclear.
When I run the command at VS2015 command prompt:
cmake -DENABLE_CHM_GUIDES=on -G "Visual Studio 14 2015 Win64" ..\wireshark
I got the following result:
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:22 (project):
No **CMAKE__C__COMPILER** could be found.
CMake Error at CMakeLists.txt:22 (project):
No **CMAKE__CXX__COMPILER** could be found.
-- Configuring incomplete, errors occurred!
See also "C:/Users/Me/DDisk/FWork/WireShark/wsbuild64/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Me/DDisk/FWork/WireShark/wsbuild64/CMakeFiles/CMakeError.log".
If you have any experience or idea about it, please help me. Thanks in advance!
my QT version is 5.6.3, is it a reason for the error? Since I found QT version is 5.9.1 in the instruction web page.