Re: [C++-sig] ImportError...'No such file' etc. when importing hello_ext from tutorial

2008-12-05 Thread Adrien Saladin
> Now it works. Well, yes, there were 3 issues. First, I had skipped the "make > install" part in "getting started with boost", i.e. I didn't have any > libboost* files (of which I know explicitly). Second, LD_LIBRARY_PATH was not > set and, third, libboost_python-gcc41-1_37.so.1.37.0 didn't exi

Re: [C++-sig] [py++] Problem: empty xml file created

2008-12-05 Thread Roman Yakovenko
On Fri, Dec 5, 2008 at 5:01 PM, Marcus Lindblom <[EMAIL PROTECTED]> wrote: > How does gccxml work in compiler-work-alike mode? I am not sure what you mean by this. GCC-XML doesn't tries to emulate other compilers. The configuration is used to find system and C++ header files. > I've built with VS

Re: [C++-sig] Custom from-python converter (almost working)

2008-12-05 Thread Ralf W. Grosse-Kunstleve
> void > p(vec3f *v) > { > printf("%f, %f, %f\n", v->x, v->y, v->z); > } This is indeed not supported, since it would require "converters with write-back". vec3f const* v should work, but ve3f* v doesn't because the missing const indicates that you want to modify the pointee in place. F

Re: [C++-sig] [py++] Problem: empty xml file created

2008-12-05 Thread Marcus Lindblom
Marcus Lindblom wrote: Marcus Lindblom wrote: (I don't think the gccxml-call happens because of the call to the ModuleBuilder at line 813, although I might be wrong?) Waitaminute. When I'm rerunning it now, the order makes more sense, and the cache-calls come up after the calls to ModuleBuil

[C++-sig] Custom from-python converter (almost working)

2008-12-05 Thread pyplusplus
I'm trying to add some custom from-python converters to my bindings (see code at the end of the mail). These basically should convert Python 3-tuples of floats to a C++ vec3f instance. I can't seem to find reference docs on classes related to conversion, e.g. boost::python::converter::registry, so

Re: [C++-sig] ImportError...'No such file' etc. when importing hello_ext from tutorial

2008-12-05 Thread kekela
> Maybe your library path is incorrect. You may try (with bash) > export LD_LIBRARY_PATH=path_to_your_libboost_python-gcc41-1_37.so.1.37.0 Now it works. Well, yes, there were 3 issues. First, I had skipped the "make install" part in "getting started with boost", i.e. I didn't have any libboost*

[C++-sig] ImportError...'No such file' etc. when importing hello_ext from tutorial

2008-12-05 Thread kekela
Hi, I'm new to boost and aiming to use boost:python and I am experiencing difficulties with the boost:python tutorial. While running bjam plain (i.e. with test targets and without --preserve-test-target or -n -a) creates nice test results (i.e. hello, hello.output and hello.test are created wit