Code example for Nucleo F446RE does not compile any more - CAN library

A few weeks ago this code example would compile without any errors or warnings, and now it has some problems with CAN library.
The example is https://developer.mbed.org/users/Crazyaboutmachines/code/CANnucleo_Hello3/
Uses Nucleo F446 board

Some of the error codes:
*Error: Identifier “CAN” is undefined in “main.cpp”, Line: 9, Col: 2
*Error: Expected a “)” in “main.cpp”, Line: 9, Col: 28
*Error: Identifier “CAN” is undefined in “main.cpp”, Line: 10, Col: 2
*Error: Expected a “)” in “main.cpp”, Line: 10, Col: 28
*Error: Identifier “CANMessage” is undefined in “main.cpp”, Line: 11, Col: 2

The code was not changed in any kind, so this should be compiling.

In other nucleo board happens the same I’ve tried F091 and L476

Please help as soon as possible.

Hi,

I had the same errors when I imported Zoltan Hudak / CANnucleo_Hello

but I replaced the MBED library and it compiled. Running now.