This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:orx:tutorials:setup [2009/10/10 20:08 (15 years ago)] – grey | en:orx:tutorials:setup_msvs [2011/01/16 07:25 (13 years ago)] (current) – removed grey | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Setup ==== | ||
- | [//This is ripped from the README and edited slightly for (hopefully) clarity//] | ||
- | Orx's core is basically platform-independent. All the platform/ | ||
- | |||
- | If you use the non-embedded versions, you'll have to specify which plugins to use. This is more flexible but also requires additional files (the plugins themselves). The embedded version will store everything in Orx's library, meaning you won't be able to choose which plugin to use at runtime, but in exchange, Orx will be more compact and will also run considerably faster. | ||
- | |||
- | From the [[http:// | ||
- | Everything compiles out-of-the-box for the hardware platforms cited above. | ||
- | |||
- | The embedded versions currently use:\\ | ||
- | - SFML-based plugins for display, joystick, keyboard, mouse, sound and system.\\ | ||
- | - Box2D-based plugin for physics.\\ | ||
- | - homemade plugin for 2D rendering.\\ | ||
- | |||
- | Warning: If you compile the orx library yourself using the source package, you'll find SDL-based plugins | ||
- | as SFML-based counterparts, | ||
- | |||
- | ==== Visual Studio 2008 ==== | ||
- | |||
- | You will require this file: orx-dev-msvs2008-1.0.zip from the [[http:// | ||
- | |||
- | When extracted, you will be presented with a number of folders: //bin//, //include// and //lib//. | ||
- | |||
- | For now I'm going to create the project in a specific location, feel free to substitute your own in as you see fit. | ||
- | |||
- | My project will be in [code]C: | ||
- | |||
- | Now we will make our project in Visual Studios: | ||
- | |||
- | {{http:// | ||
- | |||
- | Next, add a new file to the project. " | ||
- | |||
- | {{http:// | ||
- | {{http:// | ||
- | |||
- | Then, it's time to change the project properties: | ||
- | |||
- | {{http:// | ||
- | |||
- | Next we set up the working directory, and include directory: | ||
- | |||
- | {{http:// | ||
- | {{http:// | ||
- | |||
- | Then the preprocessor directives for Debug and Release: | ||
- | |||
- | {{http:// | ||
- | {{http:// | ||
- | |||
- | And code generation settings: | ||
- | |||
- | {{http:// | ||
- | {{http:// | ||
- | |||
- | The linker needs to be configured too: | ||
- | |||
- | {{http:// | ||
- | {{http:// | ||
- | |||
- | And finally, the linker input: | ||
- | |||
- | {{http:// | ||
- | {{http:// |