1 2 3 4 5 6 7
#include <OpenImageIO/imageio.h> int main(int, char**) { auto inp = OIIO::ImageInput::open("none"); return inp ? 0 : 1; }