#include <visp/vpDisplayGDI.h>
#include <visp/vpDisplayX.h>
#include <visp/vpImageIo.h>
#include <visp/vpImagePoint.h>
int main()
{
#if defined(VISP_HAVE_X11)
#elif defined(VISP_HAVE_GDI)
#else
std::cout << "No image viewer is available..." << std::endl;
#endif
try {
}
catch(...) {
std::cout << "Cannot write the image: unsupported format..." << std::endl;
}
}