[pygccxml-development] Compilation problem
Brought to you by:
mbaas,
roman_yakovenko
|
From: Vincent F. <vin...@gm...> - 2008-06-04 09:00:47
|
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...
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.
|