Opened 5 years ago
Last modified 5 years ago
#13390 new Bugs
Bootstrapping Boost 1.66 fails on Windows 10 using wingw gcc
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | Component: | build | |
Version: | Boost 1.66.0 | Severity: | Showstopper |
Keywords: | bootstrap.bat | Cc: | hepler@… |
Description
I'm attempting to bootstrap boost 1.66 on a Windows 10 machine so I can use it with Code::Blocks and wxWidgets
It fails when running ./bootstrap.bat gcc
It appears to be failing to find two functions: UnregisterWait and RegisterWaitForSingleObject
Please see the attached images for error message and generated log
Change History (3)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Component: | Building Boost → build |
---|---|
Owner: | set to |
Note:
See TracTickets
for help on using tickets.
Screen images were too big... Here is the text:
PS C:\Boost\boost_1_66_0> gcc --version
gcc.exe (tdm-1) 5.1.0 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
PS C:\Boost\boost_1_66_0> ./bootstrap.bat gcc
Building Boost.Build engine execnt.c: In function 'try_wait_callback': execnt.c:833:5: warning: implicit declaration of function 'UnregisterWait' [-Wimplicit-function-declaration]
execnt.c: In function 'register_wait': execnt.c:853:9: warning: implicit declaration of function 'RegisterWaitForSingleObject' [-Wimplicit-function-declaration]
C:\Users\hepler\AppData\Local\Temp\cctWuzmW.o:execnt.c:(.text+0x1243): undefined reference to `UnregisterWait' C:\Users\hepler\AppData\Local\Temp\cctWuzmW.o:execnt.c:(.text+0x130b): undefined reference to `RegisterWaitForSingleObject' collect2.exe: error: ld returned 1 exit status
Failed to build Boost.Build engine. Please consult bootstrap.log for further diagnostics.
Please attach bootstrap.log in that case.
PS C:\Boost\boost_1_66_0> more bootstrap.log
### ### Using 'gcc' toolset. ###
C:\Boost\boost_1_66_0\tools\build\src\engine>if exist bootstrap rd /S /Q bootstrap
C:\Boost\boost_1_66_0\tools\build\src\engine>md bootstrap
C:\Boost\boost_1_66_0\tools\build\src\engine>gcc -DNT -o bootstrap\jam0.exe 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
C:\Boost\boost_1_66_0\tools\build\src\engine>exit /b 1
PS C:\Boost\boost_1_66_0>