Robin's FLTK Build Notes
Robin.Rowe@MovieEditor.com

4-13-05

- Eliminate dependencies on libjpeg, zlib, and libpng
  Remove FL_JPEG_Image.cxx
  Remove FL_PNG_Image.cxx
  undef in config.h
- Too much junk, create new vcproj from scratch
  bring in everything from Fl and src
  Ugh, mac, x, and win32 files all in same dir!
  move: scandir_win32.c fl_color_mac.cxx fl_dnd_mac.cxx fl_font_mac.cxx
	Fl_get_key_mac.cxx fl_read_image_mac.cxx fl_set_fonts_mac.cxx fl_draw_image_mac.cxx Fl_mac.cxx
	fl_dnd_x.cxx fl_font_x.cxx fl_set_fonts_x.cxx fl_set_fonts_xft.cxx fl_font_xft.cxx Fl_x.cxx
	fl_font_wind32.cxx fl_set_fonts_win32.cxx fl_read_image_win32.cxx fl_dnd_win32.cxx
	fl_draw_image_wind32.cxx Fl_get_key_win32.cxx fl_color_win32.cxx
	cump_compose.cxx cmap.cxx
  preprocessor: WIN32;FL_DLL;FL_LIBRARY;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;WIN32_EXTRA_LEAN
  include: ..,.
  OPENGL32.LIB
  WSOCK32.LIB
  COMCTL32.LIB (unresolved external symbol __imp___TrackMouseEvent)

9-14-05

- Create libfltk project (non-dll version) 
- Same as above except w/o these two defines:
  
  FL_DLL = Exporting or importing DLL symbols
  FL_LIBRARY = Exporting DLL symbols
  
  preprocessor: WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;WIN32_EXTRA_LEAN
  include: ..,.
  OPENGL32.LIB WSOCK32.LIB COMCTL32.LIB
  
- Don't build:
  vsnprintf.c
  any of the files in win32 folder
  
- Added Fl_OS_port.cxx - avoids putting any win32 stuff explicitly in project
  FLTK did every win32 .cxx file as a #include in src except one
  
  
To get rid of the console window:

- Visual Studio .NET edit project properties -> Linker -> System and set 
  "SubSystem" to "Windows"
- Visual C++ 6 add the switch "/subsystem:windows" manually to the linke settings

Note: Always include winsock2.h BEFORE windows.h or winsock.h


