C:\Users\User\Source>cl /nologo /RTC1 /Zi /MTd /Fobootstrap/ /Fdbootstrap/ -DNT -DYYDEBUG -wd4996 kernel32.lib advapi32.lib user32.lib /Febootstrap\yyacc0 yyacc.c yyacc.c c1: fatal error C1083: Cannot open source file: 'yyacc.c': No such file or directory |
********************************************************************** ** Visual Studio 2017 Developer Command Prompt v15.0.26730.10 ** Copyright (c) 2017 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x86' ### ### Using 'vc141' toolset. ### C:\Users\\User\Source>if exist bootstrap rd /S /Q bootstrap C:\Users\\User\Source>md bootstrap C:\Users\User\Source>cl /nologo /RTC1 /Zi /MTd /Fobootstrap/ /Fdbootstrap/ -DNT -DYYDEBUG -wd4996 kernel32.lib advapi32.lib user32.lib /Febootstrap\yyacc0 yyacc.c yyacc.c c1: fatal error C1083: Cannot open source file: 'yyacc.c': No such file or directory |
BurningEnlightenment wrote: |
---|
I can reproduce this failure with powershell and a "plain" cmd, but using the native tools command prompt does work for me, so I'm wondering whether it works for you, too. Maybe this is intentional and just poorly documented |
3 - Header-Only Libraries The first thing many people want to know is, “how do I build Boost?” The good news is that often, there's nothing to build. Nothing to Build? Most Boost libraries are header-only: they consist entirely of header files containing templates and inline functions, and require no separately-compiled library binaries or special treatment when linking. |