 Building WoW Model Viewer is pretty simple : you need SDK to have all required third app / libraries and application sources
Wow Model Viewer SDK
Download SDK here : wmv_sdk.zip Decompress it in folder of your choice
Preparing development environment
Clone SDK : hg clone https://bitbucket.org/jeromnimo/wmv_sdk -r 930824b Install Visual Studio 2013 Community edition (needed to have compile chain on windows, you can uncheck all options) : vs_community.exe Launch wmv_sdk.bat by double clicking on it, it will open a prompt like this one (in my example, I have unzipped SDK in c:\wmv_sdk)
Image Removed
You are now ready to compile WoW Model Viewer  WoW Model Viewer: http://go.microsoft.com/fwlink/?LinkId=517284 WoW Model ViewerGet application sources from Bitbucket : https://bitbucket.org/wowmodelviewer/wowmodelviewer You can use either In following example, let's consider sources are available in c:\wowmodelviewer (adapt examples depending on your own location) Edit wmv_set_env.bat file (under sdk directory), updating line as quoted Code Block |
---|
set WMV_BASE_PATH=D:\Dev\workspace\wowmodelviewer |
becomes Code Block |
---|
set WMV_BASE_PATH=c:\wowmodelviewer |
Launch wmv_sdk.bat by double clicking on it, it will open a prompt like this one (in my example, I have unzipped SDK in c:\wmv_sdk)
Image Added
You are now ready to compile WoW Model Viewer 
in prompt opened by SDK, move to your source location Code Block |
---|
| cd YOUR_SOURCE_LOCATION |

Create a build directory (cmake recommands what is called "out of sources compilation), and move in Code Block |
---|
| mkdir CMakeBuild
cd CMakeBuild |

Launch CMake generation Code Block |
---|
| cmake -G"NMake Makefiles" ..\src |
Image Removed Image Added
Launch compilation Image Removed Image Added
When finished, you should see this (copying all files into installation folder) Image Removed Image Added
You can you go to bin\ folder under your source tree (c:\wowmodelviewer\bin in this example), you have a wowmodelviewer.exe that you can execute 
That's it, simply double click on wowmodelviewer executable and you will use your freshly compiled version of WoW Model Viewer
|