![]() |
|
#1
|
|||
|
|||
Opengl in Gentoo linuxHi,
I have a problem in drawing opengl in Gentoo linux, my harware is AMD Geode board.Its a small intelligent board.This hardware does not support 3D drawings and GLX commands. My requirement is I want to draw a simple 2D using normal fltk window, I did this in windows(OS) in two different methods but the problem is with linux. 1.Get the window handle, Get device context and rendering context, set pixel format and start drawing. 2.Using glstart() and glFinish(). When I try the above two methods in linux it says the following error. 1.when i use glstart and glfinish along with glVisual, it says "Segmentation fault" in Gentoo linux deskop PC, and XopenIM() fail XLib: Extension "GLX" missing on display ":0.0" Insufficient GL support in Geode board. I am using gentoo linux in both desktop and geode board. My fltk version is V2.0.0, gentoo linux kernel version is genkernel-x86-2.6.23-gentoo-r8 I want to run the code in both desktop linux pc and in Geode board PC. thanks |
|||
|
#2
|
|||
|
|||
Opengl in Gentoo linuxHi,
Now i got rid of segmentation fault, but I could not clear the screen using glClearColor, I think the color buffers are not getting cleared.I doubt the rendering context. awaiting for inputs. thanks. |
|
#3
|
|||
|
|||
Re: Opengl in Gentoo linuxHi,
I made the opengl 2d working in gentoo linux in desktop pc, but not in my actual hardware. have anybody tried drawing opengl using normal gl commands in AMD geode board. thanks. |
|
#4
|
|||
|
|||
Re: Opengl in Gentoo linuxhi,
That's the end of the story. The problem is: Not able to use glx commands in fltk, due to the following error: XopenIM() fail XLib: Extension "GLX" missing on display ":0.0" Insufficient GL support The solution is: Download MesaLib-7.0.3.tar from http://sourceforge.net/project/showfiles.php?group_id=3 make install, you will get the library files like libgl.so.1 etc., and place it in usr/lib. And also download libglx.so(actually i had his file in my desktop pc) and place it in user/lib. Thanks. |
Recent GIDBlog
New Corolla Altis, 10th Generation - Part I by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How To Remove Linux And Install Windows? | rockaway | Computer Software Forum - Windows | 3 | 06-Mar-2008 21:00 |
| Help Old Computer Linux Network Planning | 6795 | Computer Software Forum - Linux | 1 | 09-Dec-2007 21:56 |
| Making a home linux server | crystalattice | Computer Software Forum - Linux | 6 | 16-Jan-2006 15:08 |
| Linux Kernel Upgrade Mini Howto | dsmith | Computer Software Forum - Linux | 3 | 05-Apr-2004 22:10 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The