<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Hi, I'm new to these lists, but I'm an experienced developer. <div><br></div><div>Right now, I'm working on a project using a popular game engine. I've got some Boost::Python code that's generating a bit of a link-time error; I was under the impression that constitutes most of the traffic around here. Using MSVC 9 and v.1_36 of the library (not my decision to use old version, unfortunately), I'm getting an error:</div>
<div><br></div><div>Spetsnaz_AI.obj : error LNK2001: unresolved external symbol "struct _object * __cdecl boost::python::detail::init_module(char const *,void (__cdecl*)(void))" (?init_module@detail@python@boost@@YAPAU_object@@PBDP6AXXZ@Z) </div>
<div><br></div><div>I've got it down to where this is the only unresolved external. My export code is viewable:</div><div><br></div><div><a href="http://pastebin.com/m439861b0" target="_blank" style="color: rgb(28, 81, 168); ">http://pastebin.com/m439861b0</a> .</div>
<div><br></div><div><br></div><div>I'm not sure what the error implies. Is the init_module really an external symbol that gets linked? Or does that get defined in my code? I tried examining the definition of the BOOST_PYTHON_MODULE macro and it seemed to indicate the latter. Would appreciate any help or redirection.</div>
<div><br></div><div>Many thanks,</div><div>Kevin</div></span>