Jump to content
  • entries
    945
  • comments
    5,899
  • views
    930,188

Lua Interpreter on OSX


Josh

3,167 views

 Share

I've got the editor and Lua interpreter communicating on OSX, but am having trouble creating a window...some weird Objective C problem. I've got to go get my local Xcode expert.

blogentry-1-0-01307700-1350082085_thumb.png

 Share

4 Comments


Recommended Comments

I have to have control over newer OpenGL versions, pixel formats, antialiasing, and the ability to manage OpenGL contexts in GUI applications, on Windows and Mac. Last time I looked into those third-party libraries they were always missing something.

 

Anyways, I've got it working now. Just the complexities of Cocoa/Objective C. My guess is GLFW uses Carbon, which is pure C based, but unfortunately may be removed when any new big cat comes out, and doesn't work with Cocoa apps.

Link to comment

GLFW has both Cocoa and Carbon source code (7 files for each), and it supports OpenGL 3.2 contexts on OS X Lion. But if you got it working, then you probably don't need it anymore. Since the source code of GLFW is so tiny, you might find some useful code chunks in it though, just for reference.

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...