A few questions for graphics toolkit project

Pavel Pisa ppisa4lists at pikron.com
Mon Aug 20 18:50:38 UTC 2012


Hello Alex,

On Sunday 19 August 2012 13:35:28 Alexandru-Sever Horin wrote:
> I've finished and tested the driver for QEMU Cirrus, and it works.
> It is based on code from xf86 Cirrus driver, so the licence should not
> be a problem.
>
> https://github.com/alex-sever-h/rtems/blob/master/c/src/lib/libbsp/i386/pc386/console/fb_cirrus.c 
https://github.com/alex-sever-h/rtems.git
>
> I wanted to ask what is the best choice for linking it, because, for
> now, it is hardcoded in makefile.am replacing the VGA driver.

the decision about build/linking selection should be suggested by
core developers. We should/has to go this way now, runtime selection
should be next, separated step.

As for fb_cirrus.c, I ACK that it should be included in RTEMS mainline
(only header wording should be cleaned - my previous reply).

I done fresh build from all your actual sources of rtems-graphic-toolkit.
I have found next minor problem in do_it script

--------------------------------------------------------- 
diff --git a/do_it b/do_it
index 13cac1c..9101697 100755
--- a/do_it
+++ b/do_it
@@ -429,7 +429,7 @@ j_nxlib()
     check_status $? Could not make distclean ${NXLIB}
   fi
 
-  cd ../..
+  cd ..
 }
 
 if [ ${do_nxlib} = yes ] ; then
--------------------------------------------------------- 

As for FLTK, there seems to be problem on my build
with autoconf generated rtems-graphics-toolkit/fltk-1.3.0/makeinclude
file.

If the FreeType libraries are installed in /opt/rtems4.11/i386-rtems4.11/pc686/lib
and MWin uses FreeType then the FLTK does not list freetype between required
libraries

I have solved the problem by editting next lines

  LDLIBS          = -lm  -lX11 -lnano-X -ltiff -lt1
  GLDLIBS         =  -lm  -lX11 -lnano-X -ltiff -lt1

to include -lfreetype 

  LDLIBS          = -lm  -lX11 -lnano-X -lfreetype -ltiff -lt1
  GLDLIBS         =  -lm  -lX11 -lnano-X -lfreetype -ltiff -lt1
.

Then most of the examples builds. Remark: Fails of openGL based and Fluid
based ones and ones with fifos, forks, exec etc. are expected.

So generally project provides usesfull work. Thanks for contribution.

Update of the documentation in Wiki is of highest priority now

  http://wiki.rtems.org/wiki/index.php/RTEMSGraphicsToolkit

and integration of the changes in GITs on RTEMS.org.

Best wishes,

                Pavel



More information about the devel mailing list