Is anyone going to tell me the way to set the WINDOWS variables for BOOST?
Hi, in order to build boost I do: cd BOOST_ROOT/tools/jam/src then , bjam --toolset mingw stage and I get the following error: argument error rule boost-build (dir?) called with: (C:/Documents and settings/src/boost/tools/build/v2) extra argument and jambase.c:35:see the definition of rule 'boost-build' being called Is anyone going to tell me what goes wrong? THANK YOU VERY MUCH, David _________________________________________________________________ Votez pour vos séries TV préférées et tentez de gagner un voyage à Hawaï ! http://messengerawards.divertissements.fr.msn.com/
question boost ha escrito:
Hi,
in order to build boost I do:
cd BOOST_ROOT/tools/jam/src then ,
bjam --toolset mingw stage
I think the correct syntax is: bjam --toolset=mingw stage HTH, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
Hi,
On 11/5/07, question boost
in order to build boost I do: cd BOOST_ROOT/tools/jam/src then ,
Assuming you have bjam.exe in your path, I cd to BOOST_ROOT
bjam --toolset mingw stage
I invoke (with an '='): bjam --toolset=mingw stage And things work for me. -dky -- Dhruva Krishnamurthy Contents reflect my personal views only!
Hi, I ask you: where is the error? http://www.boost.org/doc/html/jam/building.html Here they say to go to BOOST_ROOT/tools/jam/src So I do C:\Documents and Settings\src\boost\tools\jam\src and then bjam --toolset=mingw stage and I get again the same message. (in the directory C:\Documents and Settings\src\boost\tools\jam\src there is a file named "build.bat" and no file named "bjam.exe") THANK YOU VERY MUCH David
Date: Mon, 5 Nov 2007 14:59:57 +0530> Wrom: GVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXO
Votez pour vos acteurs de séries TV préférés et tentez de gagner un voyage à Hawaï ! http://messengerawards.divertissements.fr.msn.com/
question boost wrote:
Hi,
I ask you: where is the error?
http://www.boost.org/doc/html/jam/building.html
Here they say to go to BOOST_ROOT/tools/jam/src
So I do C:\Documents and Settings\src\boost\tools\jam\src and then
bjam --toolset=mingw stage
and I get again the same message.
I've just looked through entire http://www.boost.org/doc/html/jam/building.html It never say to invoke "bjam --toolset=xxx". In fact, it never say to invoke bjam *at all*. Can you explain why are you doing that? In general, you have posted at least a dozen email reporting various problems you get when doing something, and you was told a dozen times that you should start by following http://boost.org/more/getting_started/index.html exactly, without trying to follow some other documents, and without taking some parts of boost and leaving others. Before trying to proceed further, can you answer the following questions: 1. Do you want to build and use Boost, or are you troll? 2. What C++ experience do you have? Do you know how to link to libraries, generally, and how to setup include paths generally? 3. What development environment do you use? Does that environment has command line tools? Do you know how to use those command line tools? - Volodya
On Nov 5, 2007 7:38 AM, Vladimir Prus
I've just looked through entire http://www.boost.org/doc/html/jam/building.html
It never say to invoke "bjam --toolset=xxx". In fact, it never say to invoke bjam *at all*. Can you explain why are you doing that?
That's for building bjam itself. The other document, "Getting Started With Boost", says in section 5.2.4 that you can build Boost from source by invoking bjam: "Change your current directory to the Boost root directory and invoke bjam as follows: bjam --build-dir=build-directory --toolset=toolset-name stage" -Max -- Be pretty if you are, Be witty if you can, But be cheerful if it kills you.
Maximilian Wilson wrote:
On Nov 5, 2007 7:38 AM, Vladimir Prus
wrote: I've just looked through entire http://www.boost.org/doc/html/jam/building.html
It never say to invoke "bjam --toolset=xxx". In fact, it never say to invoke bjam *at all*. Can you explain why are you doing that?
That's for building bjam itself.
I know. That's the document that original poster referred to.
The other document, "Getting Started With Boost", says in section 5.2.4 that you can build Boost from source by invoking bjam:
I'm afraid that if we operate under assumption that email that say "document XXX say" as saying "document YYY say" we're not going to achieve anything.
"Change your current directory to the Boost root directory
Original poster say: So I do C:\Documents and Settings\src\boost\tools\jam\src and then bjam --toolset=mingw stage Since when is tools\jam\src named "Boost root directory"? - Volodya
On Nov 5, 2007 11:16 AM, Vladimir Prus
Maximilian Wilson wrote:
The other document, "Getting Started With Boost", says in section 5.2.4 that you can build Boost from source by invoking bjam:
I'm afraid that if we operate under assumption that email that say "document XXX say" as saying "document YYY say" we're not going to achieve anything.
I apologize. I misunderstood your point. -Max -- Be pretty if you are, Be witty if you can, But be cheerful if it kills you.
on Mon Nov 05 2007, question boost
Hi,
in order to build boost I do:
cd BOOST_ROOT/tools/jam/src then ,
bjam --toolset mingw stage
and I get the following error:
argument error rule boost-build (dir?) called with: (C:/Documents and settings/src/boost/tools/build/v2) extra argument and
The problem is in your boost-build.jam file, which probably says something like: boost-build C:/Documents and settings/src/boost/tools/build/v2 ; Those spaces make the path into three arguments. Try changing it to: boost-build "C:/Documents and settings/src/boost/tools/build/v2" ; HTH, -- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Hi, i 've followed your advice. But now at build of boost i get the message: ...toolset.jam:..mingw.init unknown in module toolset. Thank you for your response. David
To: boost-users@lists.boost.org> Wrom: JEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGD
Découvrez le blog Messenger Le Meilleur du Web : toutes les vidéos qui buzzent le plus sur Internet ! http://meilleurduweb.spaces.live.com/
Hi, Can Anyone suggest how to use commandline options with boost. My requirement is: tool.exe -a "Parameter1" Parameter2 parameter I would run tool.exe with 3 parameters. also i have many commandline options. Can anyone please help me in assisting how to use boost library for this. Thanks in advance --------------------------------- Now you can chat without downloading messenger. Click here to know how.
Can Anyone suggest how to use commandline options with boost. My requirement is: tool.exe -a "Parameter1" Parameter2 parameter I would run tool.exe with 3 parameters. also i have many commandline options. Can anyone please help me in assisting how to use boost library for this.
Have you seen the Boost.ProgramOptions library here: http://www.boost.org/doc/html/program_options.html? Regards Hartmut
Thanks for yourresponse
yes I have seen but wanted more help on it
Hartmut Kaiser
Can Anyone suggest how to use commandline options with boost. My requirement is: tool.exe -a "Parameter1" Parameter2 parameter I would run tool.exe with 3 parameters. also i have many commandline options. Can anyone please help me in assisting how to use boost library for this.
Have you seen the Boost.ProgramOptions library here: http://www.boost.org/doc/html/program_options.html? Regards Hartmut _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users --------------------------------- Chat on a cool, new interface. No download required. Click here.
Here's an example:
#include
Thanks for yourresponse yes I have seen but wanted more help on it
*/Hartmut Kaiser
/* wrote: > Can Anyone suggest how to use commandline options with boost. > My requirement is: tool.exe -a "Parameter1" Parameter2 > parameter I would run tool.exe with 3 parameters. also i have > many commandline options. > Can anyone please help me in assisting how to use boost > library for this.
Have you seen the Boost.ProgramOptions library here: http://www.boost.org/doc/html/program_options.html?
Regards Hartmut
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
------------------------------------------------------------------------ Chat on a cool, new interface. No download required. Click here. http://in.rd.yahoo.com/tagline_webmessenger_10/*http://in.messenger.yahoo.co...
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
--
:: Mikko Vainio
Hi,
Can we have more than one value added to positional_options_description ie
positional_options_description posOpt;
posOpt.add( "A", -1 );
posOpt.add( "B", -1 );
posOpt.add( "C", -1 );
Thanks
Swapna
Hartmut Kaiser
Can Anyone suggest how to use commandline options with boost. My requirement is: tool.exe -a "Parameter1" Parameter2 parameter I would run tool.exe with 3 parameters. also i have many commandline options. Can anyone please help me in assisting how to use boost library for this.
Have you seen the Boost.ProgramOptions library here: http://www.boost.org/doc/html/program_options.html? Regards Hartmut _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users --------------------------------- Forgot the famous last words? Access your message archive online. Click here.
Swapna [swapna0282@yahoo.co.in] wrote: Can we have more than one value added to positional_options_description ie positional_options_description posOpt; posOpt.add( "A", -1 ); posOpt.add( "B", -1 ); posOpt.add( "C", -1 );
from http://www.boost.org/doc/html/program_options/overview.html#id1591885 http://www.boost.org/doc/html/program_options/overview.html#id1591885 on positional_options_descriptionhttp://www.boost.org/doc/html/boost/program_options/positional_options_descr... - "specifies translation from position to name". So I am not sure if you mean you want to only add more than one value - which the tutorial very well explains; or add more than one value to the same position - which would be absurd. For code like: ============================================= optdesc.add_options() ("input-files-1,i", po::value< vector< string > >(&input_file_1), "Input file name." ) ("input-files-2,i", po::value< vector< string > >(&input_file_2), "Input file name." ) ("input-files-3,i", po::value< vector< string > >(&input_file_3), "Input file name." ) ; po::positional_options_description posopt; posopt.add("input-files-1", -1); posopt.add("input-files-2", -1); posopt.add("input-files-3", -1); all positional values given at command line would be assigned to "input-files-3". ============================================= - Varun Yagain.
on Tue Nov 06 2007, question boost
Hi, i 've followed your advice. But now at build of boost i get the message:
...toolset.jam:..mingw.init unknown in module toolset.
Thank you for your response.
You are probably passing --toolset=mingw or saying "using mingw ;" in your user-config.jam. Mingw is not a name of a supported toolset. Use gcc instead: http://www.boost.org/more/getting_started/windows.html#identify-your-toolset -- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Hi,
user-config.jam is:
..
import toolset : using ;
# GCC configuration
# Configure gcc (default version) using gcc : : "C:/mingw/bin/g++" ;..
doing at BOOST_ROOT:
bjam --toolset=gcc stage
i get the message:
notice:could not find main target stage..project.jam:699 in attribute warning:rulename $($(project).attributes).get expands to empty string..
i thank you for your responses,
David> To: boost-users@lists.boost.org> From: dave@boost-consulting.com> Date: Tue, 6 Nov 2007 13:39:53 -0500> Subject: Re: [Boost-users] Is anyone going to tell me the way to set the WINDOWS variables for BOOST?> > > on Tue Nov 06 2007, question boost
Hi, (it's another post because of the syntax of the file user-config.jam) user-config.jam is: .. import toolset : using ; # GCC configuration # Configure gcc (default version) using gcc : : "C:/mingw/bin/g++" ;.. new line between # Configure gcc (default version) and using gcc : : "C:/mingw/bin/g++" ; doing at BOOST_ROOT: bjam --toolset=gcc stage i get: notice:could not find main target stage..project.jam:699 in attribute warning:rulename $($(project).attributes).get expands to empty string..> To: boost-users@lists.boost.org> Wrom: WCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZU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EDOTWFAOBUZXUWL _________________________________________________________________ Votez pour vos séries TV préférées et tentez de gagner un voyage à Hawaï ! http://messengerawards.divertissements.fr.msn.com/
participants (10)
-
David Abrahams
-
dhruva
-
Hartmut Kaiser
-
Joaquín Mª López Muñoz
-
Maximilian Wilson
-
Mikko Vainio
-
question boost
-
swapna
-
Varun Yagain (RBIN/ECM4)
-
Vladimir Prus