Re: [Boost-users] cannot build the regex example in visual c++ 2008

I too am having a similar problem, here is my output; c:\Program Files\boost\boost_1_34_1>bjam --with-regex stage msvc-9.0 c:/Program Files/boost/boost_1_34_1/tools/build/v2/tools\msvc.jam:270: in config ure-really *** argument error * rule path.make ( native ) * called with: ( ) * missing argument native c:/Program Files/boost/boost_1_34_1/tools/build/v2/util\path.jam:46:see definiti on of rule 'make' being called c:/Program Files/boost/boost_1_34_1/tools/build/v2/tools\msvc.jam:145: in config ure c:/Program Files/boost/boost_1_34_1/tools/build/v2/tools\msvc.jam:116: in msvc.i nit c:/Program Files/boost/boost_1_34_1/tools/build/v2/build\toolset.jam:27: in usin g C:\Users\dad\user-config.jam:30: in modules.load c:/Program Files/boost/boost_1_34_1/tools/build/v2\build-system.jam:95: in load- config c:/Program Files/boost/boost_1_34_1/tools/build/v2\build-system.jam:143: in load c:\Program Files\boost\boost_1_34_1\tools\build\v2/kernel\modules.jam:261: in im port c:\Program Files\boost\boost_1_34_1\tools\build\v2/kernel/bootstrap.jam:132: in boost-build c:\Program Files\boost\boost_1_34_1\boost-build.jam:9: in module scope I read through msvc.jam and there is no reference to v9. It appears to default and the default settings don't work. I am also using the express edition of v9. Any help appreciated! chris briscoe wrote:
Hi, whitespace was an issue - thanks.
using this command: bjam --with-regex stage msvc-9.0 didn't work, produced a lot of output then appeared to skip everything for lack of stage\lib.
I tried this from the boost root
C:\Program Files\boost\boost_1_34_1> bjam ^ More? --build-dir=C:\temp\build-boost ^ More? --toolset=msvc-9.0 stage
this ground away for an age producing reams of output and finished with the result attached.
Still don't seem to be there.
Thanks Chris
----- Original Message ----- From: "John Maddock"
To: Sent: Friday, January 04, 2008 7:24 PM Subject: Re: [Boost-users] cannot build the regex example in visual c++ 2008 chris briscoe wrote:
Hi, thanks very much for responding. I have followed your instructions but so far can't get it to work.
running bjam as below gives a message: msvc:9.0:C:/microsoft..../bin/cl.exe.jam: Invalid argument and : rule msvc:9.0:c:/micro..../cl.exe.init unknown in module toolset then appears to drop through with a number of in (various modules) messages.
Would greatly appreciate your help.
Please post the complete error messages, plus your user-config.jam changes, otherwise it's hard to say. However... at a guess it appears that there isn't any whitespace between the arguments in your user-config.jam. Unfortunately bjam insists on whitespace around separators like ":" so:
using msvc :9.0:path-to-cl;
will *not* work, but:
using msvc : 9.0 : path-to-cl ;
will.
HTH, John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/cannot-build-the-regex-example-in-visual-c%2B%2B-2008-... Sent from the Boost - Users mailing list archive at Nabble.com.

David Randolph Palmer wrote:
I too am having a similar problem, here is my output;
I read through msvc.jam and there is no reference to v9. It appears to default and the default settings don't work. I am also using the express edition of v9.
Any help appreciated!
Did you set up a user-config.jam to point to your installation of VC9? (see my previous messages in this thread for details). One asside: if it's regex you're interested in, then remember that it's "just a bunch of sources", you can just as easily build the source in libs/regex/src as a static lib project from within your IDE. HTH, John.
participants (2)
-
David Randolph Palmer
-
John Maddock