compile_windows
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
compile_windows [2014/07/22 07:10] – created thooge | compile_windows [2014/07/22 07:32] (current) – [Generating Makefiles] thooge | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Compiling with Windows ====== | ====== Compiling with Windows ====== | ||
+ | |||
+ | other compiling instructions: | ||
+ | [[compile_instructions|Overview]] -- | ||
+ | [[compile_linux|Linux]] -- | ||
+ | [[compile_bsd|BSD]] -- | ||
+ | [[compile_macos|MacOS]] | ||
+ | |||
+ | |||
+ | ==== Requirements ==== | ||
+ | |||
+ | Wolfpack requires Python 2.4.x or Python 2.6.x and Nokia' | ||
+ | |||
+ | If you wish to use MySQL, you will also need to download MySQL itself before compiling, since it comes with header files and libraries required to activate MySQL support on Wolfpack. | ||
+ | |||
+ | Make sure that the '' | ||
+ | '' | ||
+ | and '' | ||
+ | |||
+ | The examples shown here will also assume that $'' | ||
+ | |||
+ | |||
+ | === Installing Qt === | ||
+ | |||
+ | For compiling Qt yourself please follow up the specific instructions from the Qt Project. | ||
+ | Otherwise just download Qt SDK (LPGL) from https:// | ||
+ | Don't forget to set the paths mentioned above. | ||
+ | |||
+ | |||
+ | ==== Generating Makefiles ==== | ||
+ | |||
+ | Go to the folder containing wolfpack folders. Inside the build folder you should find the configure script (configure2.py) The configure script will try to locate the headers and libraries required in your system and pass them to qmake to generate a makefile. | ||
+ | |||
+ | Some options can be enabled/ | ||
+ | |||
+ | < | ||
+ | C: | ||
+ | </ | ||
+ | |||
+ | Now change to the path '' | ||
+ | |||
+ | PS: You can also run '' | ||
+ | |||
+ | ==== Compiler Specific Notes ==== | ||
+ | |||
+ | Unfortunally, | ||
+ | |||
+ | === MinGW === | ||
+ | Python doesn' | ||
+ | |||
+ | To do so, you will need to download '' | ||
+ | Extract it somewhere in your PATH, as a suggestion, use MingW' | ||
+ | Locate '' | ||
+ | |||
+ | Go to '' | ||
+ | '' | ||
+ | to build a list of exported functions, then | ||
+ | '' | ||
+ | to build the import library file we need: | ||
+ | <code cmd> | ||
+ | cd \Python24\libs | ||
+ | pexports c: | ||
+ | dlltool --dllname python24.dll --def python24.def --output-lib libpython24.a | ||
+ | </ | ||
+ | |||
+ | If you want to enable MySQL support, you will have to take similar steps to build an import library to mysql. | ||
compile_windows.1406013050.txt.gz · Last modified: 2014/07/22 07:10 by thooge