This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
34s:howto_build_emulator [2011/10/31 16:12] mvcube Added instructions for the Debug compile |
34s:howto_build_emulator [2013/12/18 14:48] (current) bruceh |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== HOWTO: build an WP-34s windows emulator from source ====== | ||
+ | === Environment === | ||
+ | |||
+ | Intel box running Windows XP SP3. | ||
+ | |||
+ | I do have a Vista laptop and Windows 7 netbook at home, but I haven' | ||
+ | |||
+ | === Tools === | ||
+ | First you need to get and install some tools: | ||
+ | |||
+ | - SVN client: I used Silk's subversion client http:// | ||
+ | - Perl: I used ActivePerl' | ||
+ | - MS Visual C++ Express: thanks to the team's inclusion of libraries, MS's basic free C++ development environment will work - this is the latest 2010 version: http:// | ||
+ | |||
+ | === Building a windows binary === | ||
+ | |||
+ | Bring up a windows console (Start-> | ||
+ | |||
+ | - Run the subversion command to get the latest software: | ||
+ | < | ||
+ | - < | ||
+ | - To build from the GUI, do the next 3 steps: | ||
+ | * In windows explorer, find and double click on wp34s-code\windows\wp34s_express.sln to startup Visual C++ Express. | ||
+ | * Make sure the solution configuration is set to " | ||
+ | * In the " | ||
+ | |||
+ | If all goes well, you should have a new wp34sgui.exe in the wp34s-code\windows\bin directory. | ||
+ | |||
+ | === Debugging === | ||
+ | Pretty much any changes you make to the code should be done on the emulator first. You should build the debug version of the software. Just select " | ||
+ | |||
+ | By default, if you start Debugging from the Windows GUI you will get the Windows calculator. Debugging in Visual Studio works pretty much like any other GUI debugger - set breakpoints, | ||
+ | |||
+ | To debug the original " |