Building WoW Model Viewer is pretty simple : you need SDK to have all required third app / libraries and application sources
Preparing development environment
Download SDK here : https://wowmodelviewer.net/wordpress/?wpdmpro=wmv_sdk-zip
Decompress it in folder of your choice
Install Visual Studio 2013 Community edition (needed to have compile chain on windows, you can uncheck all options) : http://go.microsoft.com/fwlink/?LinkId=517284
WoW Model Viewer
Get application sources from Bitbucket : https://bitbucket.org/wowmodelviewer/wowmodelviewer
You can use either
- mercurial clone (prefered method if you plan to do regular update from central repo)
- archived source download (prefered method if you do not plan to update sources on a regular basis) https://bitbucket.org/wowmodelviewer/wowmodelviewer/downloads
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
set WMV_BASE_PATH=D:\Dev\workspace\wowmodelviewer
becomes
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)
You are now ready to compile WoW Model Viewer
in prompt opened by SDK, move to your source location
cd YOUR_SOURCE_LOCATION
Create a build directory (cmake recommands what is called "out of sources compilation), and move in
mkdir CMakeBuild cd CMakeBuild
Launch CMake generation
cmake -G"NMake Makefiles" ..\src
Launch compilation
nmake install
When finished, you should see this (copying all files into installation folder)
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