compile Forte with OPCUA on Raspberry [message #1849038] |
Thu, 30 December 2021 07:41  |
Eclipse User |
|
|
|
Hello, I was trying to compile Forte with OPCUA on a Raspberry Pi following the steps for a Linux operating system on https://www.eclipse.org/4diac/en_help.php?helppage=html/communication/opc_ua.html#build
I failed on step 4. with following message(s):
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
CMake Error: The source directory "/home/pi/4diac/forte/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Anybody has any help on this?
[Updated on: Sat, 01 January 2022 05:46] by Moderator
|
|
|
|
|
|
Re: compile Forte with OPCUA on Raspberry [message #1849212 is a reply to message #1849093] |
Sat, 08 January 2022 06:51  |
Eclipse User |
|
|
|
Yes, I switched to 'v1.0' as in the docs.
In order to make things for me a little bit easier I also installed cmake-gui on the RPi and selected the options I needed.
I also tried newer versions of open62541 like 'v1.2.3' or even 'v1.3 rc1' and failed. When doing as stated in the docs with 'v1.0' I was able to compile a forte executable.
I was also able to run the blink example and even made some 'changes' with R_TRIG and counters.
Now I'm fighting to get a communication working. I try to get connection from HMI FUXA
Next is getting IO working. Here I'm wondering how to address. In the docs it is busChannel.deviceNumber.portNumber, but how do I address e.g. the third bit of a DO where the card has an I2C address of 26? I'm missing card address and discrete output number (bit). Maybe somebody can explain this more in detail, also for analog IO and PWM. I will connect my hardware and play a little, maybe I find out by myself.
Thx for the help.
|
|
|
Powered by
FUDForum. Page generated in 0.03784 seconds