• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

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 5 Feb 2024, 12:52 21 Apr 2011, 21:05

    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
    1 / 1
    • First post
      1/1
      Last post
    Buy SketchPlus
    Buy SUbD
    Buy WrapR
    Buy eBook
    Buy Modelur
    Buy Vertex Tools
    Buy SketchCuisine
    Buy FormFonts

    Advertisement