User Tools

Site Tools


win_compilation_howto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
win_compilation_howto [2017/02/02 12:31]
maefloresta created
win_compilation_howto [2017/08/05 11:58] (current)
maefloresta
Line 3: Line 3:
 ;#; ;#;
  
-=====How to compile ​Tupi from source code (Windows 7 - 32 bit)=====+=====How to compile ​TupiTube Desk from source code (Windows 7 - 32 bit)=====
  
-**Warning:​** The official ​packages of Tupi for Windows ​are only available from SourceForge ​repository. Avoid to download ​Tupi installers ​from other locations.+**Warning:​** The official ​installer ​for Windows ​is only available from our [[http://​www.maefloresta.com/​portal/​downloads.php#​Downloads|repository]]. Avoid to download ​it from other sites.
  
-1. Download the dependencies required to compile ​Tupi\\ +1. Download the dependencies required to compile ​TupiTube Desk\\ 
-    * Qt 5.3 +    * Qt 5.x (version > 5.4) 
-      * http://download.qt-project.org/archive/​qt/​5.3/​5.3.2/​qt-opensource-windows-x86-mingw482_opengl-5.3.2.exe ​+      * https://www.qt.io/download-open-source/ ​
     * Libav     * Libav
-      * http://builds.libav.org/windows/​release-gpl/​libav-i686-w64-mingw32-11.1.7z+      * http://www.libav.org/
     * Git for Windows     * Git for Windows
       * http://​git-scm.com/​download/​win       * http://​git-scm.com/​download/​win
Line 17: Line 17:
       * http://​sourceforge.net/​projects/​quazip/​       * http://​sourceforge.net/​projects/​quazip/​
  
-2. Install the dependencies ​in the following paths: +2. Install the dependencies ​into the following paths: 
-    * Qt must be installed ​at C:\Qt-5.3.2 +    * Qt must be installed ​into C:\Qt-5.x 
-    * Libav must be installed ​at C:\libav +    * Libav must be installed ​into C:\libav 
-    * Git must be installed ​in the default path but ensuring its commands ​will be available from the Windows console +    * Git must be installed ​into the default path but ensuring its commands ​are available from the Windows console 
-    * Quazip source code must be uncompressed at C:\tupi\sources\quazip-0.7+    * Quazip source code must be uncompressed at C:\tupitube\sources\quazip-0.7
  
-3. Ensure the following Qt paths are included in your system variable ​PATH:+3. Ensure the following Qt paths are included in your PATH system variable:
     * C:​\Qt-5.3.2\5.3\mingw482_32\bin     * C:​\Qt-5.3.2\5.3\mingw482_32\bin
     * C:​\Qt-5.3.2\Tools\mingw482_32\bin     * C:​\Qt-5.3.2\Tools\mingw482_32\bin
  
-This step is required to have access to the Qt commands from console. +This step is required to have access to the Qt commands from console. To verify this step, open a Windows ​terminal ​and type: 
-To verify this step, open a Windows ​console (the black one) and type: +<​code>​ 
-    ​* ​qmake -version+qmake -version 
 +</​code>​ 
 +You should get an output similar to this: 
 +<​code>​ 
 +C:​\Users\me> ​qmake -version
  
-You should get something like this: 
- 
-  C:​\Users\me>​ qmake -version 
   QMake version 3.0   QMake version 3.0
   Using Qt version 5.3.2 in C:/​Qt-5.3.2/​5.3/​mingw482_32/​lib   Using Qt version 5.3.2 in C:/​Qt-5.3.2/​5.3/​mingw482_32/​lib
 +</​code>​
 4. Compile and install the Quazip library 4. Compile and install the Quazip library
  
 From the Windows console run these commands: From the Windows console run these commands:
-    * cd C:\tupi\sources\quazip-0.7 +<​code>​ 
-    ​* ​qmake -config release "​LIBS+=C:​\libav\bin\zlib1.dll"​ "​PREFIX=C:​\Quazip"​ +cd C:\tupitube\sources\quazip-0.7 
-    ​* ​make +qmake -config release "​LIBS+=C:​\libav\bin\zlib1.dll"​ "​PREFIX=C:​\Quazip"​ 
-    ​* ​make install +make 
- +make install 
-5. Download ​the Tupi source code+</​code>​ 
 +5. Download ​TupiTube Desk source code
  
 From the Windows console run these commands: From the Windows console run these commands:
-    * cd C:\tupi\sources ​  +<​code>​ 
-    ​* ​git clone https://​github.com/​xtingray/​tupi.git -b devel +cd C:\tupitube\sources ​  
- +git clone https://​github.com/​xtingray/​tupitube.desk.git 
-6. Compile the Tupi source code+</​code>​ 
 +6. Compile the source code
  
 From the Windows console run these commands: From the Windows console run these commands:
-    * cd C:\tupi\sources\tupi +<​code>​ 
-    ​* ​qmake -config release +cd C:\tupitube\sources\tupitube.desk 
-    ​* ​make +qmake -config release 
- +make 
-7. Prepare the libraries required by Tupi +</​code>​ 
- +7. Prepare the libraries required by TupiTube Desk
-- Create the path C:​\tupi\sources\qt5 +
-- Execute the script located at: C:​\tupi\sources\tupi\tools\win32\qt5.bat +
-- Create the path C:​\tupi\sources\libav +
-- Execute the script located at: C:​\tupi\sources\tupi\tools\win32\libav.bat +
- +
-8. Install the Tupi binaries in your system +
- +
-- Execute the script located at: C:​\tupi\sources\tupi\tools\win32\copy.vbs +
-- The Tupi's installation path will be: C:​\maefloresta+
  
-9Enjoy Tupi!+    * Create the path C:​\tupitube\sources\qt5 
 +    * Execute the script located at: C:​\tupitube\sources\tupitube.desk\tools\win32\qt5.bat 
 +    * Create the path C:​\tupitube\sources\libav 
 +    * Execute the script located at: C:​\tupitube\sources\tupitube.desk\tools\win32\libav.bat
  
-To run Tupi, execute the file: C:​\maefloresta\bin\tupi.bat+8Install the binaries in your system
  
 +    * Execute the script located at: C:​\tupitube\sources\tupitube.desk\tools\win32\copy.vbs
 +    * The installation path will be: C:​\maefloresta
  
 +9. To run TupiTube Desk, execute the file: C:​\maefloresta\bin\TupiTube.vbs
  
 ;#; ;#;
 [[developer_resources|Back to Developers Page]] [[developer_resources|Back to Developers Page]]
 ;#; ;#;
win_compilation_howto.1486056715.txt.gz · Last modified: 2017/03/11 18:22 (external edit)