Jump to content
  • Advertisement

Archived

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

Fab102

Can`t compile NeHe`s Lesson 6 with Dev-C++

This topic is 6038 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

Hello I can`t compile the sourcecode from NeHe Tutorial (Lesson 6) with my Dev-C++ Compiler (Ver. 4) There is one error message. implicit declaration of function free `int free(...)` at line 78 free (TextureImage[0]->data); What is wrong in this function. I didn`t change the code, I only define the CDS_FULLSCREEN to 4 at the begining. But the rest is orginal NeHe code. (The Lib I included are : -lglu32 -lopengl32 -lgdi32 Can somebody help me ?? Thanx

Share this post


Link to post
Share on other sites
Advertisement
Hello once again

I found the reason for this problem. I have to include the stdlib.h for the free function with dev-c++. This problem is solved. But the code doesn`t work, the compiler and linker output is = undefined reference to `auxDIBImageLoadA@4''
What is wrong with that ?????

Share this post


Link to post
Share on other sites
O.k .. O.k .. I forgot the glaux Lib''s that`s true.
I downloaded the glaux.lib and put it in the windows system directory. Now , I can compile the sourcecode without an error message. If I start the exe file, there is the Fullscreen question box, few seconds after, the 3dfx logo is on my screen, so far so good. But then I get a box with Initalization failed.
Jeeessssusss.... is OpenGL texture programming sooo complicated with dev-c++ ?? (what is the solution ? )
Thanx folks for this lesson

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!