Hi Mats,

 

Thank you for your reply.

 

1) Dlls missing issue:

    Previously, I found octbstack.dll and ipca.dll in the out directory. But I thought those are added automatically while I adding those .libs file.

    After including those manually, I am able to run the UWP app.

 

2) Building IoTivity for UWP issue:

    I faced the same problem like yours (scons was trying to create something that unexpectedly already existed).

    I just did 3 things: a) Delete out folder b) $ run clean c) $ run build -uwp

    Only '$ run clean' and then '$ run build -uwp' also might be a solution for this issue.

 

Thanks

Akon

               

 

--------- Original Message ---------

Sender : Mats Wichmann <[email protected]>

Date : 2018-06-18 23:06 (GMT+6)

Title : Re: [dev] UWP app didn't start

 

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 (#9718) | Reply To Sender | Reply To Group | Mute This Topic | New Topic

Your Subscription | Contact Group Owner | Unsubscribe [[email protected]]

_._,_._,_

Reply via email to