Jump to content
  • Advertisement
Sign in to follow this  
Deliverance

OpenGL Setting Opengl & GLFW on my new mac!

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

My new MacBook Standard has arrived along with a free ipod touch with 16 gb memory! Wooot! :D I'm very excited and i'm trying to build an opengl application using glfw and XCode. I compiled glfw and created a new project in Xcode. The problem is that i receive link errors regarding some functions in glfw. Here's how the project is set up: link1 link2

Share this post


Link to post
Share on other sites
Advertisement
I don't have an answer, but if you don't get your problem solved here, try posting over at idevgames.com (be sure to include the image links). There are several posters there who know Xcode inside and out, and will probably be able to help you.

Share this post


Link to post
Share on other sites
You see the warning in picture 2? That means however you compiled glfw you didn't do it for the correct target. I don't have a mac so I'm not sure exactly how to do it right there, but to give you a better idea of what's going on:

On a Windows or Linux platform you can, for example, build for msvc8 or msvc9 or cygwin or gcc3 or gcc4 etc... maybe you just built for the wrong whatever-runtime-type-xcode-compiles-to version?

Good luck.

Share this post


Link to post
Share on other sites
I figured it out what the problem was. That warning i was getting kind of said some important stuff. I recompiled glfw with the other makefile that came with it namely: Makefile.macosx.gcc.universal.
Now it works! Wohoo!

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.

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!