<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - lli can't run GLES2 application"
href="http://llvm.org/bugs/show_bug.cgi?id=16252">16252</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>lli can't run GLES2 application
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>lli
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>seongnam.oh@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Hi;
I am trying to build an GLES2 application...just using text book sample.
after I created the LLVM bit code file....( the step was... )
1. compiling the files with clang with -emit-llvm -S option...
2. link the files with llvm-link
then, I got a bit code file.
what I tried to run the bit code file was like below :
[root@ICEBREAKER llvm]# LD_PRELOAD="/usr/lib/libEGL.so /usr/lib/libGLESv2.so
/usr/lib/libX11.so"
[root@ICEBREAKER llvm]# lli CH02_HelloTriangle.bc
LLVM ERROR: Program used external function 'XOpenDisplay' which could not be
resolved!
and I got the error message.
in order to make a native application, I used -lGLESv2 -lEGL -lm -lX11, then, i
tried to load the .so files...but still the lli is complaining that... and
dumping the libX11.so file which has the XOpenDisplay function.
Regards;
SeongNam.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>