google_me

Members
  • Content count

    9
  • Joined

  • Last visited

Community Reputation

100 Neutral

About google_me

  • Rank
    Newbie
  1. C:1083

    I was also wondering the same thing, y the files are not being listed in the project. Now this time i added new item(class), but i m getting error that i fail to understand. :( Build Log Build started: Project: 1st program, Configuration: Debug|Win32 Command Lines Creating temporary file "c:\Users\hii\Documents\Visual Studio 2008\Projects\1st program\1st program\Debug\RSP00001153685964.rsp" with contents [ /Od /I "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Yu"stdafx.h" /Fp"Debug\1st program.pch" /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /ZI /TP ".\CGfxOpenGL.cpp" ".\1st program.cpp" ] Creating command line "cl.exe @"c:\Users\hii\Documents\Visual Studio 2008\Projects\1st program\1st program\Debug\RSP00001153685964.rsp" /nologo /errorReport:prompt" Output Window Compiling... 1st program.cpp c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\1st program.cpp(5) : warning C4627: '#include ': skipped when looking for precompiled header use Add directive to 'stdafx.h' or rebuild precompiled header c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\1st program.cpp(6) : warning C4627: '#include ': skipped when looking for precompiled header use Add directive to 'stdafx.h' or rebuild precompiled header c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\1st program.cpp(8) : warning C4627: '#include "CGfxOpenGL.h"': skipped when looking for precompiled header use Add directive to 'stdafx.h' or rebuild precompiled header c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\1st program.cpp(258) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? CGfxOpenGL.cpp c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(4) : warning C4627: '#include ': skipped when looking for precompiled header use Add directive to 'stdafx.h' or rebuild precompiled header c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(5) : warning C4627: '#include ': skipped when looking for precompiled header use Add directive to 'stdafx.h' or rebuild precompiled header c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(6) : warning C4627: '#include ': skipped when looking for precompiled header use Add directive to 'stdafx.h' or rebuild precompiled header c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(24) : error C3861: 'glClearColor': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(43) : error C3861: 'glViewport': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(44) : error C2065: 'GL_PROJECTION' : undeclared identifier c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(44) : error C3861: 'glMatrixMode': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(45) : error C3861: 'glLoadIdentity': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(48) : error C2065: 'GLfloat' : undeclared identifier c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(48) : error C2146: syntax error : missing ')' before identifier 'width' c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(48) : error C2059: syntax error : ')' c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(50) : error C2065: 'GL_MODELVIEW' : undeclared identifier c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(48) : error C3861: 'gluPerspective': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(50) : error C3861: 'glMatrixMode': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(51) : error C3861: 'glLoadIdentity': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(65) : error C2065: 'GL_COLOR_BUFFER_BIT' : undeclared identifier c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(65) : error C2065: 'GL_DEPTH_BUFFER_BIT' : undeclared identifier c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(65) : error C3861: 'glClear': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(66) : error C3861: 'glLoadIdentity': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(69) : error C3861: 'glTranslatef': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(70) : error C3861: 'glRotatef': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(71) : error C3861: 'glRotatef': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(72) : error C3861: 'glRotatef': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(75) : error C3861: 'glColor3f': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(78) : error C2065: 'GL_TRIANGLES' : undeclared identifier c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(78) : error C3861: 'glBegin': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(79) : error C3861: 'glVertex3f': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(80) : error C3861: 'glVertex3f': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(81) : error C3861: 'glVertex3f': identifier not found c:\users\hii\documents\visual studio 2008\projects\1st program\1st program\cgfxopengl.cpp(82) : error C3861: 'glEnd': identifier not found Generating Code... Results Build log was saved at "file://c:\Users\hii\Documents\Visual Studio 2008\Projects\1st program\1st program\Debug\BuildLog.htm" 1st program - 28 error(s), 6 warning(s)
  2. C:1083

    ya, Project consist of CGfxOpenGL.cpp, trial.cpp, CGfxOpenGL.h.
  3. C:1083

    I think i solved that header file error but now i m getting these errors - [SOURCE] 1>------ Build started: Project: trial, Configuration: Debug Win32 ------ 1>Linking... 1>trial.obj : error LNK2019: unresolved external symbol "public: void __thiscall CGfxOpenGL::SetupProjection(int,int)" (?SetupProjection@CGfxOpenGL@@QAEXHH@Z) referenced in function "long __stdcall MainWindowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MainWindowProc@@YGJPAUHWND__@@IIJ@Z) 1>trial.obj : error LNK2019: unresolved external symbol __imp__wglDeleteContext@4 referenced in function "long __stdcall MainWindowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MainWindowProc@@YGJPAUHWND__@@IIJ@Z) 1>trial.obj : error LNK2019: unresolved external symbol __imp__wglMakeCurrent@8 referenced in function "long __stdcall MainWindowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MainWindowProc@@YGJPAUHWND__@@IIJ@Z) 1>trial.obj : error LNK2019: unresolved external symbol __imp__wglCreateContext@4 referenced in function "long __stdcall MainWindowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MainWindowProc@@YGJPAUHWND__@@IIJ@Z) 1>trial.obj : error LNK2019: unresolved external symbol "public: void __thiscall CGfxOpenGL::Render(void)" (?Render@CGfxOpenGL@@QAEXXZ) referenced in function _WinMain@16 1>trial.obj : error LNK2019: unresolved external symbol "public: void __thiscall CGfxOpenGL::Prepare(float)" (?Prepare@CGfxOpenGL@@QAEXM@Z) referenced in function _WinMain@16 1>trial.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CGfxOpenGL::Init(void)" (?Init@CGfxOpenGL@@QAE_NXZ) referenced in function _WinMain@16 1>trial.obj : error LNK2019: unresolved external symbol "public: __thiscall CGfxOpenGL::CGfxOpenGL(void)" (??0CGfxOpenGL@@QAE@XZ) referenced in function _WinMain@16 1>C:\Users\hii\Documents\Visual Studio 2008\Projects\trial\Debug\trial.exe : fatal error LNK1120: 8 unresolved externals 1>Build log was saved at "file://c:\Users\hii\Documents\Visual Studio 2008\Projects\trial\trial\Debug\BuildLog.htm" 1>trial - 9 error(s), 0 warning(s) [/SOURCE] [Edited by - google_me on February 23, 2010 12:43:53 PM]
  4. C:1083

    Hello guys, I am learning OpenGL thru a book.It has a source code which works fine as it is. Recently i copied and pasted the same code to another new project, which is not working(I just wanted to mention that i have also written the same code myself, which is also not working with 9 errors :( ) I checked the path. Path has" /include" so it is right. This is the error- fatal error C1083: Cannot open include file: 'CGfxOpenGL.h': No such file or directory I created project "VC++ -> CLR application" is it the right way to do it? Its a "beginning opengl game programming" book.2nd chapter program "simple"
  5. where else would i be able to work?

    I also want to know top 5 game design schools in US. Is joining a game design school in UK is as good as in US? I looked for requirement in USC as well. I dun have a 4 year degree.. ihave 3 year :( .
  6. where else would i be able to work?

    hmmmmm.... thanks for replyin. That helped. [Edited by - google_me on February 10, 2010 12:21:08 PM]
  7. hi, I recently graduated in 2009 with bachelors of computer application degree.Now i have decided to do my masters in game development.Is it true that many people leave the game industry after some years or so?Where else would i be able to work with the masters in game programming? incase i want to leave game industry. Thx :)
  8. Game Programing Books.

    @symphOny I am like at the same level as u are.I already knew the basics of c, c++, which i studied in school for many year.Now, I m learning OpenGL coz its multiplatform. I am using these books- "Beginning OpenGL game Programming" and "OpenGL Programming guide also called "THE RED BOOK"- this one has a lot of theory written in a very easy to understand language, which u will need for sure as a reference. [Edited by - google_me on February 9, 2010 5:56:23 AM]