Compile fails, can't find include(WiresharkPlugin)?

asked 2018-12-07 07:09:14 +0000

behealed gravatar image

updated 2018-12-07 10:48:57 +0000

grahamb gravatar image

I have a wireshark dissector source code that I downloaded from github. It uses MAKE to build it.

The CMakeList.txt file has the line:


This line throws an error during build, because it says... "include could not find load file: WiresharkPlugin"

This is my first time attempting to compile anything using MAKE, cmake, or any kind of wireshark dissector.

I'm doing this build directly inside visual studio 2017, using a built in cmake tool.

I have wireshark souce installed at c:\Development, and I have also the compile version of wireshark installed, and still it says it can't find the wiresharkplugin include.

My dissector project (the thing I'm trying to compile) is located in my downloads folder, it is not located anywhere inside of c:\development. I'm not sure if that's the problem, but I figure I should mention this.

Do I need to copy some files relating to this missing wiresharkplugin, from the c:\development folder, and put it into my project folder? Or is there some kind of reference that my project needs, that is missing?

Unfortunantly the project I downloaded from github, has absolutely no installation or build instructions, so I do not know why it can't find the wiresharkplugin include.

Can anyone tell me how I can get it to find this include?

edit retag flag offensive close merge delete


What versions are you using, e.g., the Wireshark branch you work on? What plugin is this about, when we can look at the code it's much easier to understand what you're dealing with. Please add these relevant details.

Jaap gravatar imageJaap ( 2018-12-07 10:32:22 +0000 )edit

Please exactly follow the procedure as detailed in the Wireshark Developers Guide. This is known to produce a working build. Only when you have that working can you then go off and try other things, including building in VS and plugins.

grahamb gravatar imagegrahamb ( 2018-12-07 10:47:21 +0000 )edit