Trouble building basic dissector for Version 3.3.2

Hello everyone. I am trying to build a basic dissector as described in chapter 9.2 of the development guide. I literally can´t find CMakelists.txt in the gryphon directory neither in any other plugin directory. Is it possible that the development guide is outdatet? The dissectors in this directory seems to have another file structure as referred.

I tried using CMakelists.txt I found in a web search but in this case by trying to compile it using CMake it detects a problem. It does not generate a .dll file in ...plugin/epan. Thank you for suggestions.

Harald Schmidt's avatar
1
Harald Schmidt
asked 2020-10-23 08:59:15 +0000
edit flag offensive 0 remove flag close merge delete

Comments

If you can't find a CMakeLists.txt file anywhere, then I wonder how you got your source file tree.

Jaap's avatar Jaap (2020-10-23 09:09:30 +0000) edit

As this link to the Wirehark GitLab repo shows the gryphon directory clearly has a CMakeLists.txt: https://gitlab.com/wireshark/wireshar...

grahamb's avatar grahamb (2020-10-23 09:49:22 +0000) edit

I found the "Problem". Myself was searching for the CMakeLists.txt file in the build structure. That couldn´t be successful. I finally found everything I need in C:\Development\wireshark\plugins\epan.

Harald Schmidt's avatar Harald Schmidt (2020-10-23 13:32:50 +0000) edit
add a comment see more comments