fatal error while compiling Boost with VC++

Help
din
2007-09-07
2013-05-14
  • din
    din
    2007-09-07

    I am using Visual C++ 2005 express edition. I want to use BOOST 1.34.1 libraries in my application. while compiling boost, i got error.
    C:\boost_1_34_1\tools\jam\src from this folder i try to run 'build' file and following output:

    C:\boost_1_34_1\tools\jam\src>build
    Setting environment for using Microsoft Visual Studio 2005 x86 tools.
    ###
    ### Using 'vc8' toolset.
    ###

    C:\boost_1_34_1\tools\jam\src>rd /S /Q bootstrap
    The system cannot find the indicated file.

    C:\boost_1_34_1\tools\jam\src>md bootstrap

    C:\boost_1_34_1\tools\jam\src>cl /nologo /RTC1 /Zi /MTd -DNT -DYYDEBUG -wd4996 k
    ernel32.lib advapi32.lib user32.lib /Febootstrap\jam0  command.c compile.c debug
    .c execnt.c expand.c filent.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c
    jamgram.c lists.c make.c make1.c newstr.c option.c parse.c pathunix.c regexp.c
    rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c files
    ys.c builtins.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
    command.c
    compile.c
    debug.c
    execnt.c
    execnt.c(26) : fatal error C1083: Cannot open include file: 'windows.h': No such
    file or directory
    expand.c
    filent.c
    glob.c
    hash.c
    hdrmacro.c
    headers.c
    jam.c
    jambase.c
    jamgram.c
    lists.c
    make.c
    make1.c
    newstr.c
    option.c
    parse.c
    pathunix.c
    pathunix.c(279) : fatal error C1083: Cannot open include file: 'windows.h': No s
    uch file or directory
    Generating Code...
    Compiling...
    regexp.c
    rules.c
    scan.c
    search.c
    subst.c
    timestamp.c
    variable.c
    modules.c
    strings.c
    filesys.c
    builtins.c
    pwd.c
    class.c
    w32_getreg.c
    w32_getreg.c(16) : fatal error C1083: Cannot open include file: 'windows.h': No
    such file or directory
    native.c
    set.c
    path.c
    regex.c
    property-set.c
    sequence.c
    Generating Code...
    Compiling...
    order.c
    Generating Code...

    any idea about it?

    Regards
    Din