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

来源:互联网 发布:淘宝司法拍卖怎么样 编辑:程序博客网 时间:2024/04/30 12:11

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


0 0
原创粉丝点击