Fixed Windows build errors #115

This commit is contained in:
matlabbe
2016-09-13 18:46:05 -04:00
parent acb700bd27
commit 2b2dc2be39
3 changed files with 5 additions and 5 deletions

View File

@@ -84,7 +84,7 @@ int main(int argc, char * argv[])
UERROR("Not built with OpenNI2 support...");
exit(-1);
}
camera = new CameraOpenNI2("", 0, opticalRotation);
camera = new CameraOpenNI2("", CameraOpenNI2::kTypeColorDepth, 0, opticalRotation);
}
else if(driver == 2)
{
@@ -93,7 +93,7 @@ int main(int argc, char * argv[])
UERROR("Not built with Freenect support...");
exit(-1);
}
camera = new CameraFreenect(0, 0, opticalRotation);
camera = new CameraFreenect(0, CameraFreenect::kTypeColorDepth, 0, opticalRotation);
}
else if(driver == 3)
{

View File

@@ -118,7 +118,7 @@ int main(int argc, char * argv[])
UERROR("Not built with OpenNI2 support...");
exit(-1);
}
camera = new CameraOpenNI2("", 0, opticalRotation);
camera = new CameraOpenNI2("", CameraOpenNI2::kTypeColorDepth, 0, opticalRotation);
}
else if(driver == 2)
{
@@ -127,7 +127,7 @@ int main(int argc, char * argv[])
UERROR("Not built with Freenect support...");
exit(-1);
}
camera = new CameraFreenect(0, 0, opticalRotation);
camera = new CameraFreenect(0, CameraFreenect::kTypeColorDepth, 0, opticalRotation);
}
else if(driver == 3)
{