How To Install Fl_Table Into Your Own Project

The Fl_Table project can either be added to FLTK, or installed as a subdirectory either inside your own project, or in a separate directory that all your projects can refer to.

Just be sure to compile with the -I (include) flag pointing to where the Fl_Table directory is, and to link in the Fl_Table.o file left in that directory after doing a 'make'.

Installing Fl_Table Into Your Project's Directory

Here's an example of how to install Fl_Table into your project's own directory:
        ../src/YourApp/
	        |
	        |-- YourApp.C
		|-- YourApp.H		     -- Contains "#include <FL/Fl_Table.H>"
		|-- Makefile		     -- Compiles with "-I./Fl_Table", links with ./Fl_Table/Fl_Table.o
		|-- Fl_Table                 -- Fl_Table installed as a subdirectory
		:       |
		        |-- FL
			|   |
			|   |-- Fl_Table.H
			|   :
			|
			|-- Fl_Table.o
			|-- Makefile
			:
    
This way you can still just have "#include <FL/Fl_Table.H>" in your C++ files. Just use "-I./Fl_Table" as one of the compile flags, and the #include will resolve correctly.

During linking, be sure to link in "./Fl_Table/Fl_Table.o" as part of the link instructions for your app.