On Thu, Jan 11, 2018, 2:12 AM Michał Frątczak <[email protected]> wrote:

> Hi Group,
>
> I am building a very minimal plugin under centos7 and noticed that maya
> stopped updating  .so file between compilations.
>
> My loop looks like this:
>     1. unload plugin in maya
>     2. recompile/link
>     3. load plugin in maya
>     4. test...
>
> It looks like maya keeps some kind of cache and I need to restart it to
> see changes in my .so file.
> I 'think' (but not 100% sure) this started when I switched from static
> openEXR to dynamic linking and also added openVDB.so to link...
>
> Any ideas what's wrong? Having to restart maya each time kill my
> productivity :/
>

Are you saying that it used to work, and now with either a different
version of Maya, or a different version of Linux, it no longer works as you
expect?

In general, I would expect mixed results of unloading and reloading an so
after making changes. If it worked before, and the behaviour has changed,
then something could have changed in the way Maya is calling dlopen (
http://man7.org/linux/man-pages/man3/dlopen.3.html).


> thanks
> -michal
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/f9b4ade8-a6e5-4dc6-883f-4e59fb932dd0%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/f9b4ade8-a6e5-4dc6-883f-4e59fb932dd0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1-_49tV6TaHnoRSxYMDr%2Bg57LVEUBc_YRPs4qDAT7KVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to