Recently in OpenGL, used the VS2013, compiled freeglut and glew two libraries, prepare to inside the project contains two library header files, found anyway deny "additional include directories" and "vc + + contains directory", either with relative paths [such as $(SolutionDir)../common/freeglut/include] or an absolute path (such as D:/HelloGL/common/freeglut/include] can't find the header files,
But if the relative path or absolute path in the code, is no problem [such as # include "../../common/freeglut/include/GL/freeglut h "]
And found it's not, not even search for libraries, can only be written in code such as [# pragma comment (lib, "../../common/freeglut/lib/Debug/freeglutd lib ")] such code
CodePudding user response:
The building Lord problem solving have no? I also encountered such a problem!