|
Boost Users : |
Subject: Re: [Boost-users] boost.python class constructor error
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2010-03-12 21:04:44
On Thu, Mar 11, 2010 at 7:26 PM, hitesh dhiman
<hitesh.dhiman.1988_at_[hidden]> wrote:
> 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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net