Fatal error C1083 when trying to install
- Dominant language
- C++
- Stars
- 251
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Description
I managed to build boost just fine on my computer using the following command:
`b2.exe --with-iostreams --with-filesystem --with-regex --with-system --with-program_options --build-type=complete -sNO_ZLIB=0 -sZLIB_SOURCE=$(ZLIB_SOURCE) -sZLIB_BINARY=$(ZLIB_SOURCE)\Debug\zlibd.dll -sZLIB_INCLUDE=$(ZLIB_SOURCE)`
However, when i try to do the same on another computer, I get a series of errors similar to this one:
`libs\program_options\src\config_file.cpp(8): fatal error C1083: Cannot open include file: 'boost/program_options/config.hpp': No such file or directory`
I have run bootstrap.bat successfully on both machines. I am 100% sure that both versions of boost are the same, since they are both cloned recursively from this repository. Is there an environment variable that has to be set in order for boost to find its own files, or is the issue somewhere else?
Contributor guide
Research direction
Start by comparing the successful and failing machines, including the recursive checkout, the bootstrap.bat result, and the full b2.exe command. Reproduce the C1083 error and inspect whether boost/program_options/config.hpp exists and which include paths b2 uses. Done means identifying the environment or build difference and documenting a reproducible fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100