I have project 1 with dependencies on Boost and GLM. For Boost and GLM, I specified "Additional Include Directories" to link to C ++ files for each. Project 1 is created as a static library project. When I build Project 1, everything builds perfectly. Project 2 references Project 1 through the link manager, but when I create Project 2, I get
fatal error C1083: Cannot open include file: 'boost/something/etc.
for files in a project 1. Why do I need errors in Project 1 when creating Project 2? Project 1 also uses the regex library in Boost, which must be built into .lib before use. How can I create a Project 1 static library with a built-in Boost regular expression library and GLM files in it? FYI, Project 2 is a test project for project 1. I want something like this:
(Boost regex lib + GLM includes) -> Project 1 ==> Project_1.lib
(Boost unit test lib + Project_1.lib) -> Project 2 ==> Project_2.exe
--> stands for dependencies / links and ==> stands for output.
Is it possible? I got more compilation errors and linker errors than I can count when I spin my wheels on it.
source share