Hi, I am very new to legato-based development, I have started off just a week ago.
Existing system:
-
I have installed legato17-08.1 on my host (linux - ubuntu16.04 LTS) computer, used a zip, did not clone.
-
I have installed latest toolchain (Release 14) from sierra wireless.
-
I have installed legato application developer studio version 5.2.
-
I have a mangOH Green board with me, it has a WP8548 chip on it and I have tested it with helloWorld program that I built and deployed on the device using legato application developer studio version 5.2.
-
I am aware of the process of running âbin/legsâ every time I open a terminal for supporting commands related to legato.
-
I have set the environment variable LEGATO_ROOT to the directory where I have installed legato-17.08.1. I have not set CURDIR yet. Though Environment Variables section clearly states that mk tools will create CURDIR and some other environment variables.
Problem Statement:
I want to add a header file located in a different directory than where the application is being built. When I invoke the make wp85 command, I get an error stating that the referred header could not be found (Not the exact words),
fatal error: project/commons.h: No such file or directory
This header is included in one of the .hh files.
What I have tried:
Based on description for cflags I tried
cflags:
{
-I~/project/commons.h
}
I have also tried using -s option with mkapp command, but it didnât work.
What is the way to provide additional header files?