I am unable to get boost installed I have followed this guide and still when I run the command to install boost it cannot find gcc any ideas
C:\deps\boost_1_55_0>bootstrap.bat mingw
Building Boost.Build engine
'gcc' is not recognized as an internal or external command,
operable program or batch file.
Failed to build Boost.Build engine.
Please consult bootstrap.log for furter diagnostics.
You can try to obtain a prebuilt binary from
http://sf.net/project/showfiles.php?group_id=7586&package_id=72941
Also, you can file an issue at http://svn.boost.org
Please attach bootstrap.log in that case.
C:\deps\boost_1_55_0>
Traverse to: $BOOSTDIR/tools/build/v2/engine/build.bat
and at like line 93 before :Guess_Toolset
put 3 spaces(new lines) in
then after that, type out cmd /c 'bootstrap.bat mingw'
There ya go.
This would not fix the problem... which is the actual $BOOSTDIR/tools/build/v2/engine/build.bat you are using has been coded with Unix style end-of-line (LF) instead of windows style end-of-line (CR+LF), so since it is a batch (.bat) file to be ran inside the regular windows console (CMD.COM) it will fail to execute correctly.
The solution is to open the file $BOOSTDIR/tools/build/v2/engine/build.bat with and appropriate editor that can convert the end-of-line encoding to the correct one (CR+LF)... something like NotePad2 or NotePad++ or anything else of your liking that has this feature.
EDIT (after more checking...):
... I find out that actually there are a lot of them (batch files) with the "wrong" end-of-line encoding, in some it does not cause any problem, but in some it does (depending on parsing engine), so if you have those files the best course of action is to search for and open all of them (*.bat) in something like NotePad++ and convert all the end-of-line to windows style and save all the files.
This should fix some if not all of the problems peps are having while compiling boost on windows.
(Anyway this problem mainly arise when the boost tar.gz packaged file is extracted (tar xvfz) on windows, so it should not arise if you use the boost .zip file, that supposedly and hopefully has the end-of-line of the batch files (.bat) encoded for the purpose of being open and used on windows.)
P.S.:
those solution should also fix the problem in windows where you get:
Prompt>bootstrap.bat mingw
Building Boost.Build engine
'"VCVARS32.BAT"' is not recognized as an internal or external command
operable program or batch file.
'"VCVARS32.BAT"' is not recognized as an internal or external command
operable program or batch file.
'"VCVARS32.BAT"' is not recognized as an internal or external command
operable program or batch file.
'"VCVARS32.BAT"' is not recognized as an internal or external command
operable program or batch file.
'cl' is not recognized as an internal or external command,
operable program or batch file.