• Advertisement

Archived

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

problem with gl/glaux functions!

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

Hi! I''m using Borland C++ 5.02 and I''ve been doing some Open Gl programming for beginners with the help of the book: Open Gl game programming. Everything has been running quite smooth, until i came to chapter 6 and the auxSolidSphere(1.0) light-example. So, I tried out the example myself.. and BOM! It came, and since then it haven''t left.. " !Error: Unresolved External ''auxSolidSphere'' referenced from C:\BC5\egna\projects\OpenGl\test6\SPHERE.OBJ" Damn it! I''ve tried everything. First I thought that, ok.. well, 5.02 is quite old, so maybe my GLAUX.h isn''t up to date? So I installed the *.h and *lib, files included on the CD. And tried again.. Damn IT! Ohh.. well.. Could you please help me? The error described is the only error I received during compilation. #include <me.h>

Share this post


Link to post
Share on other sites
Advertisement
Make sure you linked to the library you found....Other than that, I wouldn''t get my hopes up, GLAUX is very _shadey_ especially when it comes to Borland C++ 5.02

Share this post


Link to post
Share on other sites

okay..
well.. how do I link it in Borland C++ 5.02?

(excuse me for the very stupid question, I just haven''t ever
linked libraries before)


#include <me.h>

Share this post


Link to post
Share on other sites
I haven''t done it straight for a long time...I believe you just add it to the command-line (e.g. bcc32 -W -eNameOfExe main.cpp something.lib). You can also add #pragma comment(lib, "something.lib") to main.cpp (or whatever you named your file), preferably near the includes.

______________________________

And the Phoenix shall rise from the ashes...

--Thunder_Hawk -- ¦þ
______________________________

Share this post


Link to post
Share on other sites

  • Advertisement