• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

Using wxWidgets in extensions

Scheduled Pinned Locked Moved Developers' Forum
4 Posts 3 Posters 761 Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    fluid
    last edited by 30 Oct 2015, 02:45

    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?

    1 Reply Last reply Reply Quote 0
    • J Offline
      jiminy-billy-bob
      last edited by 30 Oct 2015, 09:39

      Yes, there is the same issue between Vray and Thea. I think they found a way to fix it.
      You should contact Tomasz .

      25% off Skatter for SketchUcation Premium Members

      1 Reply Last reply Reply Quote 0
      • F Offline
        fluid
        last edited by 30 Oct 2015, 18:07

        Great thanks!

        1 Reply Last reply Reply Quote 0
        • T Offline
          tomasz
          last edited by 2 Nov 2015, 15:43

          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.

          Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            1/4
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement