Can I program for Macs without owning one?

后端 未结 3 1985
悲哀的现实
悲哀的现实 2020-12-19 12:51

I\'m programming a game using C++ and OpenGL/SDL, using Visual Studio as my IDE. I don\'t own a Mac, nor am I even vaguely familiar with the platform. But I want to releas

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-19 13:35

    One option is to use Java. If you combine that with the eclipse RCP SWT widgets, you can target Win/Linux/OSX with a native LAF. You'd probably want to use eclipse as your IDE.

    If you really must use c++, you could aim at wxWidgets or some other cross-platform widget set, but compiling is really going to require a copy of all of the OSX libraries and a compiler set that knows how to target the platform/linking.

    I'd really recommend the Java route if you don't want to own any sort of Apple hardware...much less painful. Beside, with the plethora of JVM supported languages, you don't even have to write in Java...try Scala!

提交回复
热议问题