> My product has to be "customizable". In practice, I build the > basic firmware, then the customers will build their own > applications. Therefore, all the possible FLTK widgest must > be present in the filesystem. > > In this case (i.e., library compiled with all widgets) can > you tell me the size required by the FLTK library on Flash > and RAM ? I don't need the exact value: an estimation is ok.
The base libfltk.a runs to about 1MB on this particular box - I guess you'll get some variation with architecture, host platform, windowing system and so forth. That's uncompressed, of course - the compressed lib is about 320k. I assume your flash file system is compressed, naturally. What host development system do you have? You could easily (and perhaps you already have) built fltk yourself on your host system, or better yet used your cross-compiler to build a snapshot of fltk for your target hardware, and ascertained exactly how big the fltk lib will be for your target platform that way. Fltk itself is very small so it only takes a few minutes to configure/make the base libraries from scratch. > [ As I said, I have very strict constraints on space (RAM and > Flash), so I'm afraid FLTK won't fit into the memory... ] I confess I don't understand what it is that you are trying to do. It sounds like you want to give your users the means to build their own custom GUI interfaces, but are planning to do this on this (resource constrained) device itself. Where I have seen this done in the past (i.e. custom GUI configuration for embedded hardware) it has invariably been done on a "host" PC that had the full library and tools (and which was *not* resource constrained of course.) The custom app object built on the host PC was then stripped and compressed before being transferred onto the embedded hardware. I am sure there are good reasons why you are not taking this approach for your application, but given the very constrained nature of the hardware you have, I think you may be facing rather too much of a challenge. Can we ask why it is so constrained by the way? The figure you quoted for FLASH and RAM are really very small by current standards... > > > 3. Does FLTK work on framebuffer ? > > > > There is a port of the 1.1.x series for framebuffer use, > but the core > > fltk does not. > > > > > 4. Does FLTK support DirectFB ? If so, which version of FLTK=20 > > > supports which version of DirectFB ? (I heard that the=20 > > > DirectFB support is not available on the most recent version=20 > > > of FLTK...) > > > > It is not "officially" available with any version of fltk, > but as I say, > > there are ports around that do work. > > You do lose some functionality however - for example I > don't think the > > FB version has GL support, that sort of thing. > > > > Can you not just run tiny-X/kdrive? That ought to fit on > your target and > > is compatible enough that X apps Just Work without messing > about with > > frame buffer support and so forth. > > Works fine on my OMAP demo board at any rate, which doesn't > have *that* > > much more memory... > > How much memory do you have ? > > 4MB of Flash seems too small to contain U-Boot + Linux + > Filesystem with kdrive + fltk... but I may be wrong (and I hope so) > > Many thanks, > > Claudio > _______________________________________________ > fltk mailing list > [email protected] > http://lists.easysw.com/mailman/listinfo/fltk > > SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

