返回列表 回复 发帖

[求助] 新人刚刚接触,求助

编译simple test 就可以,然后编译这个从网上找的例子就不行
simpleLite.obj : error LNK2001: unresolved external symbol _argMainLoop
simpleLite.obj : error LNK2001: unresolved external symbol _argInit
simpleLite.obj : error LNK2001: unresolved external symbol _argSwapBuffers
simpleLite.obj : error LNK2001: unresolved external symbol _argDispImage
simpleLite.obj : error LNK2001: unresolved external symbol _argDrawMode2D
simpleLite.obj : error LNK2001: unresolved external symbol _argConvGlpara
simpleLite.obj : error LNK2001: unresolved external symbol _argDraw3dCamera
simpleLite.obj : error LNK2001: unresolved external symbol _argDrawMode3D
simpleLite.obj : error LNK2001: unresolved external symbol _argCleanup
..\..\bin\simpleLited.exe : fatal error LNK1120: 9 unresolved externals
执行 link.exe 时出错.

以为是include的问题
#include <windows.h>
#include <stdio.h>

#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>

#include <AR/ar.h>
#include <AR/param.h>
#include <AR/video.h>
#include <AR/gsub.h>


不过看起来所有的都在这里啊

lib的目录也改过了,没问题
返回列表