DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2386 Version: 1.3-current Build All gets up to fluid under Visual C 5.0 then breaks with the following errors: --------------------Configuration: fluid - Win32 Debug-------------------- Compiling... Command line warning D4002 : ignoring unknown option '/ZI' about_panel.cxx align_widget.cxx alignment_panel.cxx code.cxx CodeEditor.cxx factory.cxx file.cxx Fl_Function_Type.cxx Fl_Group_Type.cxx Fl_Menu_Type.cxx Fl_Type.cxx Fl_Widget_Type.cxx Fl_Window_Type.cxx fluid.cxx Fluid_Image.cxx function_panel.cxx template_panel.cxx undo.cxx widget_panel.cxx Linking... fltkd.lib(fl_rect.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_System_Printer::device_type" (?device_t...@fl_system_printer@@2PBDB) fltkd.lib(fl_draw_image.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_System_Printer::device_type" (?device_t...@fl_system_printer@@2PBDB) fltkd.lib(Fl_Pixmap.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_System_Printer::device_type" (?device_t...@fl_system_printer@@2PBDB) fltkd.lib(Fl_Double_Window.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_System_Printer::device_type" (?device_t...@fl_system_printer@@2PBDB) fltkd.lib(fl_font.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_System_Printer::device_type" (?device_t...@fl_system_printer@@2PBDB) fltkd.lib(Fl_Bitmap.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_System_Printer::device_type" (?device_t...@fl_system_printer@@2PBDB) fltkd.lib(Fl_Double_Window.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_Display_Device::device_type" (?device_t...@fl_display_device@@2PBDB) fltkd.lib(Fl.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_Display_Device::device_type" (?device_t...@fl_display_device@@2PBDB) fltkd.lib(Fl.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_GDI_Graphics_Driver::device_type" (?device_t...@fl_gdi_graphics_driver@@2PBDB) fltkd.lib(Fl.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Surface_Device::set_current(void)" (?set_curr...@fl_surface_device@@UAEXXZ) ../../fluid/fluidd.exe : fatal error LNK1120: 4 unresolved externals Error executing link.exe. CubeViewd.exe - 11 error(s), 1 warning(s) ...tried changing the definitions to public: // static const char *device_type; static char const * const device_type; still breaks. Other libraries seem to link OK. Unclear whether fltkd.lib at 8,689KB is broken by this or not, or just fluid.lib which never gets generated. Maybe you can tell me what's going on here? Other patches: glut_compatibility.cxx: Compiler somehow allergic to the variable f being defined as a pointer to void function inside a formal arg list. Fixed with: //JKM///////////////// typedef void (*PointerToFunction)(); //////////////////////// // Add a mechanism to handle adding/removing the glut idle function // without depending on the (deprecated) set_idle method. //void glutIdleFunc( void (*f)() ) void glutIdleFunc( PointerToFunction f ){... screen_xywh.cxx //Must place multimon.h in top FLTK directory. Fl_win32.cxx // JKM////////////////////////////// #if defined(_WIN64) typedef unsigned __int64 UINT_PTR; #else typedef unsigned int UINT_PTR; #endif //////////////////////////////////// Fl_Native_File_Chooser_WIN32.cxx /////////JKM/////////////////////// #define OFN_ENABLESIZING 0x00800000 #ifndef BFFM_VALIDATEFAILED #ifndef UNICODE #define BFFM_VALIDATEFAILED 3 #else #define BFFM_VALIDATEFAILED 4 #endif #endif //!BFFM_VALIDATEFAILED //////////////////////////////////// everything else compiled. Keep up the good work. Keep things simple and fast, which pretty much means staying away from <std>. Link: http://www.fltk.org/str.php?L2386 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
