This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:community:grey:setup_msvs [2015/10/28 19:26 (10 years ago)] – ↷ Page moved from en:orx:tutorials:community:grey:setup_msvs to tutorials:community:grey:setup_msvs sausage | tutorials:community:grey:setup_msvs [2016/11/11 14:21 (9 years ago)] (current) – Tutorial retired. Many thanks to Grey for providing it. sausage | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Tutorial 1: Setup Visual Studio 2008 ==== | ||
- | [//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:\\ | ||
- | - GLFW-based plugins for display, joystick, keyboard and mouse.\\ | ||
- | - OpenAL-based plugin for sound.\\ | ||
- | - Box2D-based plugin for physics.\\ | ||
- | - homemade plugin for 2D rendering.\\ | ||
- | |||
- | ==== Visual Studio 2008 ==== | ||
- | |||
- | You will require this file: orx-dev-msvs2008-*.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 " | ||
- | |||
- | ==Now we will make our project in Visual Studio:== | ||
- | |||
- | {{http:// | ||
- | |||
- | Note, whatever you call your project, will have a folder created by that name (yes, even with the tick turned off!) So in my case, I now have " | ||
- | |||
- | ==Next, add a new file to the project. " | ||
- | |||
- | {{http:// | ||
- | {{http:// | ||
- | |||
- | ==Then, it's time to change the project properties: | ||
- | |||
- | {{http:// | ||
- | |||
- | ==We set up the working directory, and include directory: | ||
- | |||
- | {{http:// | ||
- | {{http:// | ||
- | |||
- | Remember, our ' | ||
- | |||
- | ==Then the preprocessor directives for Debug: (Release doesn' | ||
- | |||
- | {{http:// | ||
- | |||
- | ==The linker needs to be configured too:== | ||
- | |||
- | {{http:// | ||
- | |||
- | {{http:// | ||
- | |||
- | ==And finally, the linker input:== | ||
- | |||
- | {{http:// | ||
- | {{http:// |