阅读背景:

使用CGL/NSOpenGL而不使用XCode的OSX上带有OpenGL的c++代码?

来源:互联网 

I want to use CGL or NSOpenGL to create an OpenGL window without using XCode (compile with command line gcc). I am developing something that is cross platform, and I'd like to keep the code divergence to a minimum if I can! My codebase is fully C++ at the moment. Is this at all possible? I am new to OSX and I haven't touched objective C. I looked through the developer docs and grabbed some example files. They are all using xcode. I successfully compiled the source and linked with the right framework, but the whole app bundle, xib, and info.plist thing seems a bit over the top.I want to use CGL or NSOpenGL to create an Open




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: