PDA

View Full Version : problem of compilation with glaux



airseb
02-05-2005, 07:44 AM
Hi !
I have these errors and i don't understand before i didn't have any problems what can i do ?:
compiling...
texture_et_ASE.cpp
d:\vc98\include\gl\glaux.h(17) : warning C4068: unknown pragma
d:\vc98\include\gl\glaux.h(374) : warning C4068: unknown pragma
Linking...
texture_et_ASE.obj : error LNK2001: unresolved external symbol _auxDIBImageLoadA@4
Debug/texture_et_ASE.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

texture_et_ASE.exe - 2 error(s), 2 warning(s)

ZbuffeR
02-05-2005, 11:00 AM
glaux is very old and outdated. Should not use it.
If the source came from NeHe, download a different codebase (sdl or whatever, depends on what you need from glaux).

airseb
02-05-2005, 11:05 AM
i use it to load textures

airseb
02-05-2005, 11:18 AM
you know something else ?

02-05-2005, 11:34 AM
I use SDL_image.

Look for it here:
http://www.libsdl.org/libraries.php

airseb
02-05-2005, 12:49 PM
thanks !

airseb
02-06-2005, 04:47 AM
otherwise somebody can tell me why i have these errors ? and what can i do ?

samv
02-06-2005, 05:40 AM
There is also the NeHe glaux replacement (http://nehe.gamedev.net/counter.asp?file=files/misc/nehe_glaux_replacement.zip) .