http://llvm.org/bugs/show_bug.cgi?id=16252
Bug ID: 16252
Summary: lli can't run GLES2 application
Product: tools
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: lli
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs