Hi all,
I am new to this branch of the opendnp3 library and also new to C++. I have successfully compiled the opendnp3 library on my Ubuntu 14.02 machine. The libraries were installed in my /usr/lib directory, same with the executable masterdemo and outstationdemo. Now tried running the demo's and all worked fine. But I tried modifying the IP address of the outstation in the DemoMain.cpp in other to put the two (master and outstation) on two different systems, but couldn't seem to pass this stage.
I used the following line for compiling the demomain.cpp:
g++ -L /usr/lib -Wl,-rpath=/usr/lib -o executable_filename DemoMain.cpp -lopendnp3 -lasiodnp3
but I keep getting :
fatal error: asiodnp3/DNP3Manager.h: No such file or directory
#include <asiodnp3/DNP3Manager.h>
compilation terminated.
What is it that am missing or doing wrongly? Also, do I need to add this file "masterdemo-DemoMain.o " to this compilation line (though I added it, and still got same error)?
Thanks in anticipation of your response.
Obinna