Here is the relevant bit of the code from AxisCamera.java:
Code:
/**
* Get a reference to the AxisCamera, or initialize the AxisCamera if it
* has not yet been initialized.
* @return A reference to the AxisCamera.
*/
public static synchronized AxisCamera getInstance() {
if (m_instance == null) {
m_instance = new AxisCamera();
}
return m_instance;
}
private static final Function cameraStartFn = NativeLibrary.getDefaultInstance().getFunction("AxisCameraStart");
The error occurs on the "getFunction("AxisCameraStart")" which is a call to some "NativeLibrary". Which again leads me to believe that somehow a necessary library is not on the cRIO or not being included in the project build. But I am creating the project using the normal New Project->FRC->IterativeRobot thing to create the framework. Do I need to modify the project somehow to include some external or extra library for the camera?
Everything that we have tried except for the camera is working fine.
It's a good thing I don't have much hair left, or I might have pulled it out by now.
