Jump to content

Kdenlive/Development/WindowsBuild: Difference between revisions

From KDE Community Wiki
Vpinon (talk | contribs)
m add comments
Camillem (talk | contribs)
Line 3: Line 3:
== Cross compiling on GNU/Linux using [http://mxe.cc/ MXE] ==
== Cross compiling on GNU/Linux using [http://mxe.cc/ MXE] ==


git clone https://anongit.kde.org/kdenlive.git # not already done?
You should first follow the steps necessary to build [[Kdenlive/Development#Pre-requisites_and_Supported_Platformsbuild|Kdenlive on GNU/ Linux]]. Then, on the level where you cloned the kdenlive repository, you should clone a special version of MXE (M cross environment):
git clone https://github.com/vpinon/mxe.git
<pre>
git clone https://github.com/vpinon/mxe.git
</pre>
 
<pre>
  cat >mxe/settings.mk <<EOF
  cat >mxe/settings.mk <<EOF
  MXE_TARGETS := x86_64-w64-mingw32.shared.posix
  MXE_TARGETS := x86_64-w64-mingw32.shared.posix
Line 14: Line 18:
  make gdb # useful in case of crash: look for kdenlive PID in task manager, start gdb, run "attach ''PID''"
  make gdb # useful in case of crash: look for kdenlive PID in task manager, start gdb, run "attach ''PID''"
  plugins/apps/deploy_kdenlive.sh
  plugins/apps/deploy_kdenlive.sh
</pre>


== Porting the [https://www.mltframework.org/ MLT framework] to CMake ==
== Porting the [https://www.mltframework.org/ MLT framework] to CMake ==


To be able to compile Kdenlive with MSVC  (Microsoft Visual C++ compiler and libraries toolset). (Elie).
To be able to compile Kdenlive with MSVC  (Microsoft Visual C++ compiler and libraries toolset). (Elie).

Revision as of 18:17, 9 May 2018

Different efforts are currently being led to make building Kdenlive on Microsoft Windows possible.

Cross compiling on GNU/Linux using MXE

You should first follow the steps necessary to build Kdenlive on GNU/ Linux. Then, on the level where you cloned the kdenlive repository, you should clone a special version of MXE (M cross environment):

git clone https://github.com/vpinon/mxe.git
 cat >mxe/settings.mk <<EOF
 MXE_TARGETS := x86_64-w64-mingw32.shared.posix
 override MXE_PLUGIN_DIRS += plugins/multimedia plugins/kdeframeworks plugins/apps
 kdenlive_SOURCE_TREE := $PWD/kdenlive
 EOF
 cd mxe
 make kdenlive
 make gdb # useful in case of crash: look for kdenlive PID in task manager, start gdb, run "attach ''PID''"
 plugins/apps/deploy_kdenlive.sh

Porting the MLT framework to CMake

To be able to compile Kdenlive with MSVC (Microsoft Visual C++ compiler and libraries toolset). (Elie).