[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wireshark-dev
Subject:    Re: [Wireshark-dev] Problems building under Windows 10
From:       Graham Bloice <graham.bloice () trihedral ! com>
Date:       2019-11-13 15:22:17
Message-ID: CALcKHKpSdaMSMM-mA=y7pbYqZR22AL_c8ervgKJUp2rZnZg96Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Wed, 13 Nov 2019 at 14:56, Richard Sharpe <realrichardsharpe@gmail.com>
wrote:

> On Tue, Nov 12, 2019 at 11:43 PM Graham Bloice
> <graham.bloice@trihedral.com> wrote:
> >
> > On Wed, 13 Nov 2019 at 07:01, Roland Knall <rknall@gmail.com> wrote:
> >>
> >> Do you execute canoe from a Visual Studio Commandprompt? I recently
> tried it and it works fine.
>
> Ahhh. I couldn't find the canoe.
>
> > This also works for me, without the need for a canoe though.
> >
> > You can check if the command prompt has been set up correctly by
> attempting to execute the compiler (cl.exe), for VS 2019 you should see
> something similar to:
> >
> > Microsoft (R) C/C++ Optimizing Compiler Version 19.23.28106.4 for x64
> > Copyright (C) Microsoft Corporation.  All rights reserved.
> > usage: cl [ option... ] filename... [ /link linkoption... ]
>
> That seems to be the problem. I am in a Developer Command Prompt for
> VS 2019, but:
>
> C:\Development\wsbuild64>cl.exe
> 'cl.exe' is not recognized as an internal or external command,
> operable program or batch file.
>
> Now to figure out how to get those things into my path.
>
>
I'm 99% sure you DON'T have a Developer Command Prompt for VS 2019 as that
does set the path accordingly.  When you open the correct prompt (which for
x64 is named in the Start Menu on my machine as "x64 Native Tools Command
Prompt for VS 2019") you should see the following output:

**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.3.9
** Copyright (c) 2019 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>


-- 
Graham Bloice

[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Wed, 13 Nov 2019 at 14:56, Richard Sharpe &lt;<a \
href="mailto:realrichardsharpe@gmail.com">realrichardsharpe@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Nov 12, 2019 \
at 11:43 PM Graham Bloice<br> &lt;<a href="mailto:graham.bloice@trihedral.com" \
target="_blank">graham.bloice@trihedral.com</a>&gt; wrote:<br> &gt;<br>
&gt; On Wed, 13 Nov 2019 at 07:01, Roland Knall &lt;<a href="mailto:rknall@gmail.com" \
target="_blank">rknall@gmail.com</a>&gt; wrote:<br> &gt;&gt;<br>
&gt;&gt; Do you execute canoe from a Visual Studio Commandprompt? I recently tried it \
and it works fine.<br> <br>
Ahhh. I couldn&#39;t find the canoe.<br>
<br>
&gt; This also works for me, without the need for a canoe though.<br>
&gt;<br>
&gt; You can check if the command prompt has been set up correctly by attempting to \
execute the compiler (cl.exe), for VS 2019 you should see something similar to:<br> \
&gt;<br> &gt; Microsoft (R) C/C++ Optimizing Compiler Version 19.23.28106.4 for \
x64<br> &gt; Copyright (C) Microsoft Corporation.   All rights reserved.<br>
&gt; usage: cl [ option... ] filename... [ /link linkoption... ]<br>
<br>
That seems to be the problem. I am in a Developer Command Prompt for<br>
VS 2019, but:<br>
<br>
C:\Development\wsbuild64&gt;cl.exe<br>
&#39;cl.exe&#39; is not recognized as an internal or external command,<br>
operable program or batch file.<br>
<br>
Now to figure out how to get those things into my path.<br>
<br></blockquote></div><div><br></div><div>I&#39;m 99% sure you DON&#39;T have a \
Developer Command Prompt for VS 2019 as that does set the path accordingly.   When \
you open the correct prompt (which for x64 is named in the Start Menu on my machine \
as &quot;x64 Native Tools Command Prompt for VS 2019&quot;) you should see the \
following output:</div><div><br></div><div><font \
face="monospace">**********************************************************************<br>** \
Visual Studio 2019 Developer Command Prompt v16.3.9<br>** Copyright (c) 2019 \
Microsoft Corporation<br>**********************************************************************<br>[vcvarsall.bat] \
Environment initialized for: &#39;x64&#39;<br><br>C:\Program Files (x86)\Microsoft \
Visual Studio\2019\Community&gt;</font><br></div><div><br></div><div><br></div>-- \
<br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Graham \
Bloice</div></div></div></div>


[Attachment #6 (text/plain)]

___________________________________________________________________________
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic