简体   繁体   中英

AZURE Cloud integration

I am working on the Azure iot cloud integration, i successfully build my SDK, i am trying compiling with my application, it is giving dependency errors and getting error like given below,

 ../../inc/azure_c_shared_utility/crt_abstractions.h:58:23: error: two or more data types in declaration specifiers
 typedef unsigned char _Bool;
                       
../../inc/azure_c_shared_utility/crt_abstractions.h:58:1: warning: useless type name in empty declaration [enabled by default]
 typedef unsigned char _Bool;
 
../../inc/azure_c_shared_utility/crt_abstractions.h:125:2: error: #error unknown (or C89) compiler, provide ISNAN with the same meaning as isnan in C99 standard
 #error unknown (or C89) compiler, provide ISNAN with the same meaning as isnan in C99 standard

Are you still blocked?

Try adding these lines to your Makefile to see if it works:

 -DCMAKE_C_STANDARD=## \
 -DCMAKE_CXX_STANDARD=## \

where ## are the standards for C and C++ (for example, -DCMAKE_C_STANDARD=99 will make the program be compiled against C99 standards).

Please see similar issue addressed here for reference.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM