用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)
在公司我的外網機上
E:\TDDOWNLOAD\Code\WildMagic4p7\GeometricTools\WildMagic4>Wm4Installer
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,就是
E:\TDDOWNLOAD\Code\WildMagic4p7\GeometricTools\WildMagic4>Wm4Installer -m msvc80
-g directx -c debugdll
posted on 2009-08-11 18:05
七星重劍 閱讀(5519)
評論(0) 編輯 收藏 引用 所屬分類:
Game Graphics