Hi.
I would like to get IMEI number.
So, I write bellow code and try to compile.
#include “legato.h”
#include “le_info_common.h”char buffer[100];
size_t size=100;
memset(buffer, 0x00, sizeof(buffer));
le_info_GetImei(buffer, size);LE_INFO(“IMEI=%s(%d)”, buffer, size);
But, It finished by error.
(lsh:wp76stable) mangoh@mangoh-dev:~/myWorkspace/shell_test$ mkapp -t wp76xx shell_test.adef
[1/7] Compiling C source
FAILED: /home/mangoh/myWorkspace/shell_test/_build_shell_test/wp76xx/component/e2fcc2960afd14c7be809af2bac82ab0/obj/594d2fc19aba5ba97a8c49076d99404f.o
/home/mangoh/myWorkspace/leaf-data/wp76stable/wp76-toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc --sysroot=/home/mangoh/myWorkspace/leaf-data/wp76stable/wp76-toolchain/sysroots/armv7a-neon-poky-linux-gnueabi -MMD -MF /home/mangoh/myWorkspace/shell_test/_build_shell_test/wp76xx/component/e2fcc2960afd14c7be809af2bac82ab0/obj/594d2fc19aba5ba97a8c49076d99404f.o.d -c /home/mangoh/myWorkspace/shell_test/shellTestComponent/shell_test.c -o /home/mangoh/myWorkspace/shell_test/_build_shell_test/wp76xx/component/e2fcc2960afd14c7be809af2bac82ab0/obj/594d2fc19aba5ba97a8c49076d99404f.o -DLE_FILENAME=basename /home/mangoh/myWorkspace/shell_test/shellTestComponent/shell_test.c
-Wall -fPIC -Werror -fvisibility=hidden -DMK_TOOLS_BUILD -DLEGATO_EMBEDDED -I /home/mangoh/myWorkspace/shell_test/_build_shell_test/wp76xx -I/home/mangoh/myWorkspace/leaf-data/wp76stable/wp76-legato/interfaces -I/home/mangoh/myWorkspace/leaf-data/wp76stable/wp76-legato/framework/include -I/home/mangoh/myWorkspace/leaf-data/wp76stable/wp76-legato/build/wp76xx/framework/include -I/home/mangoh/myWorkspace/shell_test -I/home/mangoh/myWorkspace/shell_test/_build_shell_test/wp76xx/component/e2fcc2960afd14c7be809af2bac82ab0/src -DLE_COMPONENT_NAME=shellTestComponent -DLE_LOG_SESSION=shellTestComponent_LogSession -DLE_LOG_LEVEL_FILTER_PTR=shellTestComponent_LogLevelFilterPtr “-DCOMPONENT_INIT=LE_CI_LINKAGE LE_SHARED void _shellTestComponent_COMPONENT_INIT()”
/home/mangoh/myWorkspace/shell_test/shellTestComponent/shell_test.c:7:10: fatal error: le_info_common.h: No such file or directory
#include “le_info_common.h”
^~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
Please let me know how to resolve this error.
Best Regards.