I succeeded in solving the problem. to add the GLM library to the include path, I did the following steps:
- Extracted the glm code directory to my project directory (the name of the directory in the archaive downloaded from the internet is glm-0.9.4.4).
for example if the project is in
C:\projects\myProject
then extracted the glm code to this path (C:\projects\myProject
). - Than I added the full path
C:\projects\myProject\glm-0.9.4.4
of the glm directory to:=> right click on project in the solution viewer => from the drop down menu choose properties => C\C++ => General => Additional Include Directories.
- Add
C:\projects\myProject\glm-0.9.4.4
in the edit box of Additional Include Directories.
Another option if you don't want to use full path for the glm library (or any other library you want to include in you project in general), is to use the path .\glm-0.9.4.4
instead of the full path (this will work only if you extracted the glm library to the project directory!)