Changes between Version 2 and Version 3 of documentation/C++Manual/GettingStarted
- Timestamp:
- 09/22/10 06:24:49 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
documentation/C++Manual/GettingStarted
v2 v3 12 12 Rocket is developed for use on the following platforms: 13 13 14 * Windows 32-bit compiling with Microsoft Visual Studio 2005 .15 * MacOSX Intel compiling with GCC 4.14 * Windows 32-bit compiling with Microsoft Visual Studio 2005-2010. 15 * MacOSX Intel 32/64bit compiling with GCC 4. 16 16 * Linux compiling with GCC 4. 17 17 21 21 * #include <Rocket/Core.h> in your project. 22 22 * Add the Rocket library path (''/bin/'' under the Rocket directory) to your library paths. 23 * Link with ''RocketCore_d.lib'' and ''EMPCore_d.lib'' (for debug builds) or ''RocketCore.lib'' and ''EMPCore.lib'' (for non-debug builds).24 * Copy the appropriate DLLs (ie, ''RocketCore_d.dll'' and ''EMPCore_d.dll'' for debug builds, ''RocketCore.dll'' and ''EMPCore.dll'' for non-debug builds) from the ''/bin/'' folder into the directory your executable will run from.23 * Link with ''RocketCore_d.lib'' (for debug builds) or ''RocketCore.lib'' (for non-debug builds). 24 * Copy the appropriate DLLs (ie, ''RocketCore_d.dll'' for debug builds, ''RocketCore.dll'' for non-debug builds) from the ''/bin/'' folder into the directory your executable will run from. 25 25 26 26 === MacOSX / Linux === 28 28 * Add the Rocket include path (''/include/'' under the Rocket directory) and library path (''/bin/'') to the paths in your build system. 29 29 * #include <Rocket/Core.h> in your project. 30 * Link with ''RocketCore'' and ''EMPCore''.30 * Link with ''RocketCore''. 31 31 * Either copy the Rocket libraries into your application's working directory, or set a LD_LIBRARY_PATH (DYLD_LIBRARY_PATH for MacOSX) environment variable. 32 32 65 65 66 66 {{{ 67 Rocket::Core::Context* context = Rocket::Core::CreateContext("default", EMP::Core::Vector2i(1024, 768));67 Rocket::Core::Context* context = Rocket::Core::CreateContext("default", Rocket::Core::Vector2i(1024, 768)); 68 68 }}} 69 69 101 101 102 102 // Sends a single character of text as text input into this context. 103 void ProcessTextInput( EMP::Core::word character);103 void ProcessTextInput(Rocket::Core::word character); 104 104 // Sends a string of text as text input into this context. 105 105 void ProcessTextInput(const Rocket::Core::String& string);