OK figured out the correct way to resolve this issue by actually reading
doc/build-msw.txtDownload
this and extract to
C:\depsIn a command prompt:
cd C:\deps\miniupnpc-1.8.20130503
mingw32-make -f Makefile.mingw
mkdir miniupnpc
copy *.h miniupnpc
In your alt coins
src folder open
makefile.mingw and change the miniupnpc part to this:
ifdef USE_UPNP
INCLUDEPATHS += -I"C:\deps\miniupnpc-1.8.20130503"
LIBPATHS += -L"C:\deps\miniupnpc-1.8.20130503"
LIBS += -l miniupnpc -l iphlpapi
DEFS += -DSTATICLIB -DUSE_UPNP=$(USE_UPNP)
endif
The daemon should compile without problems after that regardless of whether or not you add
USE_PNP= to the build parameters. You can even remove the comment on the line I mentioned in my previous post (if you added it).
Still trying to figure out why I can't get the wallet to compile though.