On 30 Sep 2007, at 9:50, Gonzalo Garramuño wrote: > Greg Ercolano wrote: >> >> I'm curious that I've properly followed FLTK2's API style; I >> basically >> set it up so that its all fltk::NativeFileChooser namespace style. >> > > I can confirm that it does not work for latest fltk2. > Linking fails due to: > undefined reference to `fltk::FileIcon::load_system_icons()'
Odd - it works completely fine for me. I just built this test for fltk-1.1 and fltk-2 on my Mac(10.4.10) and linux(FC7) using fltk-2-r5940 and in both cases it works just fine. OK - just ran a test with Msys/mingw on winXP - that also seems fine, although I get a few warnings at build time that I don't see on the linux and OSX builds... FLTK-1.1 Fl_Native_File_Chooser_WIN32.cxx: In member function `int Fl_Native_File_Chooser::showfile()': Fl_Native_File_Chooser_WIN32.cxx:321: warning: field precision is not type int (arg 3) common.cxx: At global scope: common.cxx:58: warning: 'char* strapp(char*, const char*)' defined but not used Fl_Native_File_Chooser_WIN32.cxx:61: warning: 'void dnullprint (char*)' defined but not used FLTK-2 Fl_Native_File_Chooser_WIN32.cxx: In member function `int fltk::NativeFileChooser::showfile()': Fl_Native_File_Chooser_WIN32.cxx:321: warning: field precision is not type int (arg 3) common.cxx: At global scope: common.cxx:58: warning: 'char* strapp(char*, const char*)' defined but not used Fl_Native_File_Chooser_WIN32.cxx:61: warning: 'void dnullprint (char*)' defined but not used Basically, the same thing warnings in both cases, then. Cheers, -- Ian _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

