linux - Using OpenGL Without X-Window System -


How to do OpenGL on the Linux platform without the X-Window system, can I directly send OpenGL graphics to framebuffer devices?

The project is a nominated DirectFB (Direct Framebuffer), we can do this with DirectFB, but DirectFB is available for every hardware I need a driver and I want a graphic card user who has only Linux driver.

In this way I have expanded my Ubuntu 11.04 in detail: 1- Dependencies using this command Install:

  sudo apt-get install xutils-dev libpciaccess-dev Mesa Library requires libdrm version> = 2.4.24 which is not available in the Ubuntu 11.04 repository (x11proto-dri2 -dev x11proto-gl- dev-libxdamage-dev, libxfixes-dev  

2-old version is available) then you have to download the source and it will be created using the following commands To do this:

3-download to make the compile it and then compile it using the following commands: config.configure Installing linux-fbdev sudo to create realclean to create --prefix = install_directory

  be careful  

Be careful when you choose install_directory so that you can not Do not overwrite that system's messa library, then compile your application using the option: -lGL -lOSMesa -ldl -L'install_directory / lib '-I'install_dir Ectory / include '


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -