You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently mj_loadPluginLibrary returns void. It would be helpful if it returned the void * handle to the loaded library as returned by dlopen (Or the win32 equivalent) . This would allow applications to fail early if the library file is not found at the given location.
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
@saran-t Also, I suggest that mj_loadPluginLibrary should log the error (from dlerror, etc.) to stderr if loading fails. The current behavior of returning silently is quite misleading (plus there is no Python API to check plugin status). Last time when my plugin fails to load (fault on my end due to incorrect linking flags, but quite subtle), I had to gdb into the mj_loadPluginLibrary function, run call dlerror() after dlopen(...) to get some hints.
The feature, motivation and pitch
Currently mj_loadPluginLibrary returns void. It would be helpful if it returned the void * handle to the loaded library as returned by dlopen (Or the win32 equivalent) . This would allow applications to fail early if the library file is not found at the given location.
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: