Failed to connect to WDB agent

After setting up to the target remote system so that we could download the program to the cRIO, an error occured and said that it failed to connect to the WDB target agent. It says to enable the WDB target agent. How do i do this?

You enable it by selecting C++ in the imaging tool.