Jump to content

  • Log In with Google      Sign In   
  • Create Account


texture problem


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
14 replies to this topic

#1 SonShadowCat   Members   -  Reputation: 122

Like
Likes
Like

Posted 03 November 2001 - 01:50 PM

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"

Sponsor:

#2 Vlion   Members   -  Reputation: 151

Like
Likes
Like

Posted 03 November 2001 - 04:16 PM

I think you have a syntax error.


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

#3 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 03 November 2001 - 06:06 PM

Include the stdlib.h header file.

#4 SonShadowCat   Members   -  Reputation: 122

Like
Likes
Like

Posted 04 November 2001 - 03:45 AM

wow thx alot guys
how come the Nehe tuts dont say to include that?

"Those who serve no purpose, have no purpose"

#5 Scarab0   Members   -  Reputation: 122

Like
Likes
Like

Posted 04 November 2001 - 06:57 AM

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

#6 SonShadowCat   Members   -  Reputation: 122

Like
Likes
Like

Posted 04 November 2001 - 12:58 PM

now i got another problem

it seems glaux.dll is missing

where do i get it?

"Those who serve no purpose, have no purpose"

#7 Null and Void   Moderators   -  Reputation: 1087

Like
Likes
Like

Posted 04 November 2001 - 01:11 PM

There is no glaux.dll. There is a glaux.lib. Glaux sucks anyway, skip to his TGA loading tutorial.

[Resist Windows XP''s Invasive Production Activation Technology!]

#8 SonShadowCat   Members   -  Reputation: 122

Like
Likes
Like

Posted 04 November 2001 - 01:51 PM

u sure????????

i dont want to miss out on a good learning exp

"Those who serve no purpose, have no purpose"

#9 Null and Void   Moderators   -  Reputation: 1087

Like
Likes
Like

Posted 04 November 2001 - 01:52 PM

Glaux hides all of the texture loading code, the TGA tutorial teaches you texture loading a whole lot better (or, at least, it did for me).

[Resist Windows XP''s Invasive Production Activation Technology!]

#10 SonShadowCat   Members   -  Reputation: 122

Like
Likes
Like

Posted 04 November 2001 - 01:56 PM

uhh which tut # are u talking about?

"Those who serve no purpose, have no purpose"

#11 Null and Void   Moderators   -  Reputation: 1087

Like
Likes
Like

Posted 04 November 2001 - 02:07 PM

Tutorial #25. His sight really has changed since last time I went there, heh.

[Resist Windows XP''s Invasive Production Activation Technology!]

#12 SonShadowCat   Members   -  Reputation: 122

Like
Likes
Like

Posted 05 November 2001 - 01:46 PM

thx dude

"Those who serve no purpose, have no purpose"

#13 SonShadowCat   Members   -  Reputation: 122

Like
Likes
Like

Posted 05 November 2001 - 01:50 PM

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"

#14 Null and Void   Moderators   -  Reputation: 1087

Like
Likes
Like

Posted 05 November 2001 - 01:51 PM

Just skip to it, and scan the text for the TGA loading function. OpenGL is easier than you think if you have decent programming experience, most of the code is almost self explanatory.

[Resist Windows XP''s Invasive Production Activation Technology!]

#15 SonShadowCat   Members   -  Reputation: 122

Like
Likes
Like

Posted 06 November 2001 - 01:48 AM

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"




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS