On 11 Jul 2009, at 18:17, pawel wrote:
>
> Thanks Ian, I did a make uninstall, and thought I had told my IDE  
> where to look for things, I'm still being asked for libfltk.a.  I  
> understand it's a library archive but doesn't seem to be part of  
> the fltk bundle.  Can I ask about this 'libfltk.a', that is where's  
> it's from, or how I can make it not relevant?  (I'm still  
> moderately new to linux development so still unfamiliar with  
> 'obvious' things.)  and BTW you mention the build tree.  Is that  
> just the unpacked tar package?

OK, here we go. I guess I had assumed, from your earlier questions,  
that you had more of a background already...

Yes, you need the fltk libraries, you can not make then "not  
relevant", they are not in the tarball. They are built from the  
tarball. We do not distribute any binaries, only sources, so you must  
always build all the binary components yourself.

(I forget what platform you are on, but this HowTo gives some tips.  
It was written for cygwin/mingw users on win32 but most of the steps  
are relevant on any platform http://www.fltk.org/articles.php?L598 )

To do that, you download the latest snapshot tarball for 1.3 from the  
fltk website.
(probably fltk-1.3.x-r6826.tar.bz2)

Untar that in some safe working directory somewhere (lets say "/my/ 
fltk/dir" for the sake of this description, but /home/pawel/working/ 
fltk might be a better guess!)

        tar -jxf fltk-1.3.x-r6826.tar.bz2

Then cd into the fltk folder this creates, and run configure:

        cd /my/fltk/dir
        ./configure

Check for any warnings about missing development headers and etc.  
then if necessary install whatever extra packages are needed on your  
distro. Keep re-running configure untill all the bits are in place.

Then do a make.
Once the build completes, the fltk libs will be in the folder /my/ 
fltk/dir/libs and the headers will be in /my/fltk/dir/FL

So you need to add /my/fltk/dir/FL to your IDE's include paths and / 
my/fltk/dir/libs to the IDE library paths.

Thereafter, all should be well. If not, it's probably time for you to  
do some reading, as this stuff is pretty basic and is off-topic for  
this forum!

Hope that is helpful.
-- 
Ian


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

Reply via email to