Open Leon-Zhang opened 1 year ago
Double checked, "llvm\include\llvm\Config\llvm-config.h.cmake" "llvm\include\llvm\Config\abi-breaking.h.cmake" "llvm\include\llvm\Config\config.h.cmake"
Above 3 cmake file suppose to generate(process by llvm\utils\gn\build\write_cmake_config.py) corresponding header file while it did not.
Update: I am able to build in command line mode, seems missing files mentioned above are been produced by following command
cmake -DCMAKE_INSTALL_PREFIX=/e/ProgramFiles/llvm -DCMAKE_INSTALL_CONFIG_NAME=Debug -P cmake_install.cmake
But from cmake gui, seems there is no gui interface to execute such command.
Hello, dear friends! I am having similar problem in llvm 16.02: llvm-config.h header file is missing in the include\Config folder. There is llvm-config.h.cmake file present, but I am very new to cmake and cannot figure out how to produce llvm-config.h using the command from the previous post by Leon-Zhang [on Oct 21, 2022]. Could somebody be so nice and kind and explain how to produce the needed header by giving me detailed possibly step by step instructions. With kind regards, Pavel Kotov.
I have been using cmake gui
to generate sln build file, it can compile, but
llvm-config.h
file is not generated (fromllvm/Config/llvm-config.h.cmake
); Also tried to include clang frontend and matcher headers, but gives inc file not found:how to fix this? Thanks.