[C++-sig] Re: How to access a custom module from embedded Python?
Hanz Meizer
steam at nurfuerspam.de
Tue Apr 20 12:22:05 CEST 2004
Hi,
I've created a small example that fails, using the famous hello world
module from the tutorial :) Can anyone tell me why it segfaults and what
I am doing wrong? I'm using:
g++ (GCC) 3.3 20030226 (prerelease) (SuSE Linux)
boost_python-gcc-1_31
Python 2.2.2
Files attached.
H.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20040420/1c0f195f/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: embed1.cpp
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20040420/1c0f195f/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hello.cpp
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20040420/1c0f195f/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hello.py
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20040420/1c0f195f/attachment-0003.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: input.py
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20040420/1c0f195f/attachment-0004.txt>
More information about the Cplusplus-sig
mailing list