2 fltk, Fltk – Sony XCI-SX1 User Manual

Page 19

Advertising
background image

XCI-SX1 SDK / SDK Technical Manual

-----------------------------------------------------------

#!/bin/sh

# xinitrc - X11 start-up script
# - customized for the Sony Smart Camera Project
# 10/11/04 update

/usr/X11R6/bin/xsetroot -solid smartcolor &
/usr/X11R6/bin/xterm -bg black -fg white -cr yellow -geometry
120x45+0+0 -ls -display $DISPLAY &
/usr/X11R6/bin/xterm -bg black -fg white -cr yellow -geometry
120x45+50+50 -ls -display $DISPLAY &
/etc/init.d/launch_it launcher start &

# if you simulate the target system, uncomment the next line.
xset r rate 400 75

# launch Window Manager
/usr/X11R6/bin/twm
-----------------------------------------------------------

• /usr/X11R6/lib/X11/twm/system.twmrc

Please refer to the installed files.

• /usr/X11R6/lib/X11/rgb.txt

This line has been appended on the rgb.txt file.

-----------------------------------------------------------

30 35 51 smartcolor

-----------------------------------------------------------

2.5.2 FLTK

FLTK is a C++ graphical user interface toolkit that provides GUI
functionality without the bloat and supports 3D graphics. FLTK is
provided under the terms of the GNU Library Public License, Version 2
with exceptions that allow for static linking. (http://www.fltk.org/)

The minimum requirement for the system is version 1.1.4, which is also
the FLTK version installed in SDK. Make sure that the X11 library is
already installed before building the FLTK library. To start FLTK
installation, go to /usr/src/fltk-1.1.4. Listed below are the steps
taken to install the FLTK library.

1. ./configure -–enable-shared

17

Advertising