-
-
Notifications
You must be signed in to change notification settings - Fork 374
Windows
If you decide to target C++ on Windows, you will need to have Visual Studio C++ installed. We recommend using Visual Studio C++ Express 2010, which is a free download and has support for Windows XP through current versions of Windows.
You can use "lime setup" to help automate the install:
lime setup windows
Targeting Windows, you can choose either C++ or Neko. Using C++ will be best for performance, and is recommended when making releases as well as performance testing. Neko is valuable because it compiles almost instantly, which is valuable during development, and since it is a virtual machine it can sometimes provide a stack trace where native C++ may hard crash (such as a NULL pointer exception).
Theoretically, Neko could also be used for cross-desktop builds (such as Windows from Mac) but there are some minor issues that would need to be resolved for Neko to find its library dependencies.
Currently all Windows builds are 32-bit, to maximize compatibility. They are targeting Win32, so they will not be compatible with the Windows 8 "modern" interface or Windows RT devices right now.
We use SDL 2 to handle windowing, events and input on Windows, and OpenAL-Soft for audio. Other dependencies include libjpeg, libpng, Freetype and cURL.
We have made strides to support Windows RT, but these targets require DirectX for rendering. We are watching the ANGLE project, for a possible opportunity to run OpenGL on these targets.
You can use "windows" as the target when using "lime" commands:
lime test windows
This will use C++ by default. You can target Neko using the "-neko" flag:
lime test windows -neko