Can,t compile device server serial line

Hello
i used the device server SerialLine but when i make it i’ve got (Serial.cpp :fatal error :tango.h : no such file or directory #include <tango.h>
where can i add the directory in makefile?

The easiest way to go around this issue is usually to regenerate the Makefile from Pogo and then recompile.

pogo SerialLine.xmi &

Then File-> Generate

Unselect “Code files” and select Makefile

Click on OK.

Then, try again to compile.
Hoping this helps,

Reynald

Hi Reynald,
now i can compile the device server but the bin is empty

If you look at the g++ compilation line on your screenshot, you will see this part:

-o /home/tango-cs/DeviceServers/Serial

This means that your binary has been generated under /home/tango-cs/DeviceServers directory.

Cheers,
Reynald

Hi Reynald
Thank you so much for your help