Using wxWidgets in extensions
-
We are using wxWidgets inside our extension called AmbientOcclusion (on Mac OS X). Every time we load our extension, Thea Render becomes unstable and crashes. It seems that Thea Render uses wxWidgets as well, and that the two extensions are conflicting because of it. Also, doesn't matter that we are linking statically or dynamically to wxWidgets, the problem persists.
Has anybody experienced a similar issue?
-
Yes, there is the same issue between Vray and Thea. I think they found a way to fix it.
You should contact Tomasz. -
Great thanks!
-
The most important thing is to hide all symbols when compiling wxWidgets on Mac.
When fluid has done it, the crash is gone.
We have same issue as with V-ray now. Thea dialogues will not close and neither refresh.It is most likely caused by using IMPLEMENT_APP_NO_MAIN(MyApp) macro in AO. This allows just a single instance of wxApp. Our solution is to create our own instance of wxApp and to use wxApp::SetIntance( instance ); instead. When SU closes I do a clean-up and call wxUninitialize();
As far as I know Thea doesn't affect any plugin, so the solution works correctly.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register LoginAdvertisement