[llvm-dev] HowToUseLLJIT example doesn't find targets for this triple. (original) (raw)

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Wed Aug 11 09:29:48 PDT 2021


Typically this is the result of not compiling the target backend. Check the value of CMake's LLVM_TARGETS_TO_BUILD. It should be "X86" or "all".

Michael

Am Mi., 11. Aug. 2021 um 03:16 Uhr schrieb Haladas Luxgile via llvm-dev <llvm-dev at lists.llvm.org>:

Hello, I'm trying to run the "HowToUseLLJIT" example in LLVM project, but it results in the message: "Unable to find target for this triple (no targets are registered)". I have been trying to find information on this but I have been unable to find a fix or the reason this happens. Moreover, If i add "InitializeAllTargetInfos();" it results in: "No available targets are compatible with triple 'x8664-pc-windows-msvc'". I'm using Visual Studio 2019 to compile my project. Please let me know if you need any more info I can provide. Thanks, Guillermo


LLVM Developers mailing list llvm-dev at lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



More information about the llvm-dev mailing list