FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
04-12-2021 12:01 PM
Hello,
I have updated ctrlX Works from V1.6 to V1.8.
I use the CXA_COMMONTYPES and CXA_UTILITIES librarys. When I use the latest version, I get a view building errors. With the V1.2.1 I got no errors.
What has changed in the two librays?
Thanks.
Solved! Go to Solution.
04-12-2021 12:08 PM
Couter question 😉 : What does your compiler say?
I already updated some projects and it was quite smoothly. There are more differences in the motion and motion interface for example.
04-14-2021 05:13 PM
Are all libraries on the latest version?
Can you post/share an example of your compile errors and a screenshot of your library manager, where we can see the lib version?
04-15-2021 12:08 PM
04-15-2021 06:03 PM
This errors are related to changes in the CXA_COMMONTYPES, the mentioned types are defined in the CXAC_BASE, please check if CXA_BASE you can find in the library manager.
If the CXA_BASE is available, check if any lib is blue underlined, than still some conflict is there. May because any library references the CXA_COMMONTYPES instead of the CXA_BASE. Does you changed any placeholder manually (can see this with a exclamation mark in library manager)?
Which other libraries are you using? Is it possible that you share a screenshot of the library manager where we can see the versions?
04-19-2021 08:12 AM
04-19-2021 03:26 PM
The issue happened in this case, because the customer developed his own library which use ctrlX libraries.
Is the library version "hardcoded" or explicit referenced in the own developed library, it need to be changed within this library and need to be re-build exactly for this version. It is possibile to do it in this way. But than it might work with one version only.
Better, the suggested way, to use the Placeholders for libraries which are provided by the system like the CXA librariers. System libraries are defined with the placeholders of the device target version. This bring advantages, that easily the device target version or the placeholder can be modified, when a dedicated version is needed. No need of re-build the library. Those CXA libraries bring normally compatiblity and with the latest version, is no need to every time to modify and re-build the own library.