Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-16 Thread Graham Bloice
< >>>> wireshark-dev@wireshark.org> wrote: >>>> >>>>> Hi, >>>>> >>>>> I don’t think they are generated what will be generated are the files >>>>> needed to *DO *the generation. >>>>> >>>

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-15 Thread Vincent Randal
to *DO *the generation. >>>> >>>> On windows the next step is to run >>>> >>>> msbuild /m /p:Configuration=RelWithDebInfo >>>> epan\dissectors\asn1\h248\generate_dissector-h248.vcxproj >>>> >>>> which will the gener

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-14 Thread Vincent Randal
Thank you, Guy, Pascal, John, Anders, Graham, Richard et al, So that’s what CI Build means. Very nice. https://www.wireshark.org/docs/wsdg_html_chunked/ChIntroAutomated.html Okay. I will not make a very big effort to insert ifdef’s throughout affected source files (relevant to the simple ASN.1

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Guy Harris
On Apr 13, 2021, at 5:36 PM, Vincent Randal wrote: > If it’s important not to break wireshark-2.6.20 It's not. All I'm saying there is that there are different levels of support: for Windows and macOS, we do CI builds, so we know Wireshark builds and runs, and supply binaries;

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Vincent Randal
Guy, I want keep my promise to update the Wireshark documentation for the simple ASN.1 UDP-based dissector example so that it more accurately reflects the current build method that starts with cmake. I will do a better job now with input and help I’ve received. If it’s important not to break

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Guy Harris
On Apr 13, 2021, at 9:21 AM, Pascal Quantin wrote: > 13 avr. 2021 17:36:20 John Thacker : > > > Depending on your build system, the other ASN.1 dissectors can be > > regenerated with either > > > > ninja asn1 > > Or > > make asn1 > > > > without starting the full build process. > >

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Guy Harris
On Apr 13, 2021, at 6:03 AM, Vincent Randal wrote: > I'm building Wireshark on Linux. Wireshark documentation refers to it as UNIX > or UNIX-like. Linux is one of the UNIX-like systems we support, yes. We also officially support macOS, and the build process may also work on FreeBSD, NetBSD,

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Vincent Randal
don’t think they are generated what will be generated are the files >>>> needed to *DO *the generation. >>>> >>>> On windows the next step is to run >>>> >>>> msbuild /m /p:Configuration=RelWithDebInfo >>>> epan\dissectors\asn1\h248\gene

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Graham Bloice
O *the generation. >>>> >>>> On windows the next step is to run >>>> >>>> msbuild /m /p:Configuration=RelWithDebInfo >>>> epan\dissectors\asn1\h248\generate_dissector-h248.vcxproj >>>> >>>> which will the generate the .c

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Pascal Quantin
hey are generated what will be generated are the files >>>>> needed to *DO *the generation. >>>>> >>>>> On windows the next step is to run >>>>> >>>>> msbuild /m /p:Configuration=RelWithDebInfo  >>&

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Graham Bloice
sector-h248.vcxproj >>> >>> which will the generate the .c and .h files >>> >>> Regards >>> >>> Anders >>> >>> >>> >>> *From:* Wireshark-dev *On Behalf >>> Of *Vincent Randal >>> *Sent:* den 13 ap

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread John Thacker
>> On windows the next step is to run >>>> >>>> msbuild /m /p:Configuration=RelWithDebInfo >>>> epan\dissectors\asn1\h248\generate_dissector-h248.vcxproj >>>> >>>> which will the generate the .c and .h files >>>> >>>> Re

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Vincent Randal
msbuild /m /p:Configuration=RelWithDebInfo >>> epan\dissectors\asn1\h248\generate_dissector-h248.vcxproj >>> >>> which will the generate the .c and .h files >>> >>> Regards >>> >>> Anders >>> >>> >>> >>> *Fro

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Pascal Quantin
then rerun the >> cmake process >> >> Nothing happens? >> >> Try to delete the build dir before rerunning cmake again? >> >> I’m not sure on linux if the generate cmake file ends up under the build >> dir or in the source dir. >> >> >> >> Reg

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Vincent Randal
ards > > Anders > > > > *From:* Wireshark-dev *On Behalf Of > *Vincent Randal > *Sent:* den 13 april 2021 16:40 > *To:* Developer support list for Wireshark > *Subject:* Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based > dissector example (foo) > > >

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Anders Broman via Wireshark-dev
Anders From: Wireshark-dev On Behalf Of Vincent Randal Sent: den 13 april 2021 16:40 To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo) Correct insofar as there are no generated files associated

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Vincent Randal
efore rerunning cmake again? > > I’m not sure on linux if the generate cmake file ends up under the build > dir or in the source dir. > > > > Regards > > Anders > > *From:* Wireshark-dev *On Behalf Of > *Vincent Randal > *Sent:* den 13 april 2021 15:32 >

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Anders Broman via Wireshark-dev
Subject: Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo) I tried renaming ./epan/dissectors/asn1/CMakeListsCustom.txt.example to CMakeListsCustom.txt with an entry as follows: # Add a list of your custom asn1 dissectors here set(CUSTOM_ASN1_SRC_DIR foo

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Vincent Randal
I tried renaming ./epan/dissectors/asn1/CMakeListsCustom.txt.example to CMakeListsCustom.txt with an entry as follows: # Add a list of your custom asn1 dissectors here set(CUSTOM_ASN1_SRC_DIR foo ) Again, the build did not update any targets even with that change. But this is progress because

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread John Thacker
On Tue, Apr 13, 2021, 8:32 AM Vincent Randal wrote: > Hello everyone, > > I need help building the simple ASN.1 UDP-based dissector example (foo); > specifically, I need help building the generate_dissector-*proto* target > (Step #6 below). I'm certainly missing something here. > > > (c) I

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Vincent Randal
S are you doing this? > > Regards > > Anders > > > > *From:* Wireshark-dev *On Behalf Of > *Vincent Randal > *Sent:* den 13 april 2021 14:32 > *To:* Developer support list for Wireshark > *Subject:* [Wireshark-dev] How to build the simple ASN.1 UDP-based > dis

Re: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Anders Broman via Wireshark-dev
Hi, On what OS are you doing this? Regards Anders From: Wireshark-dev On Behalf Of Vincent Randal Sent: den 13 april 2021 14:32 To: Developer support list for Wireshark Subject: [Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo) Hello everyone, I

[Wireshark-dev] How to build the simple ASN.1 UDP-based dissector example (foo)

2021-04-13 Thread Vincent Randal
Hello everyone, I need help building the simple ASN.1 UDP-based dissector example (foo); specifically, I need help building the generate_dissector-*proto* target (Step #6 below). I'm certainly missing something here. I'm following the Step by Step instructions (shown below) to create the simple