#include <visp3/sensor/vpV4l2Grabber.h>
#include <visp3/gui/vpDisplayX.h>
#include <visp3/core/vpImage.h>
int main()
{
#ifdef VISP_HAVE_V4L2
try {
#ifdef VISP_HAVE_X11
#else
std::cout << "No image viewer is available..." << std::endl;
#endif
while(1) {
}
}
std::cout << "Catch an exception: " << e << std::endl;
}
#endif
}