This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Having difficulty compiling the quickstart guide examples

Note: This was originally posted on 29th April 2013 at http://forums.arm.com

Hello everyone,

So I just downloaded the OpenGL ES SDK 2.1.0, and I've been trying to get through the quickstart guide examples.  I get stuck at around ~54%, where I get the error:

/usr/bin/ld: cannot find -lX11

I've looked around the internet for other help, but I've tried all of their suggestions, and they haven't worked.  I'm running 64 bit Ubuntu 12.10 with an Nvidia 9500 GT graphics card.  Any help I could get with this would be fantastic, thanks.
  • Note: This was originally posted on 30th April 2013 at http://forums.arm.com

    The OpenGL ES SDK currently only works on 32-bit host systems. The examples are forcing compilation in 32-bit mode and the X11 library on you computer will be 64-bit (which is why it claims to not find it). We will be releasing a 64-bit version of the SDK in the next few weeks which will work on your system.

    In the mean time, to solve this problem: Install the ia32-libs package (e.g. sudo apt-get install ia32-libs). This should include a 32-bit version of X11.



    Let me know if that doesn't work or you have any other issues.


    Thanks,

    Jon.
  • Note: This was originally posted on 30th April 2013 at http://forums.arm.com

    Hey Jon,

    Thanks for your reply, I didn't know this SDK was currently 32-bit only.  I'd already tried installing ia32-libs before coming here, and it didn't help. 

    I saw someone else having this issue here, where the solution was to install X-dev, libX11-dev, libXi-dev, [size=2]and [/size]libXmu-dev[size=2] but those didn't help either (apt couldn't find X-dev, and I'd already installed the other 3).   Any idea on what to do next?[/size]
    [size=2]
    [/size]
    [size=2]Thanks,[/size]

    James