2
我正在使用Visual Studio 2013进行OpenGL/C++项目,现在我需要使用GLM library。如何设置GLM的OpenGL/C++项目?
我已经下载了该库,并将其提取到我的项目文件夹中。然后,我设置从项目的性质[addictional目录],但它一直给我:
fatal error LNK1104: cannot open file 'glm.lib'
但没有在网站上的.zip一个glm.lib。这里是我的主要“包括”:
#include <GL\glew.h>
#include <GL\freeglut.h>
#include <iostream>
#include <cstdlib>
#include "imageLoader.h
#include "..\glm-0.3.2\glm\glm.h"