mnanbfnn

Member
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

100 Neutral

About mnanbfnn

  • Rank
    Newbie
  1. Could Not Debug Lesson 5

    [size="2"]Thanks for the reply. I have changed the Character Set. This time there were no errors when compiling. But when I tried to build the solution, it detects 21 errors regarding unresolved external symbol. Here are the errors: [/size][size="2"]1>try.obj : error LNK2019: unresolved external symbol _gluPerspective@32 referenced in function "void __cdecl ReSizeGLScene(int,int)" (?ReSizeGLScene@@YAXHH@Z)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glLoadIdentity@0 referenced in function "void __cdecl ReSizeGLScene(int,int)" (?ReSizeGLScene@@YAXHH@Z)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glMatrixMode@4 referenced in function "void __cdecl ReSizeGLScene(int,int)" (?ReSizeGLScene@@YAXHH@Z)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glViewport@16 referenced in function "void __cdecl ReSizeGLScene(int,int)" (?ReSizeGLScene@@YAXHH@Z)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glHint@8 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glDepthFunc@4 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glEnable@4 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glClearDepth@8 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glClearColor@16 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glShadeModel@4 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glEnd@0 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glVertex3f@12 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glColor3f@12 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glBegin@4 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glRotatef@16 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glTranslatef@12 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__glClear@4 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__wglDeleteContext@4 referenced in function "void __cdecl KillGLWindow(void)" (?KillGLWindow@@YAXXZ)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__wglMakeCurrent@8 referenced in function "void __cdecl KillGLWindow(void)" (?KillGLWindow@@YAXXZ)[/size] [size="2"]1>try.obj : error LNK2019: unresolved external symbol __imp__wglCreateContext@4 referenced in function "int __cdecl CreateGLWindow(char *,int,int,int,bool)" (?CreateGLWindow@@YAHPADHHH_N@Z)[/size][size="1"][size="1"][size="2"] [/size][/size][/size]
  2. Could Not Debug Lesson 5

    [size="2"]I cannot debug the OpenGL Tutorial Lesson 5 when I copy the coding into a new project file. This is the error message that I had encountered: [/size][size="2"]1>c:\users\user\documents\visual studio 2008\projects\3d object\3d object\3d object.cpp([size="1"][size="2"]118[/size][/size]) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [29]' to 'LPCWSTR' I am using Microsoft Visual C++ 2008.[/size]