[ 91%] Building CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/PhysicalLayerBase.cpp.oBuilding CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/UTCTimeSource.cpp.oBuilding CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/TimerASIO.cpp.oBuilding CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/PhysicalLayerSerial.cpp.oBuilding CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/PhysicalLayerBaseTCP.cpp.oBuilding CXX object CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/PhysicalLayerTCPClient.cpp.oIn file included from /home/pi/dnp3/cpp/libs/src/asiopal/ASIOSerialHelpers.cpp:21:0:/home/pi/dnp3/./cpp/libs/include/asiopal/ASIOSerialHelpers.h:24:20: fatal error: asio.hpp: No such file or directoryIn file included from /home/pi/dnp3/cpp/libs/src/asiopal/TimerASIO.cpp:21:0:/home/pi/dnp3/./cpp/libs/include/asiopal/TimerASIO.h:24:20: fatal error: asio.hpp: No such file or directorycompilation terminated.
compilation terminated.In file included from /home/pi/dnp3/cpp/libs/src/asiopal/IOServiceThreadPool.cpp:21:0:/home/pi/dnp3/./cpp/libs/include/asiopal/IOServiceThreadPool.h:26:20: fatal error: asio.hpp: No such file or directorycompilation terminated.In file included from /home/pi/dnp3/./cpp/libs/include/asiopal/ASIOExecutor.h:26:0, from /home/pi/dnp3/cpp/libs/src/asiopal/ASIOExecutor.cpp:21:/home/pi/dnp3/./cpp/libs/include/asiopal/Synchronized.h:24:20: fatal error: asio.hpp: No such file or directorycompilation terminated.In file included from /home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.cpp:21:0:/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h: In instantiation of ‘opendnp3::MeasurementHandler::LoadValuesWithTransformTo(const opendnp3::HeaderRecord&, const opendnp3::ICollection<opendnp3::Indexed<Source> >&) [with Target = opendnp3::SecurityStat; Source = opendnp3::Group121Var1]::<lambda(const opendnp3::Indexed<opendnp3::Group121Var1>&)>’:/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h:103:21: required from ‘struct opendnp3::MeasurementHandler::LoadValuesWithTransformTo(const opendnp3::HeaderRecord&, const opendnp3::ICollection<opendnp3::Indexed<Source> >&) [with Target = opendnp3::SecurityStat; Source = opendnp3::Group121Var1]::<lambda(const class opendnp3::Indexed<opendnp3::Group121Var1>&)>’/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h:106:3: required from ‘opendnp3::IINField opendnp3::MeasurementHandler::LoadValuesWithTransformTo(const opendnp3::HeaderRecord&, const opendnp3::ICollection<opendnp3::Indexed<Source> >&) [with Target = opendnp3::SecurityStat; Source = opendnp3::Group121Var1]’/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.cpp:141:69: required from here/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h:105:40: error: ‘this’ was not captured for this lambda functionCMakeFiles/asiopal.dir/build.make:238: recipe for target 'CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/TimerASIO.cpp.o' failedmake[2]: *** [CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/TimerASIO.cpp.o] Error 1make[2]: *** Waiting for unfinished jobs..../home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h: In instantiation of ‘opendnp3::MeasurementHandler::LoadValuesWithTransformTo(const opendnp3::HeaderRecord&, const opendnp3::ICollection<opendnp3::Indexed<Source> >&) [with Target = opendnp3::SecurityStat; Source = opendnp3::Group122Var1]::<lambda(const opendnp3::Indexed<opendnp3::Group122Var1>&)>’:/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h:103:21: required from ‘struct opendnp3::MeasurementHandler::LoadValuesWithTransformTo(const opendnp3::HeaderRecord&, const opendnp3::ICollection<opendnp3::Indexed<Source> >&) [with Target = opendnp3::SecurityStat; Source = opendnp3::Group122Var1]::<lambda(const class opendnp3::Indexed<opendnp3::Group122Var1>&)>’/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h:106:3: required from ‘opendnp3::IINField opendnp3::MeasurementHandler::LoadValuesWithTransformTo(const opendnp3::HeaderRecord&, const opendnp3::ICollection<opendnp3::Indexed<Source> >&) [with Target = opendnp3::SecurityStat; Source = opendnp3::Group122Var1]’/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.cpp:210:69: required from here/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h:105:40: error: ‘this’ was not captured for this lambda function/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h: In instantiation of ‘opendnp3::MeasurementHandler::LoadValuesWithTransformTo(const opendnp3::HeaderRecord&, const opendnp3::ICollection<opendnp3::Indexed<Source> >&) [with Target = opendnp3::SecurityStat; Source = opendnp3::Group122Var2]::<lambda(const opendnp3::Indexed<opendnp3::Group122Var2>&)>’:/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h:103:21: required from ‘struct opendnp3::MeasurementHandler::LoadValuesWithTransformTo(const opendnp3::HeaderRecord&, const opendnp3::ICollection<opendnp3::Indexed<Source> >&) [with Target = opendnp3::SecurityStat; Source = opendnp3::Group122Var2]::<lambda(const class opendnp3::Indexed<opendnp3::Group122Var2>&)>’/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h:106:3: required from ‘opendnp3::IINField opendnp3::MeasurementHandler::LoadValuesWithTransformTo(const opendnp3::HeaderRecord&, const opendnp3::ICollection<opendnp3::Indexed<Source> >&) [with Target = opendnp3::SecurityStat; Source = opendnp3::Group122Var2]’/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.cpp:215:69: required from here/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h:105:40: error: ‘this’ was not captured for this lambda functionIn file included from /home/pi/dnp3/./cpp/libs/include/asiopal/ASIOExecutor.h:26:0, from /home/pi/dnp3/./cpp/libs/include/asiopal/PhysicalLayerASIO.h:26, from /home/pi/dnp3/./cpp/libs/include/asiopal/PhysicalLayerBaseTCP.h:24, from /home/pi/dnp3/./cpp/libs/include/asiopal/PhysicalLayerTCPClient.h:24, from /home/pi/dnp3/cpp/libs/src/asiopal/PhysicalLayerTCPClient.cpp:21:/home/pi/dnp3/./cpp/libs/include/asiopal/Synchronized.h:24:20: fatal error: asio.hpp: No such file or directorycompilation terminated.In file included from /home/pi/dnp3/./cpp/libs/include/asiopal/ASIOExecutor.h:26:0, from /home/pi/dnp3/./cpp/libs/include/asiopal/PhysicalLayerASIO.h:26, from /home/pi/dnp3/./cpp/libs/include/asiopal/PhysicalLayerBaseTCP.h:24, from /home/pi/dnp3/./cpp/libs/include/asiopal/PhysicalLayerTCPServer.h:24, from /home/pi/dnp3/cpp/libs/src/asiopal/PhysicalLayerTCPServer.cpp:21:/home/pi/dnp3/./cpp/libs/include/asiopal/Synchronized.h:24:20: fatal error: asio.hpp: No such file or directorycompilation terminated.CMakeFiles/asiopal.dir/build.make:54: recipe for target 'CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ASIOSerialHelpers.cpp.o' failedmake[2]: *** [CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ASIOSerialHelpers.cpp.o] Error 1In file included from /home/pi/dnp3/./cpp/libs/include/asiopal/ASIOExecutor.h:26:0, from /home/pi/dnp3/./cpp/libs/include/asiopal/PhysicalLayerASIO.h:26, from /home/pi/dnp3/./cpp/libs/include/asiopal/PhysicalLayerSerial.h:25, from /home/pi/dnp3/cpp/libs/src/asiopal/PhysicalLayerSerial.cpp:21:/home/pi/dnp3/./cpp/libs/include/asiopal/Synchronized.h:24:20: fatal error: asio.hpp: No such file or directorycompilation terminated.In file included from /home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h:31:0, from /home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.cpp:21:/home/pi/dnp3/./cpp/libs/src/opendnp3/app/parsing/Collections.h:92:40: error: ‘opendnp3::TransformedCollection<T, U, Transform> opendnp3::Map(const opendnp3::ICollection<T>&, Transform) [with T = opendnp3::Indexed<opendnp3::Group121Var1>; U = opendnp3::Indexed<opendnp3::SecurityStat>; Transform = opendnp3::MeasurementHandler::LoadValuesWithTransformTo(const opendnp3::HeaderRecord&, const opendnp3::ICollection<opendnp3::Indexed<Source> >&) [with Target = opendnp3::SecurityStat; Source = opendnp3::Group121Var1]::<lambda(const opendnp3::Indexed<opendnp3::Group121Var1>&)>]’, declared using local type ‘opendnp3::MeasurementHandler::LoadValuesWithTransformTo(const opendnp3::HeaderRecord&, const opendnp3::ICollection<opendnp3::Indexed<Source> >&) [with Target = opendnp3::SecurityStat; Source = opendnp3::Group121Var1]::<lambda(const opendnp3::Indexed<opendnp3::Group121Var1>&)>’, is used but never defined [-fpermissive]/home/pi/dnp3/./cpp/libs/src/opendnp3/app/parsing/Collections.h:92:40: error: ‘opendnp3::TransformedCollection<T, U, Transform> opendnp3::Map(const opendnp3::ICollection<T>&, Transform) [with T = opendnp3::Indexed<opendnp3::Group122Var1>; U = opendnp3::Indexed<opendnp3::SecurityStat>; Transform = opendnp3::MeasurementHandler::LoadValuesWithTransformTo(const opendnp3::HeaderRecord&, const opendnp3::ICollection<opendnp3::Indexed<Source> >&) [with Target = opendnp3::SecurityStat; Source = opendnp3::Group122Var1]::<lambda(const opendnp3::Indexed<opendnp3::Group122Var1>&)>]’, declared using local type ‘opendnp3::MeasurementHandler::LoadValuesWithTransformTo(const opendnp3::HeaderRecord&, const opendnp3::ICollection<opendnp3::Indexed<Source> >&) [with Target = opendnp3::SecurityStat; Source = opendnp3::Group122Var1]::<lambda(const opendnp3::Indexed<opendnp3::Group122Var1>&)>’, is used but never defined [-fpermissive]/home/pi/dnp3/./cpp/libs/src/opendnp3/app/parsing/Collections.h:92:40: error: ‘opendnp3::TransformedCollection<T, U, Transform> opendnp3::Map(const opendnp3::ICollection<T>&, Transform) [with T = opendnp3::Indexed<opendnp3::Group122Var2>; U = opendnp3::Indexed<opendnp3::SecurityStat>; Transform = opendnp3::MeasurementHandler::LoadValuesWithTransformTo(const opendnp3::HeaderRecord&, const opendnp3::ICollection<opendnp3::Indexed<Source> >&) [with Target = opendnp3::SecurityStat; Source = opendnp3::Group122Var2]::<lambda(const opendnp3::Indexed<opendnp3::Group122Var2>&)>]’, declared using local type ‘opendnp3::MeasurementHandler::LoadValuesWithTransformTo(const opendnp3::HeaderRecord&, const opendnp3::ICollection<opendnp3::Indexed<Source> >&) [with Target = opendnp3::SecurityStat; Source = opendnp3::Group122Var2]::<lambda(const opendnp3::Indexed<opendnp3::Group122Var2>&)>’, is used but never defined [-fpermissive]In file included from /home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.cpp:21:0:/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h: In lambda function:/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h:106:3: warning: control reaches end of non-void function [-Wreturn-type]/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h: In lambda function:/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h:106:3: warning: control reaches end of non-void function [-Wreturn-type]In file included from /home/pi/dnp3/./cpp/libs/include/asiopal/ASIOExecutor.h:26:0, from /home/pi/dnp3/./cpp/libs/include/asiopal/PhysicalLayerASIO.h:26, from /home/pi/dnp3/./cpp/libs/include/asiopal/PhysicalLayerBaseTCP.h:24, from /home/pi/dnp3/cpp/libs/src/asiopal/PhysicalLayerBaseTCP.cpp:21:/home/pi/dnp3/./cpp/libs/include/asiopal/Synchronized.h:24:20: fatal error: asio.hpp: No such file or directorycompilation terminated./home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h: In lambda function:/home/pi/dnp3/cpp/libs/src/opendnp3/master/MeasurementHandler.h:106:3: warning: control reaches end of non-void function [-Wreturn-type]CMakeFiles/asiopal.dir/build.make:100: recipe for target 'CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/IOServiceThreadPool.cpp.o' failedmake[2]: *** [CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/IOServiceThreadPool.cpp.o] Error 1CMakeFiles/asiopal.dir/build.make:123: recipe for target 'CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ASIOExecutor.cpp.o' failedmake[2]: *** [CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ASIOExecutor.cpp.o] Error 1CMakeFiles/opendnp3.dir/build.make:928: recipe for target 'CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MeasurementHandler.cpp.o' failedmake[2]: *** [CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MeasurementHandler.cpp.o] Error 1make[2]: *** Waiting for unfinished jobs....CMakeFiles/asiopal.dir/build.make:307: recipe for target 'CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/PhysicalLayerTCPClient.cpp.o' failedmake[2]: *** [CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/PhysicalLayerTCPClient.cpp.o] Error 1CMakeFiles/asiopal.dir/build.make:284: recipe for target 'CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/PhysicalLayerSerial.cpp.o' failedmake[2]: *** [CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/PhysicalLayerSerial.cpp.o] Error 1CMakeFiles/asiopal.dir/build.make:146: recipe for target 'CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/PhysicalLayerTCPServer.cpp.o' failedmake[2]: *** [CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/PhysicalLayerTCPServer.cpp.o] Error 1CMakeFiles/asiopal.dir/build.make:215: recipe for target 'CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/PhysicalLayerBaseTCP.cpp.o' failedmake[2]: *** [CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/PhysicalLayerBaseTCP.cpp.o] Error 1CMakeFiles/Makefile2:96: recipe for target 'CMakeFiles/asiopal.dir/all' failedmake[1]: *** [CMakeFiles/asiopal.dir/all] Error 2make[1]: *** Waiting for unfinished jobs....CMakeFiles/Makefile2:166: recipe for target 'CMakeFiles/opendnp3.dir/all' failedmake[1]: *** [CMakeFiles/opendnp3.dir/all] Error 2Makefile:113: recipe for target 'all' failedmake: *** [all] Error 2...
...
...
...
...
It sounds like if more people are getting involved with putting opendnp3 on a brand new RPi with a piface, a complete step-by-step how-to is needed in the github. I did it ages ago, but I don't remember what I did and the code has certainly evolved since then.
I've had quite a few people ask about this.
On one hand I can see why googling it and struggling to make it work is good...learning by doing...but I also see the benefit of having a guide for people eager to learn...even beginners.
I just bought a RPi2 and now all I need is a PiFace2. When I get a chance I'll try to work on starting a start to finish how-to.
Chris
...
...
...
...
...
...
...