Opened 7 years ago

Last modified 7 years ago

#11685 new Bugs

bootstrap.log: fatal error C1083: Cannot open include file: 'tlhelp32.h': No such file or directory

Reported by: aritz@… Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.59.0 Severity: Showstopper
Keywords: Cc:

Description

I am trying to use Boost on windows! The more I tear my hear out with this, the more I realize that Windows is absolute garbage for having no dependency management!

Anyway, running bootstrap.bat always fails, I can't seem to figure out as to why. It doesn't make sense why I would be missing something that would apparently be part of... well... the windows API

bootstrap.log ### ### Using 'vc12' toolset. ###

C:\boost_1_59_0\tools\build\src\engine>if exist bootstrap rd /S /Q bootstrap

C:\boost_1_59_0\tools\build\src\engine>md bootstrap

C:\boost_1_59_0\tools\build\src\engine>cl /nologo /RTC1 /Zi /MTd /Fobootstrap/ /Fdbootstrap/ -DNT -DYYDEBUG -wd4996 kernel32.lib advapi32.lib user32.lib /Febootstrap\jam0 command.c compile.c constants.c debug.c execcmd.c execnt.c filent.c frames.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 pathnt.c pathsys.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 class.c cwd.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 constants.c debug.c execcmd.c execnt.c execnt.c(57) : fatal error C1083: Cannot open include file: 'tlhelp32.h': No such file or directory filent.c frames.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 Generating Code... Compiling... option.c output.c parse.c pathnt.c pathsys.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 class.c cwd.c w32_getreg.c Generating Code... Compiling... native.c set.c path.c regex.c property-set.c sequence.c order.c Generating Code...

C:\boost_1_59_0\tools\build\src\engine>exit /b 2

Change History (2)

comment:1 by aritz@…, 7 years ago

I should probably mention, I am using cygwin.

comment:2 by aritz@…, 7 years ago

I have found the cause of my issue. I installed visual studio a while back to try my hand in developing windows phone apps.
The bat script found out that I had Visual Studio installed and attempted to use that instead of using gcc even though it was located in %PATH%

Note: See TracTickets for help on using tickets.