您的位置:首页 > 其它

Dominik Göddeke -- GPGPU::Basic Math Tutorial

2016-11-03 18:43 183 查看
http://www.mathematik.uni-dortmund.de/~goeddeke/gpgpu/tutorial.html

用VS2013进行opengl 编程时,出现link错误,error LNK2019: 无法解析的外部符号 __imp____glutInitWithExit@12,该符号在函数

解决方法:

项目 -->选择属性 C\C++-->preprocessor-->preprocessor definition添加GLUT_BUILDING_LIB,中间用分号隔开,
然后点击linker-- >input--> additional dependencies添加glut32.lib Opengl32.lib Glu32.lib
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: