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 ?
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