看这个文件就行 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)
在公司我的外网机上
TheWildMagicInstallermustbeexecutedfromtheWildMagic4folderin
theGeometricToolsdistribution.Theusageis:
Wm4Installer
-m[msvc80,msvc80e,msvc90,msvc90e]
-g[opengl,directx,soft]
-c[debug,debugdll,debugmem,release,releasedll,releasemem]
Alloptionsarerequired.Forexample,touseMicrosoftVisualC++9.0,
OpenGL,staticlibraries,andreleasemode,youmustexecute:
Wm4Installer-mmsvc90-gopengl-crelease
ThecompilerlocationislookedupintheWindowsRegistry.Ifitcannot
befound,theinstallerwilldisplayamessagetothateffect.
要用msvc80(vs2005)和directx生成debugdll,就是
-gdirectx-cdebugdll