Can't compile against GTK anymore
Original Reporter info from Mantis: Phil
-
Reporter name:
Original Reporter info from Mantis: Phil
- Reporter name:
Description:
Compiling project against GTK widgetset now gives this link error:
"can't locate file for: -lglib-1.2.0"
In 0.9.26 I believe Lazarus always passed -Fl/usr/X11R6/lib -Fl/sw/lib to FPC, with the assumption that this is where X11 and GTK are located. This also still appears to be the assumption of the wiki documentation:
http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips
I have dozens of test projects that I compile from a script with lazbuild. It appears as though I will need to manually add the -Fl's to these projects.
Also, the instructions for telling Lazarus where GTK is in the wiki are not correct, at least this does not work on Tiger:
export DYLD_FALLBACK_LIBRARY_PATH
This wiki tip also will not work if Lazarus is no longer passing /sw/lib to FPC:
sudo ln -s /opt/local /sw
Thanks.
-Phil