yarns
1
Hi,
have a simple project included 3 files:
file 1 named “appli.c” contains:
#include "adl_global.h"
#include "User.h"
const u16 wm_apmCustomStackSize = 1024;
void adl_main ( adl_InitType_e InitType )
{
TRACE (( 1, "Embedded Application : Main" ));
user_SendMessage("test");
}
file “User.h”:
void user_SendMessage(ascii *komunikat);
and file “User.c”:
#include "adl_global.h"
#include "User.h"
void user_SendMessage(ascii *komunikat)
{
adl_atSendResponse ( ADL_AT_UNS, komunikat );
}
when i try compile it under VC++ 2003 or Eclipse getting error:
Any idea why?
Greetings
awneil
2
Are you sure that User.c is included in your project, and being compiled successfully?
yarns
3
Got it! “User.h” wasn’t included into project. But it’s not the end. Now getting something like this:
Screen from VS:
Any idea?
Greetings
tobias
4
Clean the out directory.
It’s a very stupid build system that can’t properly adapt to new modules/headers if certain files are not removed between builds.
awneil
5
Yes, adding/removing files is cumbresome using the Wavecom build system.
Whenever you add/remove any files, you need to run the Open-AT Project Wizard, with the ‘Based on existing files’ option.
That will re-create the makefiles & VS studio project.
yarns
6
Thank you Awneil and Tobias… Now everything works
Have a nice day.