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

Hi, I modified an unclompete Wireshark dissector plugin, i.e. I did some modifications to the already existing c-files. I neither added a new file in the plugin directory nor did I add some new includes in the c-files. I just added some missing functionality in the c-files. Now I want to build a dll file out of the source files. Is there a way to do this without installing the whole toolchain (Visual Studion, Qt, Cygwin, Python, ...) and building the whole Wireshark as described here https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html? I just want to compile the few c-files with gcc (MinGW), put them into a dll and replace the old dll with the new one.

This question is marked "community wiki".

asked 02 Jul '15, 09:25

Obs's gravatar image

Obs
6112
accept rate: 0%


Nope. You'll need to have a working build environment on Windows to build the plugin DLL. Also note you really should (must ??) use the same version of Visual Studio to build the plugin as was used to build the version of Wireshark that you wish to add the plugin to, i.e. for Wireshark 1.12.x that means Visual Studio 2010.

Building with MinGW on windows isn't supported.

Also make sure you're complying with the GPL regarding distribution and access to the sources of the plugin.

permanent link

answered 02 Jul '15, 09:40

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

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
×173
×21
×18
×1

question asked: 02 Jul '15, 09:25

question was seen: 3,781 times

last updated: 02 Jul '15, 09:40

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