error MSB6006: "cmd.exe " exited with code 1. [C:\Development\wsbuild64\plugins\epan\homematic\homematic.vcxproj]
after adding my custom plugin I am getting this error.
"C:\Development\wsbuild64\Wireshark.sln" (default target) (1) -> "C:\Development\wsbuild64\plugins\epan\homematic\homematic.vcxproj.metaproj" (default target) (27) -> "C:\Development\wsbuild64\plugins\epan\homematic\homematic.vcxproj" (default target) (124) -> (CustomBuild target) -> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(209,5): error MSB6006: "cmd.exe " exited with code 1. [C:\Development\wsbuild64\plugins\epan\homematic\homematic.vcxproj]
I looked in visual studio output window and its showing this error :
CMake Error at cmake_install.cmake:37 (file):
file cannot create directory: C:/Program Files
(x86)/Wireshark/plugins/3.1/epan.
But I installed cmake before. And before adding my custom plugin I was not getting any such error and it was building perfectly.
Please redirect the msbuild ouput to a file (append
2>&1 > file.txt
to the command), post the file on a file sharing site, e.g. Google Drive, DropBox etc. and then post a link to the shared file back here.You should also note that VS2019 isn't yet used for any official builds of Wireshark, so you're running on the "bleeding edge" here.
https://drive.google.com/file/d/1SFUB...
I have attached my error as well as my plugin in this location. Kindly help.
https://drive.google.com/file/d/1SFUB...