-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbuild.txt
51 lines (32 loc) · 1.56 KB
/
build.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
ftk/README has described the general steps of building, here are some special
configure options for FTK:
--enable-cairo
build with cairo support.
--enable-bidi
build with bidi support(NOT tested yet)
--enable-opengles
build with opengles support.
--enable-tslib
build with tslib support, tslib is a library to handle touchscreen event,
if you has a resistive touchscreen, you should enable this option.
--with-fontengine
there are two options: default and freetype, generally freetype is better
choise, but if you don't want to depend on freetype, or freetype is
unavailable, use default instead.
--with-backend
backend means how to display bitmap on the screen and how to get the input
device events. there are three options now:
linux-x11:WxH With this option, FTK will run on X11 for emulation. W and H is
the width and height of the emulator. For exmaple, with the following value,
it will create a emulation window with 320 pixels width and 480 pixels height.
--with-backend=linux-x11:320x480
linux-fb With this option, FTK will run on linux framebuffer, this is
default value.
linux-st7781 With this option, FTK will run on linux with lcm st7781
linux-vlcd With this option, FTK will run on virtual framebuffer. I wrote a
emulator for FTK base on memfb and uinput, with a vnc server and vncviever,
FTK can run on VNC.
linux-dfb With this option, FTK will run on DirectFB, FTK does not use
DirectFB Windows system, just use it to abstract display and input device, so
you can utilize DirectFB hardware acceleration.
See tools/cross-build/README for cross building.