Camera causes code to fail when deploying/running on robot

You can see the only line of code making reference to the camera in the screenshot.

Has anyone else seen this? Anyone know a fix?

The code deploys/runs fine without that line of code, but cannot run or deploy with it… It seems there is a problem with the camera library or our library config…

Do you have WPILib 4, 4.1 or 4.2 and cRIO update v19 or v20?
I got this error after updating from 4 and v19 to 4.2 and v20

4.2 and v19… where do you get v20?

I went back and applied all the patches again (in order) and then this error started appearing… I did this because the camera code wasn’t deploying to the robot… now I can deploy and run non camera code… but do nothing with anything camera related…

http://joule.ni.com/nidu/cds/view/p/lang/en/id/1534
from usfirst.org/frccontrolsystem
it doesn’t show it, but there are DS and Labview (and therefore new images, in this case v20) updates. this page is slow to update

Ok - I will check to see if that has been applied…

How did you get rid of the error?

haven’t yet, the meeting ended before I got a chance to work on it (and we were all excited making the robot drive)
I will see what I can do tommorow

Look into the AxisCamera.h include; they changed some of the function names. In addition to changing the functions to camel case, I’m pretty sure they changed the name of the GetInstance function entirely. Looking into that Vision/AxisCamera.h should help.

Also, if you haven’t done it, I think we had to change the include in the main file from AxisCamera2010.h to AxisCamera.h

Please see:

and/or

and/or

http://forums.usfirst.org/showthread.php?t=14573

These threads all describe similar issues to what you are reporting.