• Content count

  • Joined

  • Last visited

Community Reputation

100 Neutral

About sudheer

  • Rank
  1. NeHe Prod Lesson6

    Dear Sir, I am a beginner in the openGL. I am learning through NeHe openGL productions. I have copied the code of lesson 6 to the Microsoft Visual Studio. After Building the program i am getting the following error: 1>------ Build started: Project: myprj6, Configuration: Debug Win32 ------ 1>Compiling... 1>lesson6.cpp 1>c:\documents and settings\student\my documents\visual studio 2008\projects\myprj6\myprj6\lesson6.cpp(41) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen' 1>Linking... 1>lesson6.obj : error LNK2019: unresolved external symbol _auxDIBImageLoadA@4 referenced in function "struct _AUX_RGBImageRec * __cdecl LoadBMP(char *)" (?LoadBMP@@YAPAU_AUX_RGBImageRec@@PAD@Z) 1>C:\Documents and Settings\student\My Documents\Visual Studio 2008\Projects\myprj6\Debug\myprj6.exe : fatal error LNK1120: 1 unresolved externals 1>Build log was saved at "file://c:\Documents and Settings\student\My Documents\Visual Studio 2008\Projects\myprj6\myprj6\Debug\BuildLog.htm" 1>myprj6 - 2 error(s), 1 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== I also would like to know where i should copy the Data (Which contains the BMP image) folder given in the lesson6. I tried by copying the folder in C:\Documents and Settings\student\My Documents\Visual Studio 2008\Projects\myprj6. But could not succeed. Could you please clarify my doubt. Thanking you Sudhir
  2. Dear Sir, I am learning about using bitmap as texture in openGL. When i typed the Lesson :06 present at the link [url=""]http://nehe.gamedev....n.asp?lesson=06[/url], i got the following error. [size="1"]1>c:\documents and settings\student\my documents\visual studio 2008\projects\exprj\exprj\prg1.cpp(24) : error C2143: syntax error : missing ';' before '*' 1>c:\documents and settings\student\my documents\visual studio 2008\projects\exprj\exprj\prg1.cpp(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\documents and settings\student\my documents\visual studio 2008\projects\exprj\exprj\prg1.cpp(34) : error C3861: 'auxDIBImageLoad': identifier not found Could any kindly help me. I just want to learn how to load and convert Bitmap image to textures and use in openGL. If any one has the complete code ,can they send me please. Thanking you Sudheer [/size]