Paul Blay wrote:
> Using the test code "as is" from ft_table I get the following linker errors.
> (Compiling with VC++ on Windows XP)
>
> Can anyone (perhaps successful users of f1_table) suggest how I could get it
> to work?
>
> testtablerow.obj : error LNK2019: unresolved external symbol "public: int
> __thiscall Fl_Table_Row::row_selected(int)"
> (?row_selec...@fl_table_row@@qa...@z) referenced in function "protected:
> virtual void __thiscall DemoTable::draw_cell(enum
> Fl_Table::TableContext,int,int,int,int,int,int)"
> (?draw_c...@demotable@@maexw4tablecont...@fl_table@@hhh...@z)
> testtablerow.obj : error LNK2019: unresolved external symbol "public: virtual
> void __thiscall Fl_Table_Row::rows(int)" (?r...@fl_table_row@@ua...@z)
> referenced in function _main
> testtablerow.obj : error LNK2001: unresolved external symbol "protected:
> virtual int __thiscall Fl_Table_Row::handle(int)"
> (?han...@fl_table_row@@ma...@z)
It would appear Fl_Table_Row.obj is not being linked into the app.
That is why it's saying Fl_Table_Row::xxxx is unresolved.
Make sure *both* Fl_Table.obj and Fl_Table_Row.obj are being linked
to the app, as the app is using both classes.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk