Need help using declare_imageio_format
#3102
-
I want to add a .pam reader for my project. My code is crashing in
I've been unable to build a debug version of oiio to help me debug, for reasons I'll describe later. I do have the debug variant of the MacPorts openimageio port installed and active but for some reason Xcode won't let me step into the function. Is there anything that jumps out as incorrect in the code above? Is there some library initialization function I need to call before Issues with making a debug libraryUntil now I have been using the library installed by MacPorts which is v2.1.17.0. I successfully built a library from current |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I've figured out what is going on. In my Pam plug-in I have
If I change the extern declaration to
then the function no longer crashes. It appears that with the original declaration, the assigmnent
ends up with |
Beta Was this translation helpful? Give feedback.
I've figured out what is going on. In my Pam plug-in I have
If I change the extern declaration to
then the function no longer crashes. It appears that with the original declaration, the assigmnent
ends up with
foo
being set to the address of the string atpam_input_extensions[0]
so *foo is a bogua address. I don't fully understand why.