Home > development > Creating fltk apps with Xcode

Creating fltk apps with Xcode

If you are tired of heavy-weight (but still decent) GUI tool kits like Qt 4 or wxWidgets, you should take a look at fltk. A statically linked, Intel-only “hello world” takes just 212kb on Mac OS X:

fltk on Mac OS X 10.5

Feel free to  use this simple quickstart (zip, < 900kb, incl. fltk 1.3) if you’d like an Xcode sample project.

Tags:
  1. Priyesh
    March 31st, 2010 at 07:50 | #1

    Thank you! I’ve been fighting with Xcode for hours trying to get it up and running and your quickstart did it in 5 seconds :)

    Now I can actually get some work done

  2. josh
    January 16th, 2011 at 17:05 | #2

    Thanks, spent too long trying to get it to work. :D

  3. CHris
    January 26th, 2011 at 07:10 | #3

    Would you happen to have a 1.3 (x86_64) version of that quickstart project?

    I’m deeply impressed with FLTK and your carbon example, above, but I need 64-bit memory spaces and eventually to integrate this into a CS5 plugin.

  4. January 26th, 2011 at 18:25 | #4

    @CHris: FLTK developers added a patch for v1.3 that resolved problems with Carbon in November 2010. Since then, FLTK can be built for 64bit processors on Mac OS X 10.6 Snow Leopard. They are using cmake now, so building it and creating Xcode projects is quite easy.

  1. No trackbacks yet.

 
Performance Optimization WordPress Plugins by W3 EDGE