Re: [pygccxml-development] Compilation problem
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2008-06-04 10:37:52
|
On Wed, Jun 4, 2008 at 12:00 PM, Vincent Ferries <vin...@gm...> wrote: > After a LOT of Roman's advices, I'm able to generate the .cpp file > corresponding to a big part of the library I'm currently wrapping. > > I tried to follow the examples given in the website and choosed to use > scons as my building tool. > > Like in pyEasyBmp example, I defined my properties file > (environnement.py) and a scons file. > > Unfortunately, all that's build is a .os, I don't really understand why... What do you expect? When you compile Py++ generated files, you get extension module. After this, you can import it as regular python module. Am I missing something? > Using file command, I get the following line : > ferespost.os: ELF 64-bit LSB relocatable, AMD x86-64, version 1 > (SYSV), not stripped > > Which normally correspond to a .o file if I don't mess up. > > environnement.py mainly contains the following definitions: > boost_path = '/usr/lib' > boost_libs_path = '/usr/lib' > gccxml_path = '/usr/bin/gccxml' > pygccxml_path = '/usr/lib/python2.4/site-packages/pygccxml' > pyplusplus_path = '/usr/lib/python2.4/site-packages/pyplusplus' > ferespost_path = '/people/ferries/ferespost/SRC' > python_libs_path = '/usr/lib/python2.4' > python_include_path = '/usr/include/python2.4' > working_dir = '/people/ferries/ferespost' > generated_files_dir = '/people/ferries/ferespost/generated' > unittests_dir = '/people/ferries/ferespost/unittests' > > The sconstruct file is joined to the present e-mail. > > Thanks again for all your help. > > PS : I'm ever trying to convince my client to publish the wrapper as > an open source library. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > pygccxml-development mailing list > pyg...@li... > https://lists.sourceforge.net/lists/listinfo/pygccxml-development > -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |