"...assuming you've got the right compiler versions etc..."

We've found that it is necessary to use an older compiler than the one that
ships with our linux distro to build any dynamic libs used by nuke plugins.

If you're building on Linux, I think it is important that any external
compiled libraries are build with gcc 4.1 (unless you're using a recent
beta of nuke 10 that is built against gcc4.8).

The compiler that ships with my company's aging CentOS6 distro is gcc 4.4.
So in order to build our suite of compiled nuke plugins (for Nuke versions
6,7,8,9) we have installed gcc 4.1 and point the Makefiles at that version
of the compiler.

Apologies if this is no help.



On Thu, Mar 10, 2016 at 8:10 AM, Kevin Wheatley <
[email protected]> wrote:

> On 10 March 2016 at 15:53, Josh Imbruglia <[email protected]>
> wrote:
> > Hi everybody,
> >
> > I'm wondering if anyone has had success compiling a plugin against OCIO.
> > When I link it against an external build of OCIO 1.0.9 I get the plugin
> not
> > loading and failing silently. If I attempt to link it against the
> > libOpenColorIO.so that Nuke was shipped with I get undefined reference as
> > I'm using external header files for the include path. Has anyone had
> success
> > with this and have a plugin using an external or internal build of
> > OpenColorIO?
>
> Hi Josh,
>
> What version of Nuke are you using? I had versions of Nuke 8 doing
> this whilst I was adding bits to OCIO previously, I haven't tried with
> Nuke 9, but can't see why it would fail, I'm assuming you've got the
> right compiler versions etc when you built OCIO? Could be a dependent
> library incompatibility, if you are still on Linux I'd check with ldd
> to see what is being pulled in. The other option would be to attach
> gdb to the Nuke process before trying to load it and see if that gives
> any more hints. Usually it will be a symbol problem...
>
> Kevin
>
> --
> *Framestore* | Kevin Wheatley | Head of Imaging
> *London* - New York - Los Angeles - Montreal
>
> 19-23 Wells Street, London, W1T 3PQ
> T: +44 (0) 20 7344 8000
>
> framestore.com <http://www.framestore.com/>
> Facebook <https://www.facebook.com/Framestore>
> Twitter <http://twitter.com/Framestore>
> _______________________________________________
> Nuke-dev mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
>



-- 
--
*Blake G. Sloan* Pipeline|Software|Color *Digital Domain*

Sent from Beautiful Downtown Playa Vista
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to