用firefox翻墙才跑到其官网上http://www.geometrictools.com,在中国生活真是幸福啊!能体验到其他国家的人民不需要体验的东东!万岁!
看这个文件就行 WildMagic4p7/GeometricTools/WildMagic4/Wm4p7InstallationRelease.pdf
1.环境变量(1.3 Environment Variables)
WM4_PATH 我的是 E:/TDDOWNLOAD/Code/WildMagic4p7/GeometricTools/WildMagic4/
还有下面三个(要看Sample的话就需要)(1.6 Finding Windows Dynamic Link Libraries at Run-Time)
WM4_PATH_BIN= E:/TDDOWNLOAD/Code/WildMagic4p7/GeometricTools/WildMagic4/Bin
WM4_PATH_DEBUG_DLL= E:/TDDOWNLOAD/Code/WildMagic4p7/GeometricTools/WildMagic4/SDK/Library/DebugDLL
WM4_PATH_RELEASE_DLL= E:/TDDOWNLOAD/Code/WildMagic4p7/GeometricTools/WildMagic4/SDK/Library/ReleaseDLL
然后把上面三个加到Path里面(红色的加到现在的path后面就行了)
PATH=<currentpath>;%WM4_PATH_BIN%;%WM4_PATH_DEBUG_DLL%;%WM4_PATH_RELEASE_DLL%
2.编译(3.1 Microsoft Windows Vista or XP with Visual Studio)
在公司我的外网机上
The Wild Magic Installer must be executed from the WildMagic4 folder in
the GeometricTools distribution. The usage is :
Wm4Installer
- m [msvc80, msvc80e, msvc90, msvc90e]
- g [opengl, directx, soft]
- c [debug, debugdll, debugmem, release, releasedll, releasemem]
All options are required. For example, to use Microsoft Visual C ++ 9.0 ,
OpenGL, static libraries, and release mode, you must execute:
Wm4Installer - m msvc90 - g opengl - c release
The compiler location is looked up in the Windows Registry. If it cannot
be found, the installer will display a message to that effect.
要用msvc80(vs2005)和directx生成debugdll,就是
-g directx -c debugdll