Hi,
I've a couple of errors trying to access markers through RR's API server in C++.
Heres my code. I have a marker Fill whose image output I would like to save.
if (rr.getImage("Fill", image, &width, &height, 320*240*3))
{
if (width*height*3>1280*1024*3)
{
printf("Fill image width/height error!");
exit(0);
}
printf("Getting and saving image from Fill marker.\n");
rr.savePPM("D:\\UP\\RoboRealm\\API\\testfill.ppm \n", image, width, height);
}
Error : Run-Time Check Failure #3 - The variable 'len' is being used without being defined.
|
|