have you added function block calls while modifying the code on ‘B’?
And if yes, is the library from where you’ve added a function block on ‘B’ also part of the logical view libraries of ‘A’, and is the library deployed to the CPU in ‘A’?
Okay.
Hard to say then without having the project. Normally it should work independent if the library is source or binary, as long as the function block definitions haven’t changed… is the undefined reference thrown by a task compile, and is the named FB out of your own lib?
When exporting binary libraries they are only compiled for the CPU architectures used in the project. So a good way is to have one ARM CPU (Like a Compact-S, X20CP0482) and One Intel CPU (For example X20CP1685) and build both configurations before exporting the library as binary.
yes, you have to activate the “Batch” checkboxes of all of the configurations you want to build, and start a batch build (project → batch
→ build menu).
Sorry to jump on this, but this doesn’t work in my situation
I have two hardware configurations in the same project: one Intel and one Arm
My library has been batch compiled as above
If I make the intel configuration active, then add the binary library, it works fine for the Intel configuration and not the Arm
If I make the Arm configuration active, then add the same binary library, it works fine for Arm configuration and not the Intel
Does anyone know what is going on please?
I get the error message Error 427: Needed module…
Brian
I solved my own problem
For anyone else who runs into this, in the configuration that doesn’t work, remove the library from the software tree (double click CPU), then drag it in again from the logical view
All fixed!