This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I have successfully built Wireshark from source code using the instructions in section 2.2 of the developers guide(win64 setup). I am now trying to build my dissector using the instructions in section 9.2. At the end of Section 9.2.1 it says, "Compile the dissector to a DLL or shared library ...". Can someone tell me how to do this?

I found some old examples online, but they are not working. Do I use the "msbuild" command, as in section 2.2.12?

Thanks

asked 24 Mar '16, 12:10

rbw006's gravatar image

rbw006
6223
accept rate: 0%


Yep, just rebuild the whole solution again and it will all work, assuming you've made the correct changes. If you've created a plugin dissector you can just rebuild your plugin by substituting the path to the plugin project file on the msbuild command line, e.g.

msbuild /m /p:Configuration=RelWithDebInfo plugins\myplugin\myplugin.vcxproj

You must have previously built Wireshark in the build directory though before compiling the plugin on it's own in this manner. You'll find in practice there's only a little time difference between the "full" build and just building the plugin.

permanent link

answered 24 Mar '16, 15:51

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Thank you Grahamb, I have got it working now.

(24 Mar '16, 19:40) rbw006

If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.

(25 Mar '16, 01:01) Jaap ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×637
×110
×11

question asked: 24 Mar '16, 12:10

question was seen: 1,954 times

last updated: 25 Mar '16, 01:01

p​o​w​e​r​e​d by O​S​Q​A