Jump to content
  • Advertisement

Archived

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

Avi

OS X Question...

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

I need to program on OS X but I do not want to get stuck inside of OS X only frameworks, so I can move my code into any platform... should I be using freeglut inside of cocoa but use freeglut to get access to the keyboard & mouse, etc & just use cocoa for init my "windows" ?

Share this post


Link to post
Share on other sites
Advertisement
and BTW if you ever need cross platform GUI stuff, try www.fltk.org - it''s got a native macosX version and works great in win and linux too. Integrates very nicel with opengl. It''s not too hot in macos <9 i think wxwindows is ok for that though.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
SDL on Mac OS X is broken if you want to resize your window.
you''ll lose the context and all textures, display lists, etc.

Share this post


Link to post
Share on other sites
SDL is probably the best choice, though Glut will work just fine... if you can live with all its failings.

Be warned that OS X's gcc compiler is much stricter than MSVC, I often end up re-writing large portions windows code to comply with the higher standards.

On a similar topic: for some reason, on OS X you can only compile SDL Apps in Project Builder, other compilers just don't seem to cope.

AP: That is a bug in your code, works just fine for me.

-------------------------------------------
Here's to the crazy ones, the misfits, the rebels, the troublemakers, the round pegs in the square holes, the ones who see things differently.
-------------------------------------------

[edited by - swiftcoder on September 25, 2003 12:53:34 PM]

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!