PLATFORM should be set to x64 not win64.
When in doubt, I find it very useful to check the environment of the buildbots:
https://buildbot.wireshark.org/wireshark-master/waterfall.
- Chris
From: Wireshark-dev [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx]
On Behalf Of Dario Lombardo
Sent: Sunday, April 22, 2018 3:14 PM
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Subject: [Wireshark-dev] Windows builds
Hi
I'm upgrading my windows 7 vm from vs2013 to vs2015 as per wireshark's instructions. Once the setup is finished, I run cmake for win64 target,
but I get:
C:\Program Files (x86)\Microsoft Visual Studio 14.0>cd \Development\wsbuild64
C:\Development\wsbuild64>cmake -DENABLE_CHM_GUIDES=on -G "Visual Studio 14 2015 Win64" ..\wireshark
-- Generating build using CMake 3.7.0
-- Found POWERSHELL: C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe
CMake Error at CMakeLists.txt:89 (message):
The PLATFORM environment variable ([undefined]) doesn't match the generator
-- Configuring incomplete, errors occurred!
See also "C:/Development/wsbuild64/CMakeFiles/CMakeError.log".
C:\Development\wsbuild64>
What does it mean? Am I supposed to set it (PLATFORM) or it should be already set at this point? Or something else?
Dario
--
CONFIDENTIALITY NOTICE: This message is the property of International Game Technology PLC and/or its subsidiaries and may contain proprietary, confidential or trade secret information. This message is intended solely for the use of the addressee. If you are not the intended recipient and have received this message in error, please delete this message from your system. Any unauthorized reading, distribution, copying, or other use of this message or its attachments is strictly prohibited.
|