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? #3

Closed mrexodia closed 8 years ago

mrexodia commented 9 years ago

Hey,

Recently I wanted to compile this repository and it requires LLVM. However, when using llvm 3.6.2 it showed the following error when generating with CMake:

Boost version: 1.49.0
CMake Warning (dev) at c:/llvm/cmake/modules/LLVM-Config.cmake:56 (message):
  Using llvm_map_components_to_libraries() is deprecated.  Use
  llvm_map_components_to_libnames() instead
Call Stack (most recent call first):
  CMakeLists.txt:28 (llvm_map_components_to_libraries)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at c:/llvm/cmake/modules/LLVM-Config.cmake:143 (message):
  Library `jit' not found in list of llvm libraries.
Call Stack (most recent call first):
  c:/llvm/cmake/modules/LLVM-Config.cmake:191 (llvm_map_components_to_libnames)
  c:/llvm/cmake/modules/LLVM-Config.cmake:57 (explicit_map_components_to_libraries)
  CMakeLists.txt:28 (llvm_map_components_to_libraries)

Configuring incomplete, errors occurred!
See also "C:/CodeBlocks/dcc/build/CMakeFiles/CMakeOutput.log".

Anyone have advice for me on how to handle this?

nemerle commented 9 years ago

LLVM usage was/is a WIP - as such I've removed it as a requirement in 2543617930794030e6d90bbb12a2466292afef5c

Try it and let me know if it compiled ?