1 | initial version |
I install the Wireshark development using the Visual Studio 2002
Presumably meaning "Visual Studio 2022", not "2002".
If you want to add a built-in protocol dissector, in a source file named "packet-sf19.c", to Wireshark. you:
${CMAKE_CURRENT_SOURCE_DIR}/packet-sf19.c
to the list of dissectors following the set(DISSECTOR_SRC
line (and before the closing )
line at the end of that list - not to the"CMakeLists.txt" file in the "epan" directory/folder.It will probably not be necessary to re-run CMake - that should happen automatically, as you've modified the "CMakeLists.txt" file.
However, if you did the stuff in the list above and the resulting Wireshark still can't dissect SF19 packets, try running CMake again in the build directory and try building again.