Jump to content

  • Log In with Google      Sign In   
  • Create Account

Overloaded

Member Since 21 May 2012
Offline Last Active May 17 2014 03:12 AM

Topics I've Started

Where can I start?

15 July 2012 - 12:48 PM

Hello. I am new to these forums and kinda new to game development. I know the basics of C++ and I want to move on. Some people have told me that I have to pick a graphics library in order to continue, so I picked OpenGL. I have searched for tutorials and I have learned the basics, but the problem is that I am looking for tutorials/books to help me make a basic game. So, do you know any good books or tutorials that can help you make a basic game? If I learn to program a basic game, then what should I do? Do I need to go to a special school or something in order to continue? Or there are more books and tutorials?

Thanks, D4RknEZz

Error In Lesson 1

21 May 2012 - 11:37 AM

Hello. I followed exactly the tutorial and copied the code into my Visual C++ 2010 Express Compiler. But when I run it it gives me the error: "There are some build errors. Would you like to continue and run the last succesful build?"
Check out the Output:

1>------ Build started: Project: OpenGL TutorialTest, Configuration: Debug Win32 ------
1>  Skipping... (no relevant changes detected)
1>  main.cpp
1>testin1.obj : error LNK2019: unresolved external symbol __imp__gluPerspective@32 referenced in function "void __cdecl ReSizeGLScene(int,int)" (?ReSizeGLScene@@YAXHH@Z)
1>testin1.obj : error LNK2019: unresolved external symbol __imp__glLoadIdentity@0 referenced in function "void __cdecl ReSizeGLScene(int,int)" (?ReSizeGLScene@@YAXHH@Z)
1>testin1.obj : error LNK2019: unresolved external symbol __imp__glMatrixMode@4 referenced in function "void __cdecl ReSizeGLScene(int,int)" (?ReSizeGLScene@@YAXHH@Z)
1>testin1.obj : error LNK2019: unresolved external symbol __imp__glViewport@16 referenced in function "void __cdecl ReSizeGLScene(int,int)" (?ReSizeGLScene@@YAXHH@Z)
1>testin1.obj : error LNK2019: unresolved external symbol __imp__glHint@8 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>testin1.obj : error LNK2019: unresolved external symbol __imp__glDepthFunc@4 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>testin1.obj : error LNK2019: unresolved external symbol __imp__glEnable@4 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>testin1.obj : error LNK2019: unresolved external symbol __imp__glClearDepth@8 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>testin1.obj : error LNK2019: unresolved external symbol __imp__glClearColor@16 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>testin1.obj : error LNK2019: unresolved external symbol __imp__glShadeModel@4 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>testin1.obj : error LNK2019: unresolved external symbol __imp__glClear@4 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>testin1.obj : error LNK2019: unresolved external symbol __imp__wglDeleteContext@4 referenced in function "void __cdecl KillGLWindow(void)" (?KillGLWindow@@YAXXZ)
1>testin1.obj : error LNK2019: unresolved external symbol __imp__wglMakeCurrent@8 referenced in function "void __cdecl KillGLWindow(void)" (?KillGLWindow@@YAXXZ)
1>testin1.obj : error LNK2019: unresolved external symbol __imp__wglCreateContext@4 referenced in function "int __cdecl CreateGLWindow(char *,int,int,int,bool)" (?CreateGLWindow@@YAHPADHHH_N@Z)
1>C:\Users\UserNameHere\Documents\Visual Studio 2010\Projects\OpenGL TutorialTest\Debug\OpenGL TutorialTest.exe : fatal error LNK1120: 14 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Any idea how to fix it? I followed some other OpenGL Tutorials in videos, but they worked fine.

PARTNERS