<div dir="ltr">I just copy the latest code in HowToUseJIT and run, but theĀ EngineBuilder(std::move(Owner)).create() keeps return null, any idea why?<div><br></div><div>Here's my CMakeList:</div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"DejaVu Sans Mono";font-size:11.3pt">cmake_minimum_required(<span style="color:rgb(106,135,89)">VERSION 3.12</span>)<br>project(<span style="color:rgb(106,135,89)">llvm_test</span>)<br><br>set(<span style="color:rgb(106,135,89)">CMAKE_CXX_STANDARD 14</span>)<br><br>find_package(<span style="color:rgb(106,135,89)">LLVM REQUIRED CONFIG</span>)<br>llvm_map_components_to_libnames(<span style="color:rgb(106,135,89)">llvm_libs support core irreader orcjit native</span>)<br><br>add_executable(<span style="color:rgb(106,135,89)">llvm_test main.cpp</span>)<br>target_include_directories(<span style="color:rgb(106,135,89)">llvm_test PUBLIC </span><span style="color:rgb(204,120,50)">${</span><span style="color:rgb(106,135,89)">LLVM_INCLUDE_DIRS</span><span style="color:rgb(204,120,50)">}</span>)<br>target_compile_definitions(<span style="color:rgb(106,135,89)">llvm_test PUBLIC </span><span style="color:rgb(204,120,50)">${</span><span style="color:rgb(106,135,89)">LLVM_DEFINITIONS</span><span style="color:rgb(204,120,50)">}</span>)<br>target_link_libraries(<span style="color:rgb(106,135,89)">llvm_test </span><span style="color:rgb(204,120,50)">${</span><span style="color:rgb(106,135,89)">llvm_libs</span><span style="color:rgb(204,120,50)">}</span>)</pre></div></div>