sketchucation logo sketchucation
    • Login
    ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

    SWIG C++ & gcc

    Scheduled Pinned Locked Moved Developers' Forum
    1 Posts 1 Posters 226 Views
    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.
    • M Offline
      Morgan74
      last edited by Gábor

      Hello everybody,

      I'm trying to compile a C++ extension for Sketchup using SWIG.
      Thanks to Chris topic I have a working solution to compile C extension but PellesC don't handle c++ code.

      So I moved to SWIG. I found this topic : http://forums.sketchucation.com/viewtopic.php?f=180&t=22109 but when I link the dll I still have some undefined references 😞

      Here is some errors :

      obj\Release\example_wrap.o:example_wrap.cxx:(.text+0xd3): undefined reference to _imp__rb_eRuntimeError' obj\Release\example_wrap.o:example_wrap.cxx:(.text+0x113): undefined reference to _imp__rb_eRuntimeError'
      ....

      for information I'm on a PC and I use mingw32-gcc.exe to compile and link.

      Do you know a lib that I missed ?

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

      Advertisement