g++ -o build_dir_2.5/ogre_1.6.0/PatchSurface.pypp.os -c `pkg-config --cflags OGRE` -I -O3 -I./ -DBOOST_PYTHON_MAX_ARITY=19 -D__PYTHONOGRE_BUILD_CODE -I/usr/local/google/foss/pyogre/root/usr/include -L/usr/local/google/foss/pyogre/root/usr/lib -fPIC -I/usr
local/google/foss/pyogre/root/usr/include/boost-1_36 -I/usr/local/google/foss/pyogre/root/usr/include/OGRE -I/usr/include/python2.5 -I/usr/local/google/foss/pyogre/root/usr/include/boost-1_36 generated/ogre_1.6.0/PatchSurface.pypp.cpp
g++ -o build_dir_2.5/ogre_1.6.0/PixelBox.pypp.os -c `pkg-config --cflags OGRE` -I -O3 -I./ -DBOOST_PYTHON_MAX_ARITY=19 -D__PYTHONOGRE_BUILD_CODE -I/usr/local/google/foss/pyogre/root/usr/include -L/usr/local/google/foss/pyogre/root/usr/lib -fPIC -I/usr/loc
l/google/foss/pyogre/root/usr/include/boost-1_36 -I/usr/local/google/foss/pyogre/root/usr/include/OGRE -I/usr/include/python2.5 -I/usr/local/google/foss/pyogre/root/usr/include/boost-1_36 generated/ogre_1.6.0/PixelBox.pypp.cpp
scons: building terminated because of errors.
11-23 19:59 PythonOgre.BuildModule DEBUG generated/ogre_1.6.0/__ctypes_integration.pypp.hpp: In function 'uint32_t pyplusplus::convenience::addressof(const TType*, const TMemVarType TType::*) [with TType = Ogre::PixelBox, TMemVarType = void*]':
generated/ogre_1.6.0/__ctypes_integration.pypp.hpp:49: instantiated from 'boost::python::api::object pyplusplus::convenience::make_addressof_getter(const TMemVarType TType::*) [with TType = Ogre::PixelBox, TMemVarType = void*]'
generated/ogre_1.6.0/PixelBox.pypp.cpp:162: instantiated from here
generated/ogre_1.6.0/__ctypes_integration.pypp.hpp:29: error: cast from 'void* const*' to 'uint32_t' loses precision
scons: *** [build_dir_2.5/ogre_1.6.0/PixelBox.pypp.os] Error 1
Tim does this change fix your issue?
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
I am also building on a AMD64 machine.
Tim 'mithro' Ansell
I believe the issue is fixed now:
http://pygccxml.svn.sourceforge.net/viewvc/pygccxml?view=rev&revision=1453
P.S. It could be nice, if somebody could run Py++ test on 64 bit
architecture and report other issue. I don't have access to such
machine.
Thank you! You can it to me directly ( roman.y...@gmail.com )