My 'guess' is there is a discrepancy with the included third party package 'miniupnp' see
http://miniupnp.free.fr
The one included in wz2100(3.2.1) is missing two files which strangely seem absent in the latest v2.0 build of miniupnp. Perhaps they only used a older version.
I think maybe they have sourced the package from '
https://github.com/ion1/miniupnpd-ubuntu' which does have the missing files. This repo does not seem to be updated for quiet some time. Its the only repo i can find that seems to have the missing file.
The github repo that appears to be the
correct place to source from, appears to be '
https://github.com/miniupnp/miniupnp' due to more recent updating.
Some changes to content has occurred with v2.0 [miniupnpc/declspec.h => miniupnpc_declspec.h]
I can't offer a quick fix as I'm way too inexperienced, but this may aid the main developers to ensure the macOS version builds correctly in future releases.
Hope this helps someone!
My Build Error
CpHeader /Users/chris/Downloads/warzone2100-3.2.1/3rdparty/miniupnpc/bsdqueue.h build/Release/MiniUPnPc.framework/Versions/A/Headers/bsdqueue.h
cd /Users/chris/Downloads/warzone2100-3.2.1/macosx
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/chris/Downloads/warzone2100-3.2.1/3rdparty/miniupnpc/bsdqueue.h /Users/chris/Downloads/warzone2100-3.2.1/macosx/build/Release/MiniUPnPc.framework/Versions/A/Headers
error: /Users/chris/Downloads/warzone2100-3.2.1/3rdparty/miniupnpc/bsdqueue.h: No such file or directory
CpHeader /Users/chris/Downloads/warzone2100-3.2.1/3rdparty/miniupnpc/declspec.h build/Release/MiniUPnPc.framework/Versions/A/Headers/declspec.h
cd /Users/chris/Downloads/warzone2100-3.2.1/macosx
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/chris/Downloads/warzone2100-3.2.1/3rdparty/miniupnpc/declspec.h /Users/chris/Downloads/warzone2100-3.2.1/macosx/build/Release/MiniUPnPc.framework/Versions/A/Headers
error: /Users/chris/Downloads/warzone2100-3.2.1/3rdparty/miniupnpc/declspec.h: No such file or directory
** BUILD FAILED **
The following build commands failed:
CpHeader /Users/chris/Downloads/warzone2100-3.2.1/3rdparty/miniupnpc/bsdqueue.h build/Release/MiniUPnPc.framework/Versions/A/Headers/bsdqueue.h
CpHeader /Users/chris/Downloads/warzone2100-3.2.1/3rdparty/miniupnpc/declspec.h build/Release/MiniUPnPc.framework/Versions/A/Headers/declspec.h
(2 failures)
wz2100 is one of my favourite games.