The opened C-/C++ block is highlighted as faulty after importing the project

Symptom: After a project has been imported on a different computer and an included C- or C++ block has been opened, errors within the C- or C++-code are displayed.

Example for displayed errors
Field 'LC_VD_X_IN_NAME1' could not be resolved
Type 'LC_TD_Function_X_IN_NAME1' could not be resolved
Type 'LC_TD_UDINT' could not be resolved
Type 'LC_TD_UINT' could not be resolved

However, the project did not contain any errors on the computer where the project has been installed – even the C- or C++-code contained no error.

Cause: T he required include paths have not been automatically updated during the import of the project on the different computer.

Solution: Update the include paths by cleaning the project.

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg logi.cals recommends to install and use the most current versions of logi.CAD 3 and the runtime system so that the latest features and problem fixes according to the release notes are provided in the used version.


Did this article help you? Did you find the requested information in this user documentation?
If not, contact the support team of logi.cals. State your questions or suggestions to improve/enhance the user documentation as detailed as possible.