darling icon indicating copy to clipboard operation
darling copied to clipboard

cmake error

Open LongMeters opened this issue 1 year ago • 4 comments

Build Log What is the build error?

/darling/build# cmake ..
Including component: cli_dev
Including component: cli
Including component: python
Including component: ruby
Including component: perl
Including component: dev_gui_common
Including component: dev_gui_frameworks_common
Including component: dev_gui_stubs_common
Including component: system
Including component: core
Python 2 not available; bytecode compilation is disabled
-- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) 
Did not find required libraries (Vulkan and LLVM); building without Metal support
CMake Warning at cmake/dsym.cmake:48 (message):
  Cannot find llvm-dsymutil, will not produce debug information
Call Stack (most recent call first):
  CMakeLists.txt:174 (FindDsymutil)


-- Compiler include path detected as /usr/lib/llvm-15/lib/clang/15.0.7/include/
-- Configuring done
CMake Error at cmake/use_ld64.cmake:183 (add_dependencies):
  The dependency target "PDFKit" of target "Quartz" does not exist.
Call Stack (most recent call first):
  src/frameworks/Quartz/CMakeLists.txt:63 (reexport)


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

System Information ubuntu 22.04

LongMeters avatar Dec 26 '23 06:12 LongMeters

@LongMeters How did you clone the Darling project? Did you recursively clone the submodules?

CuriousTommy avatar Dec 26 '23 14:12 CuriousTommy

i used this command git clone --recursive https://github.com/darlinghq/darling.git

LongMeters avatar Dec 26 '23 14:12 LongMeters

Looks like PDFKit lives in src/frameworks/PDFKit. Does this folder exist on your machine? Are there any files in the folder?

What does git status return?

CuriousTommy avatar Dec 27 '23 06:12 CuriousTommy