Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


8Observer8

Member Since 08 Nov 2013
Offline Last Active Sep 05 2014 08:46 PM

Topics I've Started

First example in OpenGL

07 August 2014 - 01:11 AM

Hi,

 

Sorry for my English in advance :)

 

I am new in OpenGL. I started from the book SuperBible, 6th

 

I downloaded the examples from the website: http://www.openglsuperbible.com/

I opened "solution" of the examples in Visual 2010 Express Edition. I ran "alienrain" example but it failed here:

 

            if (!glfwOpenWindow(info.windowWidth, info.windowHeight, 8, 8, 8, 0, 32, 0, GLFW_WINDOW))
            {
                fprintf(stderr, "Failed to open window\n");
                return;
            }

 

Why is "glfwOpenWindow" failed?


Lesson_06. error LNK2019: unresolved external symbol _auxDIBImageLoadA@4

08 November 2013 - 12:25 PM

Hi,

 

I use Visual C++ 2010 EE and receive this output:

 

Warning 1 warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification C:\Users\Ivan\Documents\Visual Studio 2010\Projects\NeHe\en_NeHe_Lesson_01\Lesson_06\main.obj
 
Error 2 error LNK2019: unresolved external symbol _auxDIBImageLoadA@4 referenced in function "struct _AUX_RGBImageRec * __cdecl LoadBMP(char *)" (?LoadBMP@@YAPAU_AUX_RGBImageRec@@PAD@Z) C:\Users\Ivan\Documents\Visual Studio 2010\Projects\NeHe\en_NeHe_Lesson_01\Lesson_06\main.obj
 

Error 3 error LNK1120: 1 unresolved externals C:\Users\Ivan\Documents\Visual Studio 2010\Projects\NeHe\en_NeHe_Lesson_01\Debug\Lesson_06.exe 1

 
Thank you.

PARTNERS