Try opening Project → Change Runtime Versions and checking the “Advanced” box.
If you’re not using any motion control, you can set mappMotion to “undefined”. If you are using motion, expand the menu and make sure that there is a version defined for McDriveLog.
It may also be the case that you have a different version installed than was last used in the project. If that’s the case, you can click “OK” and it will update all of the versions in the project to what is configured in this window.
Under libraries, there was a library called McBase which none of the functions are or have ever been in use.
Deleting this library solved the compiling issue.
You need McBase, for example, for McAxis so when you compile the prj you should see McBase on the software configuration, double check you have the correct version.
Just for test I have removed my McBase on the logical view and after that automatically in the software configuration AS added again McBase:
Thanks for posting your solution! As Valerio said, this library is needed if you have mapp components. The functions are used by other libraries, so you won’t see them used in the program itself. However, deleing it may have caused the correct version to get re-added. Either way, if it’s building now that’s what matters.