Header Files Cross Project
Posted
by
Mike
on Stack Overflow
See other posts from Stack Overflow
or by Mike
Published on 2012-11-12T04:55:34Z
Indexed on
2012/11/12
4:59 UTC
Read the original article
Hit count: 127
So I have two projects, A and B, where B is dependent on A (A is a library, while B is a console application). A uses the boost library, and has been configured to include the header and library files, but B has not.
Visual studio throws an error saying the Boost Header files cannot be found (in project B). For example:
error C1083: Cannot open include file: 'boost/asio.hpp': No Such file or directory [Project: B]
My question is: Is there a way such that B does not have to include the Boost library as well?
© Stack Overflow or respective owner