|
opengl超级宝典中的工具函数怎么应用到工程中啊,我初学把光盘中common文件夹拷贝到项目文件夹当中,然后 #include "common/gltools.h"
可是编译的时候提示:
unresolved external symbol "void __cdecl gltApplyCameraTransform(struct GLTFrame *)" (?gltApplyCameraTransform@@YAXPAUGLTFrame@@@Z)
Torus.obj : error LNK2001: unresolved external symbol "void __cdecl gltInitFrame(struct GLTFrame *)" (?gltInitFrame@@YAXPAUGLTFrame@@@Z)
Torus.obj : error LNK2001: unresolved external symbol "void __cdecl gltRotateFrameLocalY(struct GLTFrame *,float)" (?gltRotateFrameLocalY@@YAXPAUGLTFrame@@M@Z)
Torus.obj : error LNK2001: unresolved external symbol "void __cdecl gltMoveFrameForward(struct GLTFrame *,float)" (?gltMoveFrameForward@@YAXPAUGLTFrame@@M@Z)
Release/Torus.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.
谁用过这本书,能指点一下吗? [em20] |
|