Hi,
After installing the Open GL ES emulator 1.3.1 on ubuntu 14.01,while building the Open GL ES 1.1 simpApp11 example, i am navigating to the directory and firing the "make" command,
this error appears on the screen:
@ARM/Mali_Developer_Tools/OpenGL_ES_Emulator_1.3.1/examples/OpenGLES_11/simpApp11# make
gcc -g -I../../../include -m32 -o simpApp11 simpApp11.c -L/usr/X11R6/bin -lX11 -L../../../bin -lGLESv1_CM -lEGL
/usr/bin/ld: cannot find -lX11
collect2: error: ld returned 1 exit status
make: *** [simpApp11] Error 1
when i checked for
ls -ls /usr, no X11R6 directory was available. I searched over to install X11R6 but in vain.Can anyone help me with this? Thanks in advance.
Regards
sudlin
Hi Sudlin,
are you also trying to make the emulator work on Windows? I have seen you are also asking for support in Re: Problem in running mali cube in Mali open GL ES emulator 1.4.1
We need to prioritize what request you need to be answered first, could you tell us if you prefer to get it work on Windows or Linux?
We are looking forward to making you succeed with our tools.
Thanks,Lorenzo
Hi Lorenzo,
Yeah. You are right.I am also trying to make the emulator work on windows.
First,i tried to work it on windows. As, it has not been working till now as you see, i started trying it on ubuntu as well.I have a very limited time for the project i am working on. so,i am trying to make the tools work either on windows or ubuntu. My aim is to make changes to the application i want to make and see the changes back on the emulator.
Excuse me please for any offense.
Regards,
Sudlin
Make sure you have libX11-dev package installed on your system (apt-get install libX11-dev).
The libraries have moved on more recent Ubuntu installs - the easiest way to find them is apt-find:
$> apt-file search libX11.so libx11-6: /usr/lib/x86_64-linux-gnu/libX11.so.6 libx11-6: /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 libx11-6-dbg: /usr/lib/debug/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 libx11-dev: /usr/lib/x86_64-linux-gnu/libX11.so
In my case I'm running a 64-bit OS, so I'm going to want the 64-bit libraries (/usr/lib/x86_64-linux-gnu/). Your command line is for the 32-bit emulator, so you'll need to use the 32-bit X11 libraries (and install them if they are not already).
HTH, Pete
Hi sudlin,
Please also note the requirements for the emulator, is the same for windows. Please make sure your GPU supports the appropriate level of OpenGL, as stated in the user guide.
If it does not, then you will need better hardware before proceeding.
Kind Regards,
Michael McGeagh