Re: fatal error C1083: Cannot open include file



On Jan 15, 1:18 pm, "Igor Tandetnik" <itandet...@xxxxxxxx> wrote:
Sashi <small...@xxxxxxxxx> wrote:
However, the compiler is complaining that it cannot find boost/
regex.hpp
1>i:\tasks\cepacl\sacl.cpp(16) : fatal error C1083: Cannot open
include file: 'regex.hpp': No such file or directory

I know where it is located.

How do I instruct VC++ to find this file?

Project | Properties | C/C++ | General | Additional Include Directories

Or, if you want it for all projects,

Tools | Options | Projects | VC++ Directories

--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925

Setting it from within VC++ didn't work, though it seems as if I've
followed the right steps.
I modified the command line with the /I flag to include $BOOST_ROOT,
which worked.

Thanks, everyone, for your help.
Sashi
.



Relevant Pages