[fpc-devel] fpc-image crashes on loading jpeg

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Sun Jul 25 09:42:43 CEST 2010


Ok, so in order to solve this problem I guess I need a RTL with debug
info, so in my Mac OS X I went for:

cd ~/Programas/fpctrunk/
make clean all install INSTALL_PREFIX=~/Programas/fpctrunk/install

Then set my Lazarus compiler path to
/Users/felipe/Programas/fpctrunk/install/lib/fpc/2.5.1/ppc386 which is
a 2.5.1 compiler

But when I try to rebuild the LCL I get:

/Users/felipe/Programas/fpctrunk/install/lib/fpc/2.5.1/ppc386 -gl
-Fu. -Funonwin32 -Fuforms -Fuwidgetset
-Fu/usr/local/lib/fpc/2.5.1/units/i386-darwin/rtl -Fiinclude -FE.
-FUunits/i386-darwin  -k-framework -kCarbon -k-framework -kOpenGL
-k'-dylib_file'
-k'/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib'
-di386 alllclunits.pp
Free Pascal Compiler version 2.5.1 [2010/07/25] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Darwin for i386
Compiling alllclunits.pp
PPU Loading /usr/local/lib/fpc/2.5.1/units/i386-darwin/rtl/system.ppu
PPU Invalid Version 114
/Users/felipe/Programas/lazarus/lcl/alllclunits.pp(1,1) Fatal: Can't
find unit system used by AllLCLUnits

Which makes no sense, because I just built the compiler, how can the
PPU version already be wrong?

Any ideas?

thanks,
-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list