Hi,
I'm using swig 1.3.31 to generate Lua wrappers for my application. I want to
use the runtime in some other areas of my application so I used the
'-external-runtime' option to generate an appropriate header. However, when I
compile my wrapper I get multiple defines for everything 'runtime' related.
E.g.:
swig_lua_runtime.h(334) : error C2011: 'swig_type_info' : 'struct' type
redefinition
api_luawrap.cpp(324) : see declaration of 'swig_type_info'
swig_lua_runtime.h(344) : error C2011: 'swig_cast_info' : 'struct' type
redefinition
api_luawrap.cpp(334) : see declaration of 'swig_cast_info'
swig_lua_runtime.h(372) : error C2084: function 'int SWIG_TypeNameComp(const
char *,const char *,const char *,const char *)' already has a body
api_luawrap.cpp(361) : see previous definition of 'SWIG_TypeNameComp'
...
I tried the -noruntime option but that's apparently been deprecated and had
no effect on this problem.
What do I need to get this working?
Thanks,
-Aaron
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user