On 22.02.2013 03:09, edgar wrote:
>>
>> On 21 Feb 2013, at 20:33, edgar wrote:
>   Hi Ian - that fixed it! Thanks!!! I've been able to compile numerous tests 
> and play around with the font size and style.
>
>    Here is a different issue:
>
>    the fltk-config --complile is not finding FL_Box.
>
>    I typed fltk-config --complile hello.cxx
>
>    and get an error message .... /hello.cxx:7: undefined reference to 
> 'FL_Box::Fl_Box(int, int, int, int, char const*)'
>
>    It is finding FL_Window but not FL_Box ...
>
>   But it will compile programs that do not require FL_Box.
>    I am assuming it is located in libfltk.a which is in usr/lib/x86_64-   
> linux-gnu  - Is that correct?

No, according to your previous posting this is not correct!
There you wrote:

 > Here is what I did:
 >
 > tar -xvzf fltk-1.3.2-source.tar.gz
 > cd fltk-1.3.2
 > ./configure
 > make
 > #make install

I presume you meant that you did not run "make install". That's
fine and is the recommended way for development (recommended
by the fltk developer team). However, if ther is some older
version in the system library/include area (path), then you
may get conflicts, if you don't take care.

>   Any suggestions?

Use the /full/path/to/fltk-config (not only fltk-config, as
you wrote above) to compile your test program. This should
pull in all required files from the fltk library you just
compiled (if it is in "/full/path/to/...").

However, there's still one small possibility that you might
get the wrong lib when _running_ your app (this is not the
case if you get linker errors as you wrote). To be absolutely
sure you should maybe run configure with --disable-shared so
that the shared libs are not built, but this is the default
anyway.

If you are trying to build fltk from source, as you described,
then you should consider uninstalling the system fltk package
and all fltk versions you may have installed previously,
unless you need fltk for another system-supplied package.

Albrecht

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

Reply via email to