Boost logo

Boost :

From: Jason.Sibthorpe_at_[hidden]
Date: 2003-09-08 05:12:01


Hi,

The -I option to pyste doesn't appear to work as I expect.

Invoking pyste without the -I option results in the following error
" raise RuntimeError, 'Header file "%s" not found!' % name
RuntimeError: Header file "rc-engine.hpp" not found!"

As I would expect.

Invoking pyste with -I../ does not raise an error and source files
are generated but the body of the Export_*() is empty and include
directives are missing.

//////////////////
// rcengine.pyste
//////////////////
rcengine = AllFromHeader("rc-engine.hpp")

////////////////
// _rcengine.cpp
////////////////

// Includes ======================================================
#include <boost/python.hpp>

// Using =========================================================
using namespace boost::python;

// Module ========================================================
void Export_rcengine()
{
}

--
Note that the following _does_ work 
// rcengine.pyste
rcengine = AllFromHeader("../rc-engine.hpp")
Has anyone noticed this behaviour before?
I am invoking pyste as follows
pyste -I../ --out=rcengine --multiple nuance_config.pyste rcengine.pyste
and using Pyste version 0.9.22
Thanks
Jason Sibthorpe
Software Engineer
Aculab 
Tel: +44 (0) 1908 273 869
Fax: +44 (0) 1908 273 801
Email: jason.sibthorpe_at_[hidden]
Website: <http://www.aculab.com>

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk