Jump to content
  • Advertisement
Sign in to follow this  
The_Nerd

OpenGL Sooo close with my project!!! HELP PLEASE!!!

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

Ok, I am trying to port my OpenGL program from Linux to Windows. I am using SDL as a base library. Now I ALMOST have it, the only problem is that it wont run... I am trying to dynamically load glActiveTextureARB and glMultiTexCoord2fARB out of opengl32.dll at run time with GetProcAddress(DLL, "glActiveTextureARB"); or GetProcAddress(DLL, "glMultiTexCoord2fARB");. And yes, I have verified that the library opens fine. But that fails. When I try to just use glActiveTextureARB in my code it wont link with an "Error: unresolved external glActiveTextureARB". My program works fine on Linux. To compile it I am using: http://lab.msdn.microsoft.com/express/visualc/default.aspx Visual C++ 2005 Express Beta Please help me! I don't mind if I have to dynamically link, although I would prefer to do static. Thanks VERY much in advance for anyone who helps. (I am going out of my mind after trying to make this compile all day... and finally sooo close.... RRRRR!) Also, one more note. I had to download a package installer for the OpenGL libs because microsoft didn't want to install them... nice eh'?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Quote:
Also, one more note. I had to download a package installer for the OpenGL libs because microsoft didn't want to install them... nice eh'?

You really should stop using Windows and stick with Linux, since it's way over your head.

Share this post


Link to post
Share on other sites
I copied the function protocalls from glext.h to make my function pointers.

Thanks, I will try out GLee.

I also heard a rumor that the compiler I am using wont compile correctly or something like that... ?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!