Dev-C++ and Tut 6
Does anyone mind translating for Me. When trying to compile the code in Tut 6, the compiler reads an error:
implicit declaration of function `int free(...)''
if (TextureImage[0])
{
if (TextureImage[0]->data)
{
free(TextureImage[0]->data); }
free(TextureImage[0]);
}
Can anyone explain why the compilerer doesn''t understand the keyword "free"?
The function free isn''t a keyword. Its prototype is in stdlib.h, incase it isn''t included automatically.
[Resist Windows XP''s Invasive Production Activation Technology!]
[Resist Windows XP''s Invasive Production Activation Technology!]
Thanx, N&V, however, once I compiled the code an error message says that i need the library (DLL) for glaux. I''ve searched 4 it, unfortunately, there is no result. Do U know where I can get a copy?
Glaux is evil
. AFAIK there''s no version for DevC++. Skip to NeHe''s TGA loading tutorial, it''ll get the job done
.
[Resist Windows XP''s Invasive Production Activation Technology!]


[Resist Windows XP''s Invasive Production Activation Technology!]
ThanX, again. The code from Lesson25(TGA) compiles & Links fine, BUT, when I execute it, the message box appears "Initialization failed". Do U know what it could B?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement