[Lazarus] Lazarus 0.9.25 snapshot 20080831 for Mac OS X fails to run (solved?)
T.Verhoeff at tue.nl
Mon Sep 1 21:04:08 CEST 2008
On Mon, Sep 01, 2008 at 07:44:25PM +0200, Mattias Gaertner wrote:
> On Mon, 1 Sep 2008 15:55:33 +0200
> Tom Verhoeff <T.Verhoeff at tue.nl> wrote:
> > On Sun, Aug 31, 2008 at 11:15:05PM +0200, Mattias Gaertner wrote:
> > Using util /usr/bin/ld
> > An error occurred while linking
> > Error: Error while linking.
> Nothing else?
> Normally the linker writes some more information.
Nothing else! It goes on with Fatal: There were 1 errors ...
> > This is the command that Lazarus issues:
> > ppc386 -Sca -MObjFPC -CirotR -O1 -gl -k-dylib_file
> > -k'/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib'
> > -k-framework -kCarbon -k-framework -kOpenGL -k'-dylib_file'
> > -k'/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib'
> > -WG -vewnhiut -l -Fu/usr/local/share/lazarus/lcl/units/i386-darwin/
> > -Fu/usr/local/share/lazarus/lcl/units/i386-darwin/carbon/
> > -Fu/usr/local/share/lazarus/packager/units/i386-darwin/ -Fu. -oHello
> > -dLCL -dLCLcarbon hello.lpr
> > (By the way, is there a simple way to get at that command and be able
> > to copy it to the clipboard?)
In the Carbon version for Mac OS X, you cannot copy (command-C) the
contents of the Show Options window. You can see the options and
retype them. But *.compiled is indeed the place to look.
By the way, I probably deleted some "older" (?) files from the directory,
and now the compile is successful!
Then I still needed to set Project Options > Application,
Use Application Bundle... (is that really needed?)
And it runs :-)
Thanks for the help. Now onto something bigger.
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 41 25 | Technische Universiteit Eindhoven
FAX: +31 40 247 54 04 | PO Box 513, NL-5600 MB Eindhoven
http://www.win.tue.nl/~wstomv/ | The Netherlands
More information about the Lazarus