Getting started in boost - cannot run bootstrap.cmd

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Getting started in boost - cannot run bootstrap.cmd

jasonm
So I have cygwin installed and up and running. I can change directories, whole nine yards.

I have run the following test and it works.



NOTE:
C:\cygwin\
and
C:\cygwin\boost_1_53_0

also in my path system environment variable I have:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\MATLAB\R2008b Student\bin;C:\Program Files\MATLAB\R2008b Student\bin\win32;C:\cygwin\bin

Now - when I try and run the following: (Boost TUtorial) bootstrap.cmd on a windows machine I get the following in the log file:


                                ### "Could not find a suitable toolset."
                                ###
                                ### You can specify the toolset as the argument, i.e.:
                                ###     .\build.bat msvc
                                ###
                                ### Toolsets supported by this script are: borland, como, gcc, gcc-nocygwin,
                                ###     intel-win32, metrowerks, mingw, msvc, vc7, vc8, vc9, vc10, vc11
                                ###

A friend said for me to pass gcc in as an argument to bootstrap.cmd (in command line: bootstrap.cmd gcc)

Which then gave the following to the log file:
###
### Using 'gcc' toolset.
###

C:\cygwin\boost_1_53_0\tools\build\v2\engine>if exist bootstrap rd /S /Q bootstrap

C:\cygwin\boost_1_53_0\tools\build\v2\engine>md bootstrap

C:\cygwin\boost_1_53_0\tools\build\v2\engine>gcc -DNT -o bootstrap\jam0.exe  command.c compile.c constants.c debug.c execnt.c filent.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathunix.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c md5.c pwd.c class.c w32_getreg.c native.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c


Please any help would be fantastic. I feel like I am banging my head against a wall.
Reply | Threaded
Open this post in threaded view
|

Re: Getting started in boost - cannot run bootstrap.cmd

Steven Watanabe-4
AMDG

This is the wrong list.  Try boost-users.

On 04/22/2013 06:03 PM, jasonm wrote:

> <snip>
>
> Now - when I try and run the following: ( Boost TUtorial
> <http://www.boost.org/doc/libs/1_53_0/doc/html/bbv2/installation.html>  )
> bootstrap.cmd on a windows machine I get the following in the log file:
>
> ### "Could not find a suitable toolset."
> <snip>
>
> A friend said for me to pass gcc in as an argument to bootstrap.cmd (in
> command line: bootstrap.cmd gcc)
>
> Which then gave the following to the log file:
> ###
> ### Using 'gcc' toolset.
> ###
>
> C:\cygwin\boost_1_53_0\tools\build\v2\engine>if exist bootstrap rd /S /Q
> bootstrap
>
> C:\cygwin\boost_1_53_0\tools\build\v2\engine>md bootstrap
>
> C:\cygwin\boost_1_53_0\tools\build\v2\engine>gcc -DNT -o bootstrap\jam0.exe
> command.c compile.c constants.c debug.c execnt.c filent.c function.c glob.c
> hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c
> object.c option.c output.c parse.c pathunix.c regexp.c rules.c scan.c
> search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c
> builtins.c md5.c pwd.c class.c w32_getreg.c native.c modules/set.c
> modules/path.c modules/regex.c modules/property-set.c modules/sequence.c
> modules/order.c
>

So, what's the problem?

>
> Please any help would be fantastic. I feel like I am banging my head against
> a wall.
>

You could try using bootstrap.sh for cygwin.

In Christ,
Steven Watanabe

_______________________________________________
Boost-Testing mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/boost-testing