Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section


Column
width80%


 
 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) : http://go.microsoft.com/fwlink/?LinkId=517284

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 RemovedYou are now ready to compile

WoW Model Viewer

(smile)

WoW Model Viewer

Get 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 (smile)


in prompt opened by SDK, move to your source location

Code Block
linenumberstrue
cd YOUR_SOURCE_LOCATION


Create a build directory (cmake recommands what is called "out of sources compilation), and move in

Code Block
linenumberstrue
mkdir CMakeBuild
cd CMakeBuild


Launch CMake generation

Code Block
linenumberstrue
cmake -G"NMake Makefiles" ..\src

Image Added

Image Removed 

Launch compilation

Code Block
linenumberstrue
nmake install

Image RemovedImage Added

 

When finished, you should see this (copying all files into installation folder)

Image RemovedImage 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



Column
width20%

Page Tree
expandCollapseAlltrue
root@none
startDepth10
searchBoxtrue


...