> 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

Actually, the error message is the following:

>./frog
dyld: Library not loaded: /usr/local/lib/libfltk_gl.1.1.dylib
  Referenced from: /Users/madgraph/loic_Debug/FROG_2_0_2/frog/./frog
  Reason: image not found
Trace/BPT trap

if I do:
>ld Lib/libfrog.dylib
ld: warning can't open dynamic library: /usr/local/lib/libfltk_gl.1.1.dylib 
(checking for undefined symbols may be affected) (No such file or directory, 
errno = 2)
ld: warning can't open dynamic library: /usr/local/lib/libfltk_images.1.1.dylib 
(checking for undefined symbols may be affected) (No such file or directory, 
errno = 2)
ld: warning can't open dynamic library: /usr/local/lib/libfltk_forms.1.1.dylib 
(checking for undefined symbols may be affected) (No such file or directory, 
errno = 2)
ld: warning can't open dynamic library: /usr/local/lib/libfltk.1.1.dylib 
(checking for undefined symbols may be affected) (No such file or directory, 
errno = 2)
ld: warning can't open dynamic library: /usr/local/lib/libfltk_gl.1.1.dylib 
(checking for undefined symbols may be affected) (No such file or directory, 
errno = 2)
ld: warning can't open dynamic library: /usr/local/lib/libfltk_images.1.1.dylib 
(checking for undefined symbols may be affected) (No such file or directory, 
errno = 2)
ld: warning can't open dynamic library: /usr/local/lib/libfltk_forms.1.1.dylib 
(checking for undefined symbols may be affected) (No such file or directory, 
errno = 2)
ld: warning can't open dynamic library: /usr/local/lib/libfltk.1.1.dylib 
(checking for undefined symbols may be affected) (No such file or directory, 
errno = 2)

so it seems that it looks for the libfltk*.dylib file in /usr/local/lib/.
While I put those files in the /Lib directory of my project...
adding -LLib in argument of 'ld' doesn't change anything...
should I update the path of the dylib like I had to do it for the .a ?
how can I do this?

Thanks again for help,
Loic








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

Reply via email to