Hi Zac,
I just tested building RB-2.2.3 against Nuke 12.1v2, and the txReader is
working as expected, so there are no API issues that need to be dealt
with (on Linux at least).
Is it possible that your build is not picking up the Nuke version you
expect, or that you're reusing a build tree (specifically a CMake cache)
from a previous build against a different version of Nuke?
-Nathan
On 6/28/2020 6:02 PM, Zac Coster wrote:
Many Thanks Nathan,
I was building against Nuke12.1 & i was also passing the Nuke_ROOT arg
to oiio's cmakelists
Unfortunately it still seemed to get the txReader.so: plugin did not
define txReader on load.
If i build oiio/2.2.3 against Nuke11.3 though. It works fine for
Nuke11.3. (this is with setting Nuke_ROOT to our 11.3 installation
directory)
I do have these optional builds disabled though
-DUSE_R3DSDK=OFF -DUSE_DCMTK=OFF -DUSE_FIELD3D=OFF -DUSE_OpenVDB=OFF
-DUSE_Libheif=OFF -DUSE_Libsquish=OFF
I wish i had more to show, but the ldds all look good and i don't get
any missing symbols on load. ( These are all set appropriately at
runtime )
libOpenColorIO.so.1 => not found
libIlmImf-2_2.so.22 => not found
libImath-2_2.so.12 => not found
libHalf.so.12 => not found
libIex-2_2.so.12 => not found
libIexMath-2_2.so.12 => not found
libIlmThread-2_2.so.12 => not found
libDDImage.so => not found
libOpenImageIO.so.2.2.3 => not found
Appreciate you taking the time to reply!
------------------------------------------------------------------------
*From: *"Nathan R" <nathanru...@gmail.com>
*To: *"oiio-dev" <oiio-dev@lists.openimageio.org>
*Sent: *Monday, 29 June, 2020 3:58:04 AM
*Subject: *Re: [Oiio-dev] Do the tx plugins support Nuke12+?
Hi Zac,
If you're building the plugins against 11.3 and then trying to load them
in 12.1, that's definitely not going to work. There was an explicit ABI
compatibility break in 12.1 specifically related to file reader plugins.
From the release notes:
> DDImage Update
> Nuke 12.1 contain an update to DDImage to separate the codec knobs
from the container knobs. This update breaks binary compatibility for
any and all plug-ins built against previous versions of DDImage.
In terms of the FindNuke module not "knowing" about Nuke 12, that's not
really an impediment to building. If you just pass -D
Nuke_ROOT=/path/to/your/Nuke_install_dir when building OIIO, the find
module will just look in that directory instead of trying to search for
an install using a matrix of known versions. I would like to rewrite
that module to do a better job of searching for installations in a
future-proof manner, but that's not strictly necessary to fix these
types of situations.
Hope this helps.
-Nathan
On 6/25/2020 7:19 PM, Zac Coster wrote:
> Hi All,
>
> I am trying to get oiio/2.2.3 working with Nuke12.1, however i can't
> seem to get the plugins to initialize.
>
> I took a look at the FindNuke.cmake
>
https://github.com/OpenImageIO/oiio/blob/Release-2.2.3.0-dev/src/cmake/modules/FindNuke.cmake
>
> and it looks like it doesn't cover Nuke12.1?
>
> fwiw i was able to successfully register these plugins with oiio/2.2.3
> & ocio/1.1.1 in Nuke11.3
>
> Wondering if I'm doing something wrong?
>
> the ldd looks good to me, no missing symbols, all of the libraries are
> linked. It just doesn't seem to initialize the plugin. I get this
> error in the terminal
>
> txReader.so: plugin did not define txReader
>
> Many Thanks,
> zac
>
> _______________________________________________
> Oiio-dev mailing list
> Oiio-dev@lists.openimageio.org
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org