Dnsapi.dll/.lib for Qt5, Win CE, Armv4i
-
I need to resolve a few remaining link errors in my project build, and dnsapi.dll/.lib seems to be missing. Where should I expect to find it?
Background:
My project is including Qt 5.0.2 source directly, so that I can guarantee all build settings match. (OK, a little OCD, but that's fine.)
Instead of Qt Creator, the IDE is Visual Studio 2008, because that is what other devs in the company started with, and fragmenting our approaches is not worth the risk. FWIW, I really like Qt Creator.
The SDK is custom, created in-house, and I have a copy but no details regarding how it was created.
I have found dnsapi.dll (or lib) in my MS dev folder hierarchy, but none specific to the Armv4i platform needed.
I don't actually need any networking at this point, and tried defining QT_NO_NETWORKINTERFACE, but that exploded into a plethora of other errors, clearly not the path to take, even temporarily.
Any enlightenment about this dns lib would be most welcome!
-
I've never developed for Win CE, or the Armv4i, so I contacted our team that created it. Here's the follow up: "our current SDK/OS does not include the catalog item for DNSAPI".
Since I don't really need any networking for this project, I am going to just stub out the one or two needed functions, coding them to fail gracefully, if ever called. The linker will be happy, and on I go.
-
Building 5.3.1 to work on Win CE 6 with a custom SDK and have got stuck on the same dnsapi missing error. I've included the output of the build below.
Interested if anyone came across any different solutions to this problem.@icrosoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved."C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f Makef
ile.Debug install
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.link /NOLOGO /NODEFAULTLIB:OLDNAMES.LIB /DEBUG /SUBSYSTEM:WINDOWSCE,6.00
/MACHINE:THUMB /DLL /SAFESEH:NO /VERSION:5.31 /OUT:....\lib\Qt5Networkd.dll @C
:\Users\MARKSH~1\AppData\Local\Temp\nmF753.tmp
LINK : fatal error LNK1181: cannot open input file 'dnsapi.lib'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\ce
\bin\x86_arm\link.EXE"' : return code '0x49d'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.@Thanks in advance!!
Mark