Wireshark mailing list archives
Re: Building on Windows
From: Graham Bloice <graham.bloice () trihedral com>
Date: Wed, 13 Nov 2019 16:45:04 +0000
On Wed, 13 Nov 2019 at 16:07, Richard Sharpe <realrichardsharpe () gmail com> wrote:
Well, I seem to have gotten further, but then ran into this: CMake Error at CMakeLists.txt:91 (message): The PLATFORM environment variable ([undefined]) doesn't match the generator platform (win64) I notice that this page: https://osqa-ask.wireshark.org/questions/56074/cmake-build-fails discusses the problem and points to the document I was using, but that document does not address the PLATFORM environment variable. While it did not take long to figure the issue out, perhaps it could be pre-empted by adding an additional environment variable to the list in the documentation.
The Platform env. variable is set by vcvarsall.bat which is what's actually run to make a Command Prompt a "Visual Studio Command Prompt. Setting it manually is NOT the correct thing to do. It appears that there's still something wrong in your environment, as I noted on the Ask question you linked where the OP had a similar issue for reasons that were never resolved as they failed to respond.
As regards to my personal struggles, I just got Configuring done, Generating done, Build files ...
-- Graham Bloice
___________________________________________________________________________ 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:
- Building on Windows Richard Sharpe (Nov 13)
- Re: Building on Windows Graham Bloice (Nov 13)
- Re: Building on Windows Richard Sharpe (Nov 13)
- Re: Building on Windows Graham Bloice (Nov 13)
- Re: Building on Windows Richard Sharpe (Nov 13)
- Re: Building on Windows Graham Bloice (Nov 13)
- Re: Building on Windows Richard Sharpe (Nov 13)
- Re: Building on Windows Graham Bloice (Nov 13)
- Re: Building on Windows Richard Sharpe (Nov 13)
- Re: Building on Windows Richard Sharpe (Nov 13)
- Re: Building on Windows Graham Bloice (Nov 13)