I am falling at the first hurdle with compiling the demo application which comes with the native ADK for 6.5!
After opening the Hello world demo application in C++, I am unable to build the solution with compilation errors for unresolved external symbols:
My understanding is that these are normally generated when a library file is missing on the include path, however hopefully as the below show the ADK lib directory has been included in the "Additional Include" options of Visual Studio
Could anyone wise in the ways of the ADK or wise in the ways of C++ give me some advice?
P.s. reference links:
Instructions on running the sample apps from the docs:
A helpful video from Andreas Grabner and a partner on running applications with the ADK:
Solved! Go to Solution.
Using the -vs2015.lib worked perfectly for me! Thanks.
Do you think we could have this added to the documentation?
There is a section called "I can't compile or link my application" in the DT docs where this snippet might be very useful:
do you know who would be the right person to ask to get this added to the docs?
Yes, that should be in there, let's see if I have the permissions.
But more than that, I think that we should provide a valid .sln file for VS2015, ours was generated with VS2005. Let's see if I can find someone who can do this.
actually I just tried the same thing on my box, but it did not work (yet).
what I tried:
what finally worked for me: use the -vs2015.lib and add "Rpcrt4.lib" to the Linker -> Command Line.
so I agree with you Peter, we should add separate solutions and also separately built static libs.
as far as I can tell it was discussed internally but I don't see any concrete results of that discussion yet. Please use the workarounds as described above for now. Best regards,
After tinkering around with VIsual Studio i did manage to get it running...not quiete sure tho what made it for me but i guess after including the "legacy_stdio_definitions.lib" library it works just fine now.
Still big thank you for trying to help !