Boost logo

Boost Users :

Subject: Re: [Boost-users] [Review] Phoenix V3: Mini-review starts February 20th
From: Larry Evans (cppljevans_at_[hidden])
Date: 2011-02-26 16:08:36


On 02/26/11 14:54, Larry Evans wrote:
[snip]

> I abbreviated the bjam output. It also included:
>
>> common.mkdir bin/exceptions.test/gcc-4.5.1v/debug/statement
>> gcc.compile.c++ bin/exceptions.test/gcc-4.5.1v/debug/statement/exceptions.o
>> statement/exceptions.cpp:12:34: fatal error: boost/phoenix/core.hpp: No such file or directory
>> compilation terminated.
>>
>> "/home/evansl/download/gcc/4.5.1-release/install/bin/g++" -ftemplate-depth-128 -Wl,-rpath -std=gnu++0x
>> -DCXX0X_VARIADIC_TEMPLATES -DBOOST_USE_MPL_VARIADIC_TEMPLATES -O0 -fno-inline -Wall -g -fPIC
>> -I"/home/evansl/prog_dev/boost-svn/ro/trunk" -c
>> -o "bin/exceptions.test/gcc-4.5.1v/debug/statement/exceptions.o" "statement/exceptions.cpp"
>
> shwoing that only the boost trunk was included. Obviously, there's a
> missing -I for the phoenix include directory. I would have thought
> the Jamfile.v2 or some other .jam file further up in the project
> directory would have made that a requirement. The Jamroot.jam
> in the phoenix3 directory does have:
>
> project phoenix : requirements <include>$(boost) ;
>
> but apparently that's not having the desired effect :(

Changing that requirements line to:

  project phoenix : requirements <include>$(boost) <include>. ;

solved the problem of the missing core.hpp file; however:

default-directory:
"~/prog_dev/boost-svn/ro/trunk/sandbox/ro/SOC/2010/phoenix3/libs/phoenix/test/"
-*-
Compilation started at Sat Feb 26 15:04:36

bjam
/home/evansl/prog_dev/boost-svn/ro/trunk
warning: No toolsets are configured.
warning: Configuring default toolset "gcc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning:
http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
...patience...
...patience...
...found 2923 targets...
...updating 532 targets...
gcc.compile.c++
bin/container_tests1a.test/gcc-4.4.3/debug/container/container_tests1a.o
In file included from
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/proto/matches.hpp:33,
                 from ../../../boost/phoenix/core/meta_grammar.hpp:15,
                 from ../../../boost/phoenix/core/is_nullary.hpp:15,
                 from ../../../boost/phoenix/core/actor.hpp:18,
                 from ../../../boost/phoenix/core.hpp:12,
                 from container/container_tests.hpp:11,
                 from container/container_tests1a.cpp:7:
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_TUPLE_ELEM_2_0" requires 2 arguments, but only 1
given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given
/home/evansl/prog_dev/boost-svn/ro/trunk/boost/mpl/aux_/template_arity.hpp:86:1:
error: macro "BOOST_PP_SEQ_ELEM_III" requires 2 arguments, but only 1 given

...

followed by several other error messages.

Any ideas what's wrong?

-Larry


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net