eglChooseConfig trouble under Debian squeeze amd64

This topic contains 0 replies, has 1 voice, and was last updated by  martin 7 years, 4 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #30225



    I have trouble with the sdk under Debian squeeze on the amd64 platform. I know that 64 bit support doesn’t exist yet, but if I compile it as 32 bit it should work, right? The thing is that when I’m trying the the first training course program it exit with “Error: eglChooseConfig() failed”. I have done the following:

    1. After uncompressing the tar (version I removed the execution bit on all files except on the programs under ‘Utilities’.
    2. Added ‘-m32’ to the LIBDIR_FLAGS in ‘Builds/OGLES2/LinuxPC/make_platform.mak’ (last on line 31 and 34)
    3. Symbolic link: ln -s /usr/lib32/ OGLES2/LinuxPC/Lib/
    4. LD_LIBRARY_PATH pointing to the ‘Builds/OGLES2/LinuxPC/Lib’ directory
    5. export PLATFORM=”LinuxPC”
    6. execute ‘make’ in ‘TrainingCourse/01_Initialization/OGLES2/Build/LinuxPC’
    7. when now running ‘OGLES2Initialization’ it print out
      Error: eglChooseConfig() failed.

    For a second there is also a green window displaying before the error message. Anyone know what can be wrong?

    Notable things :

    $ file OGLES2Initialization
    OGLES2Initialization: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped

    Installed packages:

    nvidia-glx-ia32 (version 195.36.24-4)

    glxgear is working compiled both as 64 bit and 32 bit.

    any ideas?


Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.