wiki:buildVtoolWindows
Last modified 4 years ago Last modified on 11/30/14 13:10:34

Compiling vTool in Windows

Requirements

Downloading source code

vTool source code is at: http://dev.irvoodoo.com/git/vtool.git software repository. When cloning software repository, --recursive key has to be used. (Example: git clone --recursive http://dev.irvoodoo.com/git/vtool.git)

Configuring vTool project

Before compiling, the project needs configuring using qmake utility. Open "Qt Command Prompt". Specifying if you wish to compile release (CONFIG+=release) or debug (CONFIG+=debug) version is necessary. Using PREFIX parameter, you can determine where make install places the program.

c:\build\vtool> qmake Vtool.pro CONFIG+=release PREFIX=c:/build/bin


Compiling

For parallel compiling, -j N key can be used.

C:\build\vtool>make

C:\build\vtool>make install

After compiling has ended with success, program files can be found where they were previously determined to be using PREFIX parameter.

For the program to start, necessary Qt libraries (in Qt SDK \bin folder) have to be copied to vTool program folder.

Necessary files:

  • libgcc_s_dw2-1.dll
  • mingwm10.dll
  • !QtCore4.dll
  • !QtGui4.dll
  • !QtNetwork4.dll
  • imageformats/qgif4.dll

After copying the files mentioned above to vTool folder, Qt SDK or minGW compilator is not required anymore. The folder can be copied to another computer.