nemerle / dcc

This is a heavily updated version of the old DOS executable decompiler DCC
GNU General Public License v2.0
146 stars 27 forks source link

How to compile qt5 branch? #6

Closed lab313ru closed 8 years ago

lab313ru commented 8 years ago

Im using CMake to make a VS 2015 solution, and I'm getting such error log:

CMake Warning at CMakeLists.txt:5 (find_package):
  By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Core", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Core" with any
  of the following names:

    Qt5CoreConfig.cmake
    qt5core-config.cmake

  Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
  "Qt5Core_DIR" to a directory containing one of the above files.  If
  "Qt5Core" provides a separate development package or SDK, be sure it has
  been installed.

CMake Error at tools/makedsig/CMakeLists.txt:11 (qt5_use_modules):
  Unknown CMake command "qt5_use_modules".

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
   used as include directory in directory D:/git/dcc
   used as include directory in directory D:/git/dcc/3rd_party
   used as include directory in directory D:/git/dcc/3rd_party/libdisasm
   used as include directory in directory D:/git/dcc/3rd_party/libdisasm
   used as include directory in directory D:/git/dcc/3rd_party/libdisasm
   used as include directory in directory D:/git/dcc/common
   used as include directory in directory D:/git/dcc/common
   used as include directory in directory D:/git/dcc/tools
   used as include directory in directory D:/git/dcc/tools/makedsig
   used as include directory in directory D:/git/dcc/tools/makedsig
nemerle commented 8 years ago

Hi You'll need to download a Qt5 sdk compatible with your Visual Studio installation, Maybe try http://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe ? Then if cmake fails to detect that installation in cmake-gui you'll need to set the Qt5Core_DIR to the proper path

lab313ru commented 8 years ago

Could you compile some binary release of qt5 branch for me or for Releases? It would be great.

nemerle commented 8 years ago

Sure, I'll do it this weekend.

lab313ru commented 8 years ago

It gives me an error: Cannot open include file: 'llvm/ADT/ilist.h': No such file or directory

I know how to fix that, but, you should add check for this to CMake.

nemerle commented 8 years ago

I've created a v1.0.1 windows release, hope that helps :smile:

lab313ru commented 8 years ago

Library 'mc' not found in list of llvm libraries.