Archived

This topic is now archived and is closed to further replies.

texture problem

This topic is 5917 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

im using Dev C++ with opengl and i got this weird problem this line does not seem to work( 85 untitled1.cpp implicit declaration of function `int free(...)'') this is the problem line: free(TextureImage[0]->data); // Free The Texture Image Memory whats wrong? "Those who serve no purpose, have no purpose"

Share this post


Link to post
Share on other sites
I think you have a syntax error.


I came, I saw, I got programmers block.
~V''''lion

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Include the stdlib.h header file.

Share this post


Link to post
Share on other sites
wow thx alot guys
how come the Nehe tuts dont say to include that?

"Those who serve no purpose, have no purpose"

Share this post


Link to post
Share on other sites
Don''t know why it''s not in the NeHe tuts. You''ll see that in the ports of the NeHe tutorials to other compilers/OS''es, stdlib.h IS included. On a side note, free is also defined in malloc.h.

Dirk =[Scarab]= Gerrits

Share this post


Link to post
Share on other sites
now i got another problem

it seems glaux.dll is missing

where do i get it?

"Those who serve no purpose, have no purpose"

Share this post


Link to post
Share on other sites
do i just skip to that tut or do i read until i get to that one?

"Those who serve no purpose, have no purpose"

Share this post


Link to post
Share on other sites
decent programming exp....i hope i have that

thx again man, if only everyone was as helpful as u

"Those who serve no purpose, have no purpose"

Share this post


Link to post
Share on other sites