Re: [pygccxml-development] Test environment
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2009-11-18 05:59:15
|
2009/11/18 Michał Nowotka <mm...@gm...>: > Hello > I have following problem: in my project I use pyplusplus and pygccxml. > I want my application to be standalone so pyplusplus_dev, pygccxml_bin > and gccxml_bin directories are embedded in my root directory (via > svn:externals). This project requires also boost (frozen 1.39 is > embedded too). When i launch my build script on 64 bit ubuntu 8.10 > with gcc 4.3 and python 2.5 I get following errors: > > gccxml_runtime_error_t: Error occured while running GCC-XML: In file > included from /home/mnowotka/Pulpit/fasthapl/impl/pyplusplus_dev/../boost/include/boost-1_39/boost/detail/lcast_precision.hpp:16 > (...) > /home/mnowotka/Pulpit/fasthapl/impl/pyplusplus_dev/../boost/include/boost-1_39/boost/integer_traits.hpp:155: > error: integer constant is too large for 'long' type > In file included from > /home/mnowotka/Pulpit/fasthapl/impl/pyplusplus_dev/../boost/include/boost-1_39/boost/lexical_cast.hpp:31, > (...) > /home/mnowotka/Pulpit/fasthapl/impl/pyplusplus_dev/../boost/include/boost-1_39/boost/detail/lcast_precision.hpp:85: > error: integer constant is too large for 'long' type > > > This is strange because on other computer (32 bits kubuntu 9.4 gcc4.3 > python 2.5) this just works fine. I thought binaries in gccxml_bin > should work on any linux just to try unit tests out of box (by the way > - not all unit test are passed). If I remember right, gccxml is based on GCC 4.2 compiler, so it is possible that such errors will happen. > Maybe I can just set some flags or > attach some config file to solve this problem? Can you help me? I could try: create small example that reproduce the problem and post it here. I will take a look on it. > My project can be found here: > svn checkout svn://koral.ise.pw.edu.pl/fasthapl (yes, it's quite large > because of third parties) > > to build it just run python build.py in impl directory. Unfortunately, I don't have enough resources to investigate the problem on your project. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |