You would receive such error message is your cRio image version does not match the Wind River update or vice versa.
Basically, you should reimage your cRio using the v19 image and get the Wind River Update installed.
That should fix your problem.
EDIT::
To get the latest C++/C updates visit
WPI Website regularly.