> > ld: table of contents for archive: /Users/madgraph/loic_Debug/
> > FROG_2_0_2/frog/Lib/libfltk_z.a is out of date; rerun ranlib(1)
> > (can't load from it)
>
> On OSX this is normal. Annoying, but normal.
> The OSX linker knows the path a library was linked at, and if the
> library is moved to some other path, it needs to be updated to
> reflect the new location. You do this by running ranlib on the lib
> file once it is copied to the new location (as suggested in the error
> message.)
> I don't know why they chose to do that with their linker, but that's
> the way it is.

OK, got it!
It compiles now ;)

> > also I noticed that no .dylib files are created for jpeg, z and png
> > lib libraries...  Is that normal?
>
> Are you building the dynamic libs? The fltk default is to only
> generate static libs, so I would not expect the dylibs to be
> generated unless you have gone out of your way to generate them
> specifically.

Yes, I am building using these tags:
./configure --silent --enable-localzlib --enable-localpng --enable-localjpeg 
--enable-shared

and I indeed see that I get the .dylib for all the other fltk lib.
I believe that the objects from png, z and jpeg lib are included in the 
fltk_image.dylib

which is somehow funny, because on linux, there are separated .so files...
In any case, it is not a big deal...

I have an other problem now... (sorry for that... ;) )
when I try to execute my exe, I get the following error:

> ./frog
dyld: Library not loaded: 
/Users/madgraph/loic_Debug/FROG_2_0_2/frog/Lib/libfrog.dylib
  Referenced from: /Users/madgraph/loic_Debug/FROG_2_0_2/frog/./frog
  Reason: image not found
Trace/BPT trap

any idea of what it can be?
I suspect it can be a problem on my system...

I have updated the tarball
http://www.fynu.ucl.ac.be/users/l.quertenmont/TEMP/FROG_2_0_2_mac.tar.gz


thanks again for the precious help,

Loic










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

Reply via email to