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

List:       wireshark-dev
Subject:    Re: [Wireshark-dev] Building under Windows and some more tips in the docs ...
From:       Graham Bloice <graham.bloice () trihedral ! com>
Date:       2019-11-13 17:05:01
Message-ID: CALcKHKquUyw3_j3WrG3F1qiSbw1HiF_Kc8pAm6wzRvvbEy5LuQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

> Well, it felt so good to be able to build under Windows I did it twice :-)
>
> It seems like there could be some more tips in the notes for people
> who rarely build under Windows, like:
>
> 1. Just because you have Visual Studio installed does not mean you
> have the C++ support installed.
>

The Developers Guide states:

Check the checkbox for "Desktop development with C++" and then uncheck all
the optional components other than the "VC++ 2019" item with the "latest …
tools", the "Windows 10 SDK", and the "Visual C++ tools for CMake" (unless
you want to use them for purposes other than Wireshark).

Was this insufficient, I admit it took me several attempts to parse it?

I shall try to find time to create a deployment xml file for VS 2019 so it
can be automated and remove the potential for confusion.  The other option
is to use the chocolatey installers for VS 2019 and the native desktop
workload, named "visualstudio2019community" and
visualstudio2019-workload-nativedesktop" respectively.


>
> 2. If msbuild fails with warnings about configurations, perhaps you
> need /p:Configuration=<some-different-opts>
>
>
Others don't seem to have these issues, this seems to be tied to your
missing "Platform" env. var.

-- 
Graham Bloice
Software Developer
Trihedral UK Limited

[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 16:47, 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">Well, it felt so good \
to be able to build under Windows I did it twice :-)<br> <br>
It seems like there could be some more tips in the notes for people<br>
who rarely build under Windows, like:<br>
<br>
1. Just because you have Visual Studio installed does not mean you<br>
have the C++ support installed.<br></blockquote><div><br></div><div>The Developers \
Guide states:</div><div><br></div><div><span \
style="color:rgba(0,0,0,0.8);font-family:Georgia,&quot;times new \
roman&quot;,Times,serif;font-size:17px;letter-spacing:-0.17px">Check the checkbox for \
"Desktop development with C++" and then uncheck all the optional components other \
than the "VC++ 2019" item with the "latest … tools", the "Windows 10 SDK", and the \
"Visual C++ tools for CMake" (unless you want to use them for purposes other than \
Wireshark).</span></div><div><br></div><div>Was this insufficient, I admit it took me \
several attempts to parse it?</div><div><br></div><div>I shall try to find  time to \
create a deployment xml file for VS 2019 so it can be automated and remove  the \
potential for confusion.   The other option is to use the chocolatey installers for \
VS 2019 and the native desktop workload, named &quot;visualstudio2019community&quot; \
and visualstudio2019-workload-nativedesktop&quot; respectively.</div><div>  \
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex"> <br>
2. If msbuild fails with warnings about configurations, perhaps you<br>
need /p:Configuration=&lt;some-different-opts&gt;<br>
<br></blockquote></div><div><br></div><div>Others don&#39;t seem to have these \
issues, this seems to be tied to your missing &quot;Platform&quot; env. \
var.</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div \
dir="ltr"><div>Graham Bloice<br></div><div><div>Software \
Developer</div><div>Trihedral UK Limited</div></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