Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-15 08:55:30


On Wednesday 15 February 2006 12:38, jwulp_at_[hidden] wrote:

> local wx_cppflags = [ SHELL "wx_config --cppflags" ] ;
>
> The problem I am having with this, is that although the variable is
> substituted it does not become part of the command if I add
> <cxxflags>"$(wx_cppflags)" :
>
> gcc.compile.c++
> /trunk/src/squadt/bin/gcc/debug/specification.o
> g++: no input files
> /bin/sh: line 2: -I/usr/lib/wx/include/gtk2-unicode-debug-2.6: No such file
> or directory
> /bin/sh: line 3: -O0: command not found
>
> "g++" -ftemplate-depth-100 -I/usr/include/libxml2
> -I/usr/lib/wx/include/gtk2-unicode-debug-2.6 -I/usr/include/wx-2.6

Hi Jeroen!

It seems like the problem is not that "variable does not become part of the
command". I see -I/usr/include/libxml2 above. But, from the further error
messages it looks like there's newline after "-I/usr/include/libxml2". How is
that include added? Can you show me the code?

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk