config.h missing from MacOS package
One can download a MacOS package from the wireshark homepage as a dmg package without having to install homebrew
Unfortunately this package does not include a config.h file associated with it so you can't build directly against it.
Do you have to build against the homebrew package and hope there is compatibility between homebrew and the dmg available on the download site ?
config.h
is created during the cmake step of building.CMakeLists.txt:
Are you trying to compile a plugin to work with a release version of Wireshark?
yes, I am trying to build a plugin against a released version of wireshark. Specifically against 4.0.3 on MacOS arm64
The dmg package doesn't appear to have the config.h file.
I've looked at the homebrew package https://formulae.brew.sh/cask/wireshark and config.h is missing from there too.
Have you tried building using the steps in README.plugins?
(I'm not a mac guy so will stop here so as to not cause confusion)
yes, looked there. All of the linux development packages include the config.h, and the config.h file was present in 3.0.6. I'll check in 3.6.11 build and see if it is there, guess I've got a bit of digging to do.
Is your plugin including config.h itself, or is it including a Wireshark header file that includes config.h?