-
Notifications
You must be signed in to change notification settings - Fork 0
How to Build
Rado1 edited this page Mar 15, 2015
·
1 revision
Note: By <homedir> is meant the directory where the ZgeSkelet sources are extracted on your computer.
Before compiling the ZgeSkelet, you must checkout the Cal3D sources to <homedir>\cal3d directory. The Cal3D sources can be obtained from Subversion repository: svn://svn.gna.org/svn/cal3d/trunk/cal3d
The ZgeSkelet DLL can be compiled with Microsoft Visual C++ 2008 (MSVC) or higher.
- Modify the Cal3D library: open (convert from previous version) the MSVC solution file \cal3d\cal3d.sln and change the following properties of the cal3d project:
- General / Configuration Type to StaticLibrary
- C/C++ / Code Generation / Runtime Library to Multi-threaded (/MT)
- Build the cal3d project with the Release configuration. The result will be placed to the <homedir>\cal3d\bin\Release\cal3d.lib file.
- Open <homedir>\vs2010\ZgeSkelet.sln or ZgeSkelet.vcxproj in MSVC.
- Set directories and library dependencies: ZgeSkelet requires an OpenGL library, so you need to include the path to the local header files to the C/C++ / General / Additional Include Directories. For instance, glew-1.10.0\include, if you use GLEW.
- Build the ZgeSkelet project resulting in <homedir>\lib\ZgeSkelet.dll file.
- Open the <homedir>\cb]\ZgeSkelet.workspace.
- Build the Cal3D project. The resulting library is placed to <homedir>cal3d\bin\Release\libcal3d.a file.
- Build the ZgeSkelet project resulting in <homedir>\lib\ZgeSkelet.dll file.
The ZgeSkelet shared library (.so) is compiled with Android NDK which must be installed on your computer; see http://developer.android.com/tools/sdk/ndk/ for details.
- Move to the <homedir>/android/ folder.
- Run the ndk-build command of the Android NDK. The result are placed to the <homedir>/android/libs//libZgeSkelet.so files.