Roman Yakovenko schrieb am Dienstag 20 Januar 2009 um 11:04:
> > Yes, its in my working copy too, but not installed by
> > $ python setup.py install --root=$startdir/pkg
>
> Sorry, I always forget to add new packages to the setup.py script :-(
>
> The fix in SVN
Ok. These are are versions I have installed:
{{{
[maik@horst pod]$ pacman -Qs gccxml
local/gccxml-cvs 20090120-1
GCC-XML generates an XML description of a C++ program from GCC's internal
representation
local/pygccxml-svn 1590-1
Python wrapper of gccxml
[maik@horst pod]$ pacman -Qs pyplusplus-svn
local/pyplusplus-svn 1603-1
Binding tool for boost.python
}}}
where the xxx in xxx-1 means the revision number for svn packages while cvs
packages tagged with the build date.
It doesn't work for me. The hole project dir is attached as pod.tar.gz
including the build log
pod/log
The generated file is
pod/build/pyMaik.cpp
The python code for py++ is in
pod/build/generate_code.py
which is in turn generated by cmake from
pod/generate_code.py.in.
I guess I missed some adjustments for generate_code.py.in, sorry.
If you want to build it yourself, make sure gccxml and cmake-2-6-x are on the
path, pygccxml and py++ are installed for the python executable on the path
and run at pod/
rm build -r
mkdir build
cd build
#export BOOST_ROOT=/path/to/boost #optional, if its not installed
cmake ..
make
On Windows, it works the same with cygwin or msys. For VisualStudio the
cmake-gui.exe shipped with cmake2.6.x is more convenient.
Thanks,
-- Maik
|