<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">EngineBuilder should provided an error string option, try printing it out?<br><br><div id="AppleMailSignature">Zhang</div><div><br>在 2018年3月2日,上午8:23,Christophe Demez via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> 写道:<br><br></div><blockquote type="cite"><div>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<p>Hi,</p>
<p>I try to create an execution engine, but I always got a nullptr
value :</p>
<p> _executionEngine =
EngineBuilder(std::move(_module)).create();</p>
<p>I build my project with cmake and add the following command in my
cmake.</p>
<p> llvm_map_components_to_libnames(llvm_libs Analysis Core
ExecutionEngine InstCombine Object RuntimeDyld ScalarOpts Support
native mcjit)</p>
<p>BTW, I have also try to execute the LLVM example project
"HowToUseJIT", and it also return NULL ! And then crash !</p>
<p>Any idea ?<br>
</p>
<div class="moz-signature">-- <br>
<meta charset="utf-8">
<title>Luciad Email Signature</title>
<span class="name" style="font-family: Arial, Helvetica,
sans-serif;font-size: 10pt;color: #6B7D82;text-transform:
uppercase;"><strong>
Christophe Demez
</strong></span><br>
<span class="title" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;color: #6B7D82;text-transform:
uppercase;">
PROJECT LEADER
</span> <span class="half-line" style="line-height:2px;"> <br>
<br>
</span> <span class="links" style="color: #6B7D82;font-family:
Arial, Helvetica, sans-serif;font-size: 9pt;"><a href="http://www.luciad.com/" target="_blank" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
10pt;font-weight: 400;text-decoration: none;"><strong>LUCIAD</strong></a></span><span class="normal" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">
CONNECT <span class="normal" style="font-family: Arial,
Helvetica, sans-serif;font-size:
9pt;font-weight: 400;color: #6B7D82;">• VISUALIZE <span class="normal" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">•</span>
ANALYZE <span class="normal" style="font-family: Arial,
Helvetica, sans-serif;font-size: 9pt;font-weight: 400;color:
#6B7D82;">•</span>
ACT</span></span> <span class="half-line" style="line-height:2px;"> <br>
<br>
</span> <span class="links" style="color: #6B7D82;font-family:
Arial, Helvetica, sans-serif;font-size: 9pt;font-weight: 400;">
<a href="mailto:christophe.demez@luciad.com" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;text-decoration: none;">
christophe.demez@luciad.com
</a> </span> <span class="normal" style="font-family: Arial,
Helvetica, sans-serif;font-size: 9pt;font-weight: 400;color:
#6B7D82;">• </span><span class="normal" style="font-family:
Arial, Helvetica, sans-serif;font-size: 9pt;font-weight:
400;color: #6B7D82;"> T </span><span class="number" style="font-family: Tahoma, Arial sans-serif;font-size:
9pt;font-weight: 200;color: #6B7D82;">
+32 16 23 95 91
</span><br>
<span class="normal" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">Follow
us on </span><span class="links" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;"><a href="https://www.linkedin.com/company/luciad" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;text-decoration: none;">LinkedIn</a></span><span class="normal" style="font-family: Arial, Helvetica,
sans-serif;font-size:
9pt;font-weight: 400;color: #6B7D82;"> or </span><span class="links" style="color: #6B7D82;font-family: Arial,
Helvetica, sans-serif;font-size: 9pt;font-weight: 400;"><a href="http://www.twitter.com/LUCIADconnect" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;text-decoration: none;">@LUCIADconnect</a></span>
<span class="half-line" style="line-height:2px;"> <br>
<br>
</span> <img src="http://www.luciad.com/files/images/luciad-logo.png" alt="Luciad"> </div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>LLVM Developers mailing list</span><br><span><a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a></span><br><span><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a></span><br></div></blockquote></body></html>