|
Open Dynamics Engine (ODE) in English 1. Installing Visual C++ 2008 Express Edition †Visual C++ 2008 Express Edition is a free C++ developement sofeware. You can download from <http://www.microsoft.com/express/download/>. You can choose Web install or Offline install.
2. Installing ODE Ver 0.10.1 (July 24, 2008) †A. download "ode-0.10.0.zip" †Go to <http://www.ode.org/download.html> and click "Binary releases for windows". Then, download "ode-0.10.1.zip" from Sourceforge.net. After you unzip the file, place the folder "ode-0.10.1" in the C drive (i.e., "c:\ode-0.10.1"). Contents in "ode-0.10.1.zip" Copy contents in the zip file to "c:\ode-0.10.1" B. make set-up files for VS2008 †Start "Command Promt" (Start>All Programs>Accessories>Command Prompt)".Then, start premake.exe in the "c:\ode-0.10.1\build\".
Starting Dos Prompt Typing on the Dos Prompt window C. Set up the development environment for ODE †Go to the folder C:\ode-0.10.1\build\vs2005. The folder "vs2005" contains set-up files for Visual C++ 2005 Express Edition (VS2005) and those files are compatible for VS2008. Then, open (double-click) "ode.sln" in the folder. After the VS2008 window is opened, choose "build>build solutions" in the tool bar. If your set up is succeeded, you will see "========== Build: 31 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========" in the output on the bottom of the window. D. Demonstration programs †After you succeed the ODE setup, you can enjoy with the demonstration program. Go to "C:\ode-0.10.1\lib\DebugDoubleDLL" and you will see 29 demonstration programs. Especially, please try "demo_buggy.exe" because I will explain how to implementa ODE programs by using the "demo_buggy" program.
3. Implementing own ODE programs †A. Making a new folder and copy necessary files †For making your own project, (1)please make a folder (e.g., my_code) in "C:\ode-0.10.1\ode". Then, please copy the following 3 files to the folder. The files that require for your own project:
Your own project folder:
Removing Files Adding Files B. Modifying the files for your own project †Open "demo_buggy.cpp" in the folder "C:\ode-0.10.1\ode\my_code".
C. How to use other sample codes. †Basically, you can use other sample codes by just replacing "demo_buggy.cpp" to a different code. The process is the same as the above (section B).
|