/docs/build.txt

http://ftk.googlecode.com/ · Plain Text · 51 lines · 32 code · 19 blank · 0 comment · 0 complexity · 3a598c6f6dcbe14a842d19a32a0a7f0d MD5 · raw file

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