"pure virtual method called" crash when developing nuke OP plugin with OCIO

Yanli Zhao <yanli...@...>

Hi All,
I'm a new to both Nuke and OCIO. For some reason, I need to develop a nuke OP similar to OCIOFileTransform.  But when I add just one simple line such as "OCIO::GetCurrentConfig()", I got a crash with the terrible "Pure Virtual method called" error. I was wondering that maybe I was linking the wrong version of OCIO. Has anyone met with similar issues? I'm developing plugin for Nuke 10.0v5 with OCIO 1.0.9.