Menu

#1 Compilation

closed
nobody
None
5
2013-04-09
2002-12-05
No

How step by step can I compile your code with Dev-C++
from sourceforge.net
I don't know anything about compilation and C language

Discussion

  • Joachim Eibl

    Joachim Eibl - 2003-01-18

    Logged In: YES
    user_id=584435

    Dev-C++ is a graphical frontend for the Mingw-compiler
    (Minimalist GNU compiler for Windows). Compilation is
    possible, but due to C++ incompatibilities linking with the
    QT-non-commercial library is not possible.
    But I've now provided a zip-file with an precompiled exe for
    windows.

     
  • NetVicious

    NetVicious - 2013-04-09

    Could you tell us how do you compile for Windows ? I want to add some things to Kdiff3 but I need to test they before sending you the code.

     
  • Joachim Eibl

    Joachim Eibl - 2013-04-09

    The compilation is basically explained in the README file.

    Here is a very short version:

    Download a Qt-package from qt-project.org/downloads
    (Use a MinGW package if you don't use Visual Studio)

    With Qt-Creator open the "kdiff3.pro" as project file in subdir "src-QT4".
    Compile and run.

    Without Qt-Creator use the command line to "qmake kdiff3.pro" and mingw32-make.

    For running KDiff3 make sure that the Qt-libraries (Qt*.dll) are in the path or same directory.

    The latest version on the git-repository already supports Qt5 if you want that.

    Joachim