Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Help compile a custom extension to lte

Date: Wed, 17 Feb 2016 23:18:09 +0000 (UTC)
This was spot on. Thank you Pascal.
And, yes, this needs to go into the developers guide. If possible, and not already done, i'd be happy to add this and a couple of minor edits.

Regards.


On Wed, Feb 17, 2016 at 5:23 PM, Graham Bloice
<graham.bloice@xxxxxxxxxxxxx> wrote:


On 17 February 2016 at 20:50, Pascal Quantin <pascal.quantin@xxxxxxxxx> wrote:
Hi,

2016-02-17 20:49 GMT+01:00 Born In <d3c1978@xxxxxxxxx>:
I am trying to add a custom extension to couple of LTE messages so I can see them in wireshark.
Since I will be using wireshark exclusively in windows, I figured doing a native win64 build will be the best way to proceed.
Accordingly, I followed the build environment setup process a thttps://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html
Confirmed the setup by building (using the following commands), and tested wireshark come up (with the appended version string) and work as normal.
 
> cmake -DENABLE_CHM_GUIDES=on -G "Visual Studio 12 2013 Win64" ..\wireshark
and
> msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln


Then, I modified the file: C:\Development\wireshark\asn1\lte-rrc\EUTRA-RRC-Definitions.asn
and added the asn structures that will add the required extensions.

Now, I am stuck on the building process. The commands above don't seem to be bothered about re-compiling the EUTRA-RRC-Definitions.asn file.

Yes ASN.1 based dissectors are not automatically regenerated.
 

Can someone please point me to the right way to build wireshark with the changes?

cd asn1\lte-rrc
msbuild /m /p:Configuration=RelWithDebInfo generate_dissector-lte-rrc.vcxproj
cd ..\..
msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln

Regards,
Pascal.
 

This info deserves a spot in the Developers Guide.

--
Graham Bloice
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe