text: So here is the problem: I’m writing a game engine in c++ and opengl (you can find the source code on github, if you want to try and reproduce the bug). I have two projects: the first one is the Engine project(called “Advent3D”) and the other one is the Game. The Engine project is compiling to a static library that then gets linked in the game project, and the game has a Reference to the Engine project. In the engine project i also have a Engine.h file, that includes every file and feature. (Both my projects are in the solution directory) Because i didn’t want to include files via relative paths like:
  #include "..\..\Advent3D\src\Advent3D.h"
  i went into my game properties panel to set additional include directories to:
  $ (SolutionDir)Advent3D\src
  Which works. if I want I can also include the Engine.h file like this
  #include <Advent3D.h>
  Now the problem comes when i try to do the same thing for my engine project:
  My engine currently depends on GLFW and GLEW. I build these libraries by myself, and used Librarian, to link these two with my Advent3D.lib one. In order to use GLFW and GLEW though, i need to include the correct files:
  GLEW: – glew.h – wglew.h …
  GLFW: – glfw3.h – …
  I specified correctly the paths to the include folder(the files are there, but VS says it can’t find them) I even tried adding the path to Additional include libraries, but it didn’t work either.
  In order to make this work, i need to specify where the files are like this:
  #include "..\..\Libs\include\GL\glew.h"//relative path
  While I would normally include these files like:
  #include <GL\glew.h>
  Thanks for reading, hope you can somehow help!