> Hi, I have sub classed Fl_group and I have added some header files and source 
> files, I have reconfigured the lib; 
> the compiler could find the header files but he didn't find the source files. 
> how can I link them

The fltk-config file should automagically do this for you. You should only need 
a simple command like
"fltk-config --compile file.cxx".
If you're compiling under gcc using multiple files, or want to put something in 
a makefile, the options that fltk-config has can be mixed and matched to 
achieve what you need. For instance, a simple way to compile multiple files:
"gcc file1.cxx file2.cxx ... `fltk-config --cxxflags` -o a.out `fltk-config 
--ldflags`", or some variation of that.
HTH.

Ben
                                          
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to