
13 Mar
2010
13 Mar
'10
2:04 a.m.
On Thu, Mar 11, 2010 at 7:26 PM, hitesh dhiman
Hi all, I'm trying out boost.python to use c++ code in python. My problem is this: In my c++ code, if i declare the class constructor in the header file, and define it in the cpp file, bjam throws a LNK2019 unresolved symbol error. The problem does not occur if i define the constructor in the header file itself.
That LNK2019 error means you forgot to link in the boost python and/or actual python libraries.