i use borland c programing for adam-4500. My code:
#include"adam45 00.h"
void main(void)
{
if (!comm_init (1000))
{
printf(" initialization failed!");
delay(1000);
exit();
}
}
i took all files into example1 directory : inc and lib directories of turbo c, and adam4500.h header file . when i compile it not error and not warring, but when i build all it has one error :
linker error: undefined symbol comm_init(int) in module TIEP.CPP
can you help me repair this error!
#include"adam45 00.h"
void main(void)
{
if (!comm_init (1000))
{
printf(" initialization failed!");
delay(1000);
exit();
}
}
i took all files into example1 directory : inc and lib directories of turbo c, and adam4500.h header file . when i compile it not error and not warring, but when i build all it has one error :
linker error: undefined symbol comm_init(int) in module TIEP.CPP
can you help me repair this error!
Comment