Hi,

Today I tryed again to use lazarus with gtk2 under Mac OS X. I reviwed
old e-mails, and synthetised some instructions:

http://wiki.lazarus.freepascal.org/GTK2_Interface#Using_the_Gtk2_interface_under_Mac_OS_X

Lazarus compiles file, but when I try to run it, I get:

felipe2:~/Programas/lazarus felipemonteirodecarvalho$ ./lazarus
dyld: Library not loaded: /usr/local/lib/libgtk-x11-2.0.0.dylib
  Referenced from: /Users/felipemonteirodecarvalho/Programas/lazarus/./lazarus
  Reason: image not found
Trace/BPT trap

I tryed adding a new line to fpc.cfg, which would be:

-k'-dylib_file'
-k'/usr/local/lib/libgtk-x11-2.0.0.dylib:/Applications/Gimp.app/Contents/Resources/lib/libgtk-x11-2.0.0.600.10.dylib'

I also tryed similar lines adding the .600.10 to the first part, but
it doesn't seam to help.

Any ideas?

thanks,
-- 
Felipe Monteiro de Carvalho

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to