Wireshark mailing list archives
Re: Building on Windows
From: Graham Bloice <graham.bloice () trihedral com>
Date: Wed, 13 Nov 2019 18:55:12 +0000
On Wed, 13 Nov 2019 at 17:36, Richard Sharpe <realrichardsharpe () gmail com> wrote:
On Wed, Nov 13, 2019 at 9:30 AM Graham Bloice <graham.bloice () trihedral com> wrote:Normally (as in the half dozen or so systems I have checked on) youwould have:07/10/2019 10:18 13 Microsoft.VCRedistVersion.default.txt 07/10/2019 10:18 401Microsoft.VCToolsVersion.default.props07/10/2019 10:18 13 Microsoft.VCToolsVersion.default.txt 07/10/2019 10:18 401Microsoft.VCToolsVersion.v142.default.props07/10/2019 10:18 13Microsoft.VCToolsVersion.v142.default.txt13/11/2019 15:18 39 vcvars32.bat 13/11/2019 15:18 39 vcvars64.bat 07/10/2019 10:18 9,859 vcvarsall.bat 13/11/2019 15:18 43 vcvarsamd64_x86.bat 13/11/2019 15:18 43 vcvarsx86_amd64.bat Where the vcvarsall.bat batch file is the main file for setting up thetoolchain and the smaller ones just call that with the appropriate parameter for Native x86 or x64 or cross compilation. Looks exactly the same: A00187+Richard.Sharpe@A00187 /cygdrive/c/Program Files (x86)/Microsoft Visual Studio/2019/Community $ ls -al VC/Auxiliary/Build/ total 25 drwxrwx---+ 1 Administrators A00187+None 0 Nov 13 07:25 . drwxrwx---+ 1 Administrators A00187+None 0 Nov 13 07:25 .. -rwxr-x---+ 1 Administrators A00187+None 13 Nov 13 07:19 Microsoft.VCRedistVersion.default.txt -rwxr-x---+ 1 Administrators A00187+None 401 Nov 13 07:19 Microsoft.VCToolsVersion.default.props -rwxr-x---+ 1 Administrators A00187+None 13 Nov 13 07:19 Microsoft.VCToolsVersion.default.txt -rwxr-x---+ 1 Administrators A00187+None 401 Nov 13 07:19 Microsoft.VCToolsVersion.v142.default.props -rwxr-x---+ 1 Administrators A00187+None 13 Nov 13 07:19 Microsoft.VCToolsVersion.v142.default.txt -rwxr-x---+ 1 Administrators A00187+None 39 Nov 13 07:19 vcvars32.bat -rwxr-x---+ 1 Administrators A00187+None 39 Nov 13 07:19 vcvars64.bat -rwxr-x---+ 1 Administrators A00187+None 9859 Nov 13 07:19 vcvarsall.bat -rwxr-x---+ 1 Administrators A00187+None 43 Nov 13 07:19 vcvarsamd64_x86.bat -rwxr-x---+ 1 Administrators A00187+None 43 Nov 13 07:19 vcvarsx86_amd64.bat
So that's good. Not sure why you don't then have the Start menu option for "x64 Native Tools Command Prompt for VS 2019". You can make one manually in a regular Cmd prompt by calling the vcvars64.bat file from the above directory. I would suggest not using Cygwin when doing this, it has been the source of lots of weird issues in the past. In fact, I highly recommend that you keep Cygwin and Wireshark development on separate machines. -- 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)