Boost logo

Boost Users :

Subject: Re: [Boost-users] Argument error after upgrading to Snow Leopard
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-09-26 11:16:05


s seelenluft wrote:

> Hi,

Hi Markus,

> after upgrading to Snow Leopard I get following error message compiling even
> a simple Hello World program with bjam:
> *** argument error
> * rule SHELL ( command : * )
> * called with: ( )
> * missing argument command
> (builtin):see definition of rule 'SHELL' being called
> ...

You have snipped the backtrace, which is the only thing that can help
diagnose this.

> The .cpp file is:
> #include <iostream>
> int main()
> {
> cout "Hello World!" << endl;
> return 0;
> }
> The Jamroot file contains:
> exe HelloWorld : HelloWorld.cpp ;
> I have:
> - bjam installed in /usr/local/bin
> - boost-build libraries in /usr/share/boost-build
> - in /usr/share/boost-build/user-config.jam the line: using darwin;
>
> This is as far as I know exactly the same as I had it under Leopard. What am
> I missing here?

You did not say what version of Boost.Build you are using. I recommend that you
grab a nightly build from http://boost.org/boost-build2 and give it a try.

- Volodya


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