Hi,
I follow the boost.python tutorial
but it does not work out
I create the directory structure as
itppl/
__init__py
itpp.so
and add it to use sys.path.append
but
in python
import itppl.itpp
error No module named itppl.tpp
What 's wrong with this?
--
Junwei Zhang
Office
Hi,
If I have a class support operator[] and operator() for indexing purpose.
How can I wrapper it in python?
--
Junwei Zhang
Office Phone:402-472-1968
junweizhang2...@gmail.com
www.junweizhang.com
Department of Electrical Engineering
University of Nebraska-Lincoln
209N Walter Scott Engineering
);//
std::cout<", line 1, in
ImportError: ./hello.so: undefined symbol: _ZN4itpp8linspaceEddi
any suggestion is appreciate!!
--
Junwei Zhang
Office Phone:402-472-1968
www.junweizhang.com
Department of Electrical Engineering
University of Nebraska-Lincoln
209N Walter Scott Engineering Ce
Hi all,
who can tell me what c++ semantics of following statement.
I do not understand it, it do not like usual c++ codes
object msg="%s is bigger than %s" %make_tuple(NAME,name);
--
Junwei Zhang
Office Phone:402-472-1968
junweizhang2...@gmail.com
www.junweizhang.com
Department of
Thanks you all
it works
On Mon, Aug 30, 2010 at 12:23 PM, Jim Bosch wrote:
> On 08/30/2010 10:19 AM, Junwei Zhang wrote:
>>
>> Hi, everyone,
>>
>> I just started study boost.python. and have following problem
>
>
>>
>> g++ boostpy.cc -lpyth
sr/include/python2.5 -o boostpy.so -shared
It complies ,but when import it in python, I have following error,
<<", line 1, in
ImportError: ./boostpy.so: undefined symbol: _ZN5boost6python6detail11init_
moduleEPKcPFvvE
any suggestion?
Thanks
--
Junwei Zhang
Office Phone:402-472