|
|
编译的错误提示
error LNK2001: unresolved external symbol "public: bool __thiscall MyShapes2Objects: oadTextures(char *,unsigned int &)" (?LoadTextures@MyShapes2Objects@@QAE_NPADAAI@Z)
Debug/Shapes2Objects.exe : fatal error LNK1120: 1 unresolved externals
我把构造函数中的LoadTextures屏蔽,编译可以通过,但是贴图用不了
my_quadric = gluNewQuadric();
//LoadTextures("aa.BMP",g_textures[0]);
//LoadTextures("bb.BMP",g_textures[1]);
请看一下怎么才能解决?
谢谢!
[em5] |
|