First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

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!

qutefu's avatar
5
qutefu
asked 2017-12-06 19:30:49 +0000
grahamb's avatar
23.8k
grahamb
updated 2017-12-07 15:46:21 +0000
edit flag offensive 0 remove flag close merge delete

Comments

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.

qutefu's avatar qutefu (2017-12-06 21:09:02 +0000) edit
add a comment see more comments

1 Answer

0

I found the answer by myself,

"https://social.msdn.microsoft.com/For..."

The SDK is not installed, which is different pacakge, I just think it should be included when I installed the IDE.

qutefu's avatar
5
qutefu
answered 2017-12-06 23:16:45 +0000
edit flag offensive 0 remove flag delete link

Comments

I just think it should be included when I installed the IDE

Then complain about it to Microsoft; we aren't responsible for the packaging of Visual Studio.

Guy Harris's avatar Guy Harris (2017-12-07 06:18:02 +0000) edit

Honestly, in the instruction web page the command : choco install VisualStudio2015Community --timeout 0 -package-parameters "--AdminFile path\to\msvc2015AdminDeployment.xml" Can't get the installation of VC++ automatically, I run the cammand for many times, is there any way what we can fix by modify the XML file.

qutefu's avatar qutefu (2017-12-07 17:50:40 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer