I'm not sure how you got it to build cleanly, but from my browsing your source, it does appear that you have not implemented the GiplInput::close() method, which is required.
And GiplOutput is missing quite a bit (including close(), supports(), write_scanline(), write_tile()). You need to at least add stubs while you're developing. > On Jul 22, 2015, at 11:02 AM, Ghislain Vaillant <[email protected]> wrote: > > Hi all, > > I have pushed the following feature branches for 2 plugins I am currently > working on: > - GIPL: https://github.com/ghisvail/oiio/tree/feat/gipl-plugin > - Nifti: https://github.com/ghisvail/oiio/tree/feat/nifti-plugin > > Both plugins compile with EMBEDPLUGINS set to OFF and end-up installed in the > same location where all the other plugins are. Then, if I can fire up my > Python interpreter and type: > > >>> import OpenImageIO as oiio > >>> oiio.ImageInput.create("jpeg") > <OpenImageIO.ImageInput at 0x7f036a7e5578> > > No problem, an instance of ImageInput is returned. > > However, > > >>> oiio.ImageInput.create("nifti") > > and, > > >>> oiio.ImageInput.create("gipl") > > returns None. > > Any idea where that could come from? It is probably something stupid, but > please keep in mind that I am still on the learning slope. > > Many thanks, > Ghislain > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org -- Larry Gritz [email protected] _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
