Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsForte v1.9 with open62541 on RPI
https://www.eclipse.org/forums/index.php/mv/msg/1093164/1786683/#msg_1786683
Was wondering if anybody had successfully compiled and tested forte v1.9.0 with open62541 v0.3 for the raspberry pi?
I've been trying to cross-compile from windows but that was unsuccessful. So I changed to ubuntu for cross-compilation which compiled successfully but now i face an error on the RPI. While trying to run forte on the RPI, I have the following message "./forte: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./forte)" but libstdc has already been installed.
I'm using raspbian based on Jessie Lite.
Thanks.
Regards,
Daniel]]>Daniel Ng2018-05-09T09:24:23-00:00Re: Forte v1.9 with open62541 on RPI
https://www.eclipse.org/forums/index.php/mv/msg/1093164/1786698/#msg_1786698
you do need libstdc++ installed, libstc is a different library.
You could also try to compile direct on the Raspberry Pi to check if that works.
Best regards,
Martin]]>Martin Melik Merkumians2018-05-09T14:52:24-00:00Re: Forte v1.9 with open62541 on RPI
https://www.eclipse.org/forums/index.php/mv/msg/1093164/1786716/#msg_1786716
Alois Zoitl2018-05-09T18:17:09-00:00Re: Forte v1.9 with open62541 on RPI
https://www.eclipse.org/forums/index.php/mv/msg/1093164/1786739/#msg_1786739
libstdc++6 was already installed but it didn't work either for jessie.
I've managed to get forte to run now by changing the OS to Raspbian Stretch.
So... to carry on with the OPC-UA tutorial. I went about doing the flipflop app and I realise the monitoring function isn't working on the RPI. All the values show N/A. I replicated the same app on windows running forte as a localhost and monitoring works fine.
Did i miss out on any extra steps to activate monitoring for the RPI? I've double checked "FORTE_SUPPORT_MONITORING" for cmake options and its set to ON by default.
Monitoring used to work for me on forte v1.8.4 for the RPI. Can't remember if there was anything special that was needed to enable monitoring.
Thanks for the help!
Regards,
Daniel]]>Daniel Ng2018-05-10T11:35:41-00:00Re: Forte v1.9 with open62541 on RPI
https://www.eclipse.org/forums/index.php/mv/msg/1093164/1786790/#msg_1786790
Regarding your monitoring issue: If you can deploy and have "FORTE_SUPPORT_MONITORING" enabled monitroing should work. I don't know of anything special.]]>Alois Zoitl2018-05-11T15:26:38-00:00Re: Forte v1.9 with open62541 on RPI
https://www.eclipse.org/forums/index.php/mv/msg/1093164/1786949/#msg_1786949
What I've done is to compile forte natively on the RPI right now.
I think there might be some issues for the monitoring mechanism on V1.9 for the RPI. I've tried compiling on both Jessie and Stretch Raspian, with and without the OPCUA library and it still shows up as N/A when i try to monitor remotely from a Win10 machine.
v1.8.4's monitoring works fine on both Jessie and Stretch.
Please let me know if there's anyway i can help to debug this.
Regards,
Daniel ]]>Daniel Ng2018-05-16T08:49:54-00:00Re: Forte v1.9 with open62541 on RPI
https://www.eclipse.org/forums/index.php/mv/msg/1093164/1786957/#msg_1786957
this is really strange. Thanks a lot for your offer in helping us to track this down.
Could you provide us a screenshot of your system configuration. Do you have two devices with the same ip configured in it? This is now a problem. Could you get us your .log file from your workspace?
Cheers,
Alois]]>Alois Zoitl2018-05-16T11:26:57-00:00Re: Forte v1.9 with open62541 on RPI
https://www.eclipse.org/forums/index.php/mv/msg/1093164/1787476/#msg_1787476
Sorry for the late reply. Attached are the details you requested.
There's only one RPI running on the same IP address. Seems like from the log, there is no viable address to monitor from but the application deployment to the RPI is actually successful as i could see those OPCUA variables from UaExpert.
Regards,
Daniel]]>Daniel Ng2018-05-26T05:34:34-00:00Re: Forte v1.9 with open62541 on RPI
https://www.eclipse.org/forums/index.php/mv/msg/1093164/1787495/#msg_1787495
thanks for all the infos. I'm not sure how to interpret the log. But I see that you have a double quote at the end of your MGR_ID config value. This is an invalid value. It looks like that the deployment handles this more gracefully compared to the monitoring. Could you try to remove the double quote at the end and check if it is then working?