Open Dynamics Library from Visual Studio C++, Windows Vista 32 bit / XP 64 bit
Installation
- Create DLL files
- Execute the following code from cmd.
- Open the solution file and compile it as "ReleaseDouble" mode.
- The compiled dll files show up in "lib\RealeaseDoubleDLL" directory.
$ cd ode/build
$ premake4 vs2008
- Project Properties
- C/C++ > General > Additional Include Directories : "C:\Users\Seong Jae Lee\Developments\Libraries\ode-0.11\include"
- Linker > General > Additional Library Directories : "C:\Users\Seong Jae Lee\Developments\Libraries\ode-0.11\lib\DebugDoubleDLL"
- Linker > Input > Additional Dependencies : ode_doubled.lib
- Copy ode_doubled.dll into the project directory (where .vcproj file exists)
- Copy drawstuff directory into the project directory
- Added the following lines on Properties > C/C++ > Preprocessors, and I can see a white blank window comes up.
_CRT_SECURE_NO_DEPRECATE;WIN32;dDOUBLE
References
- Official site [1]
- Installation guide from a Korean blog [2]