Re: [C++-sig] Problem with importing shared library into Python

2011-11-25 Thread Stefan Seefeld
On 11/25/2011 02:51 PM, Edgardo C. wrote: > Hello to all again and I really appreciate the help. Finally it works > now !!! Good ! > > Unfortunately i happened just 10 minutes before leaving the office and > until Monday I will not touch again the code. > @Anders: I will try what you

Re: [C++-sig] Problem with importing shared library into Python

2011-11-25 Thread Edgardo C.
Hello to all again and I really appreciate the help. Finally it works now !!! Unfortunately i happened just 10 minutes before leaving the office and until Monday I will not touch again the code. @Anders: I will try what you suggest on Monday. What I did was: $ g++ -c phonebook_wrap.

Re: [C++-sig] Problem with importing shared library into Python

2011-11-25 Thread Anders Wallin
> Hope this can help better to understand (maybe) what is going on. Again, I > follow the same procedure after installing the precompiled packages from > Ubuntu using synaptic, and the same error. Hope that somebody can help. FWIW with this CMakeLists.txt the example-code from the book compiles an

Re: [C++-sig] Problem with importing shared library into Python

2011-11-25 Thread Stefan Seefeld
On 11/25/2011 10:06 AM, Edgardo C. wrote: > We have this situation(remember that the source code is from the book > API C++ design www.apibook.com ): > > Source code: > > - phonebook.h > - phonebook.cpp > - phonebook_wrap.cpp > > Boost is download, compiled and installed int

Re: [C++-sig] Problem with importing shared library into Python

2011-11-25 Thread Edgardo C.
We have this situation(remember that the source code is from the book API C++ design www.apibook.com): Source code: - phonebook.h - phonebook.cpp - phonebook_wrap.cpp Boost is download, compiled and installed into: - /Desktop/boost_1_48_0/compilation/ which means that /include and /lib are the

Re: [C++-sig] Problem with importing shared library into Python

2011-11-25 Thread Edgardo C.
Hello Jim, I really appreciate your feedback. I did what you mention, and I did it downloading manually the boost library, compiling, etc, etc. Then, I thought, ok, maybe I did something wrong and I downloaded the already compiled boost packages using the synaptic tool in Ubuntu and then I compile

Re: [C++-sig] Problem with importing shared library into Python

2011-11-25 Thread Jim Bosch
On 11/25/2011 06:54 AM, Edgardo C. wrote: Hello everybody, I am having problems with importing a .so shared library I just compiled following the example giving in the book: API Design for C++ : www.apibook.com (Chapter 11) I downloaded the Boost library and I compiled

[C++-sig] Problem with importing shared library into Python

2011-11-25 Thread Edgardo C.
Hello everybody, I am having problems with importing a .so shared library I just compiled following the example giving in the book: API Design for C++ : www.apibook.com (Chapter 11) I downloaded the Boost library and I compiled it (fullw) into a subdirectory called /compilation, where I get the /