List Info

Thread: Re: Py++ and inner template classes




Re: Py++ and inner template classes
country flaguser name
Finland
2008-05-05 00:36:06
Roman Yakovenko wrote:
> This is a known ( to me  ) issue:
> http://language-binding.
net/pyplusplus/documentation/how_to/absolute_relative_paths.
html

After playing around a little bit I finally discovered what
was
causing my problems.

It seems that Py++ does not generate bindings for files
that
are in a different branch of the directory tree. If I have
my header files in /home/pk/project/include and I generate
the bindings in /home/pk/project, everything works fine.
But
if I attempt to generate the bindings in
/home/pk/project/bindings,
nothing is exposed even if I use absolute paths.

I don't know whether this is by design or if it is a bug,
but it
was not obvious to me that things would work like this.
I want to keep the bindings separate from the rest of the
project,
that's why the directory structure is similar to what I
outlined.
Fortunately a couple of symbolic links were sufficient to
make things
work.
-- 
Pertti
_______________________________________________
C++-sig mailing list
C++-sigpython.org
http:
//mail.python.org/mailman/listinfo/c++-sig

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )