Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-08-03 15:34:40


Chris Stankevitz wrote:
> I tried both:
> WXFLAGS = SHELL("wx-config --cppflags") ;
> local WXFLAGS = [ SHELL "wx-config --cppflags" ] ;
>
> But neither worked. Am I doing something wrong? I am
> using "Boost.Jam Version 3.1.13"

Hm, the equivalent seems to work just fine on my Ubuntu machine all the
way back to bjam 3.1.11:

====
grafik_at_droid:~$ cat config.jam
local conf = [ SHELL "libpng-config --cflags" ] ;
ECHO --- _$(conf)_ ;

grafik_at_droid:~$ bjam-3.1.11 -f config.jam
--- _-I/usr/include/libpng12
  _
don't know how to make all
...found 1 target...
...can't find 1 target...
grafik_at_droid:~$ bjam-3.1.12 -f config.jam
--- _-I/usr/include/libpng12
_
don't know how to make all
...found 1 target...
...can't find 1 target...
grafik_at_droid:~$ bjam-3.1.13 -f config.jam
--- _-I/usr/include/libpng12
_
don't know how to make all
...found 1 target...
...can't find 1 target...
grafik_at_droid:~$ bjam-3.1.14 -f config.jam
--- _-I/usr/include/libpng12
_
don't know how to make all
...found 1 target...
...can't find 1 target...
grafik_at_droid:~$
====

Do you get correct output if you run the wx-config command directly?

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

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