Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
SWIG C++ & gcc
-
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 ?
Advertisement