> Good morning,
>
> I'm starting  working with Iotivty and amazon cloud, but the advances 
> are a little bit blocked because i'm not able to run the project 
> correctly in the Qt Creator. When i build the client with the command 
> Scons "scons cloud WITH_TCP=yes RELEASE=yes TARGET_TRANSPORT=IP 
> WITH_CLOUD=yes" the application run correctly ( i'm capable to make 
> all steps present in Iotivity Cloud - Programming Guide).
>
> However, when i try run the same sample present (without 
> modifications) in the release 1.1.1, but  compiled in the Qt creator, 
> when i proceed to the device sign-up using 0Auth2, the state of the 
> cloud_device stay in mode Waiting Response... The request doesn't 
> arrive to the account, resource directory and interface server and i 
> don't know why. Exist environment variables, flags, or some identifier 
> needed ? I can't figured out why  don't work.
>
This is the "state" of the application:
> Put auth provider name(ex: github)
> github
> Put auth code(provided by auth provider)
> 05a9020e526d3f64650d
> Host coap+tcp://52.59.163.226:5683
> Register account to cloud using github 05a9020e526d3f64650d
> OCCloudRegisterLogin return 0
> *Waiting response.**.*

This is my qmake file:
>
> *TEMPLATE = app**
> **CONFIG += console -std=c99 c++11**
> **CONFIG -= app_bundle**
> **CONFIG -= qt**
> **QMAKE_CFLAGS += -std=c99 -std=c++0x -O2 -g -Wall -Wextra**
> **
> **SOURCES += cloud_connector.c \**
> **           sample_device.cpp**
> **
> **linux-g++:{**
> **
> **   message( "compiling using g++" )**
> **   LIBS+= -L/home/ics/iotivity-1.1.1/out/linux/x86_64/release -loc 
> -loctbstack -loc_logger -lpthread -loctbstack**
> **
> **
> **}**
> **
> **HEADERS += \**
> **    cloud_connector.h**
> **
> **INCLUDEPATH += /usr/include**
> **INCLUDEPATH += /home/ics/iotivity-1.1.1/resource/csdk/stack/include**
> **INCLUDEPATH += /home/ics/iotivity-1.1.1/out/linux/x86_64/release**
> **INCLUDEPATH += /home/ics/iotivity-1.1.1/resource/include**
> **INCLUDEPATH += /home/ics/iotivity-1.1.1/resource/c_common**
> **INCLUDEPATH += 
> /home/ics/iotivity-1.1.1/resource/c_common/ocrandom/include**
> **INCLUDEPATH += /home/ics/iotivity-1.1.1/csdk/logger/include**
> **INCLUDEPATH += /home/ics/iotivity-1.1.1/resource/oc_logger/include**
> **INCLUDEPATH += /home/ics/iotivity-1.1.1/extlibs/tinycbor/tinycbor/src**
> **INCLUDEPATH += 
> /home/ics/iotivity-1.1.1/resource/c_common/oic_malloc/include**
> **INCLUDEPATH += 
> /home/ics/iotivity-1.1.1/resource/c_common/oic_string/include**
> **INCLUDEPATH += /home/ics/iotivity-1.1.1/resource/csdk/logger/include*
> INCLUDEPATH +=/home/ics/iotivity-master/resource/csdk/logger/include
>
> -
>
> Anyone can help me  or give some suggestions for what are happens 
> here? Probably i'm doing something wrong because i can't understand 
> why, when i compile with the Sconscript (inclusive optimized code) 
> inside the iotivity directory,  i'm capable with the same execute 
> commands make all the funcionalities and when compiled by any  ide (QT 
> creator or Eclpise) the application stay in mode "waiting response..".
>
> Grateful by your attention,
>
> Best Regards,
>
> *F?bio Lima*
>
> /*Infotainment & Software*/**
>
> /*Electronics, ITS and HMI Division */
>
> /*fabio.barbosa at ctag.com <mailto:rocio.otero at ctag.com>*/
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160901/576e3c6b/attachment.html>

Reply via email to