On 06/18/2018 04:44 AM, Md. Kamrujjaman Akon wrote: > Hi, > > Good Day. > > I am trying to develop an *UWP (Universal Windows Platform) C++ *client > application. I have downloaded*IoTivity-Master 1.3.1* and built it for UWP > with > "*run.bat*" which have the following options: > "*TARGET_OS=windows TARGET_ARCH=amd64 MSVC_UWP_APP=1* SECURED=1 RELEASE=1 > TEST=0 > LOGGING=1 LOG_LEVEL=DEBUG ROUTING=EP WITH_TCP=1 WITH_UPSTREAM_LIBCOAP=1 > MULTIPLE_OWNER=0 THREAD_COUNT=12 AUTOMATIC_UPDATE=0 BUILD_JAVA=0" > > After building successfully, I added all *.lib *files from > "out\windows\uwp\amd64\release" into my project > "*Properties->Linker->Input->Additional Dependencies*". > Then included "*OCApi.h*" and "*OCPlatform.h*" and tried to call > *OCPlatform::Configure(cfg) *api. > > My program built successfully but while running, the app didn't run and show > a > pop with following error message > */"Unable to activate Windows Store App. The process started, but the > activation > request failed with error 'The didn't start"/* > > *//* > > */ > /*And in the Output window, the error is: */"The program has exited with code > -1073741515 (0xc0000135) 'A dependent dll was not found'."/* > > *//* > > I can build and run other UWP C++ apps normally, but face above mentioned > errors > while calling *Configure *api. > I am using Windows 10 and Visual Studio Professional 2017. > > Can anybody please help me, what or which *dlls* or *steps* did I miss?
I hope someone will pop up with answers soon. There should only be a couple of IoTivity dll's (octbsack and ipca), so it seems unlikely you missed them, the rest of the libraries are built as .lib files. So maybe the missing bits are something from the Windows/SDK environment? I tried to reproduce at least part of your situation to see if I could assist, and I was unable to build iotivity from master branch for UWP at all. I tried this: run build -uwp that failed with a confusing error which indicates scons was trying to create something that unexpectedly already existed (the error message was not captured when I redirected the build output so I don't have the precise message at the moment). So over to the Windows experts now :) -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9715): https://lists.iotivity.org/g/iotivity-dev/message/9715 Mute This Topic: https://lists.iotivity.org/mt/22401551/21656 Group Owner: iotivity-dev+ow...@lists.iotivity.org Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-