I download boost 1.55, extract it and run the following:
> bootstrap.bat cl : Command line warning D9035 : option 'GZ' has been deprecated and will be removed in a future release cl : Command line warning D9036 : use 'RTC1' instead of 'GZ' cl : Command line warning D9002 : ignoring unknown option '/MLd' Bootstrapping is done. To build, run: ... > b2 --build-type=complete --build-dir=build --toolset=msvc-14.0 stage
However, I get the following error:
error: msvc initialization: parameter 'version' inconsistent error: no value was specified in earlier initialization error: an explicit value is specified now
Following the same steps with MSVC 2012, I did not receive this error.
If I do --toolset=msvc instead, then it will work. However, the generated files have -vc instead of -vc140 , which I would like.
How can I explicitly specify a toolbox? Where was this indicated in earlier initialization?
(The reason I want to do this, I get a strange linker error later - saying that she is looking for some boost -vc120 library ... and I have no idea why. I'm trying to eliminate all the possibilities.)
source share