Important: The LCL unit output directories have changed: The LCL ppu files are now in…
Vincent Snijders wrote 11 lines
I fixed this by downloading cvs source to a new directory. :-) Too much christmas stuff still undone to take the time!

Mailing lists / lazarus / 2003-12
9 messages · 3 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Important: The LCL unit output directories have changed: The LCL ppu files are now in…
I fixed this by downloading cvs source to a new directory. :-) Too much christmas stuff still undone to take the time!
Important: The LCL unit output directories have changed: The LCL ppu files are now in…
Sounds like the directory is not there or is readonly. Did you use the -d option for cvs update?
cvs -z3 update -dP
Mattias
Important: The LCL unit output directories have changed: The LCL ppu files are now in…
Error Status update: after cvs checkout instead of update, I get the following error:
Target OS: Linux for i386
Compiling allsyneditunits.pp
Compiling synedit.pp
synedit.pp(69,30) Fatal: Can't find unit MESSAGES
make[2]: *** [allsyneditunits.ppu] Error 1
make[2]: Leaving directory `/usr/share/lazarus/components/synedit' make[1]: *** [synedit_all] Error 2
make[1]: Leaving directory `/usr/share/lazarus/components' make: *** [components] Error 2
Important: The LCL unit output directories have changed: The LCL ppu files are now in…
I had the same error the first time I tried. After that I removed all existing files in lazarus/lcl/units. After that it compiled fine.
Important: The LCL unit output directories have changed: The LCL ppu files are now in…
Strange. The synedit does not get the lcl/units/ path any longer. Where does it come from?
Mattias
Important: The LCL unit output directories have changed: The LCL ppu files are now in…
Arghh! help?
Error compiling lazarus after cvs update:
TOutputFilter: "Free Pascal Compiler version 1.0.11 [2003/10/22] for i386" TOutputFilter: "Copyright (c) 1993-2003 by Florian Klaempfl" TOutputFilter: "Target OS: Linux for i386"
TOutputFilter: "Compiling alllclunits.pp"
TOutputFilter: "Compiling lclstrconsts.pas"
TOutputFilter: "Writing Resource String Table file: units/i386/linux/lclstrconsts.rst"
TOutputFilter: "lclstrconsts.pas(185) Error: Writing Resource String Table file: $1"
TOutputFilter: "lclstrconsts.pas(185) Fatal: There were 1 errors compiling module, stopping"
TExternalToolList.Run /usr/share/lazarus/lcl/lclstrconsts.pas(185) Fatal: There were 1 errors compiling module, stopping TPascalParserTool.BuildTree B OnlyIntf=TRUE
/usr/share/lazarus/lcl/lclstrconsts.pas
Error after "make":
make
make -C lcl all
make[1]: Entering directory `/usr/share/lazarus/lcl' /bin/rm -f units/i386/linux/alllclunits.ppu
/usr/bin/ppc386 -gl -Fu./units/gtk -Fu./units -Fu. -Funonwin32 -Fu/usr/lib/fpc/1
.0.11/units/linux/rtl -Fu/usr/lib/fpc/1.0.11/units/linux/paszlib -Fu/usr/lib/fpc
/1.0.11/units/linux/netdb -Fu/usr/lib/fpc/1.0.11/units/linux/libasync -Fu/usr/li
b/fpc/1.0.11/units/linux/pthreads -Fu/usr/lib/fpc/1.0.11/units/linux/fcl -Fu/usr
/lib/fpc/1.0.11/units/linux/mysql
-Fu/usr/lib/fpc/1.0.11/units/linux/ibase -Fu/u
sr/lib/fpc/1.0.11/units/linux/sqlite
-Fu/usr/lib/fpc/1.0.11/units/linux/x11 -Fu/
usr/lib/fpc/1.0.11/units/linux/opengl
-Fu/usr/lib/fpc/1.0.11/units/linux/gtk -Fi
include -FUunits/i386/linux -Fl/usr/lib/gcc-lib/i386-linux/3.2.3 -Fl/usr/X11R6/l
ib -Fl/home/ken/kylix3/bin -Fl/usr/local/lib -di386 alllclunits.pp Free Pascal Compiler version 1.0.11 [2003/10/22] for i386 Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Linux for i386
Compiling alllclunits.pp
Compiling lclstrconsts.pas
Writing Resource String Table file: units/i386/linux/lclstrconsts.rst lclstrconsts.pas(185) Error: Writing Resource String Table file: $1 lclstrconsts.pas(185) Fatal: There were 1 errors compiling module, stopping make[1]: *** [alllclunits.ppu] Error 1
make[1]: Leaving directory `/usr/share/lazarus/lcl' make: *** [lcl] Error 2
Important: The LCL unit output directories have changed: The LCL ppu files are now in…
Please send more output. Especially the unit paths for synedit and the compilation of the LCL can help.
Mattias
Hi all,
Important:
The LCL unit output directories have changed:
The LCL ppu files are now in
lazarusdir/lcl/units/i386/linux/
and
lazarusdir/lcl/units/i386/linux/gtk
If you use the LCL package for your projects, you don't need to bother.
Several output directories are now splitted into sub directories for target processsor, target operating system and LCL widget set. Now you can use one lazarus directory for cross compilation.
I also improved the package system, so cross compilation will now automatically cross compile required packages.
The IDE itself still needs one directory per target. (not a big problem).
There were quite a lot of combinations without all the cross compilation stuff, and the new possibilities are far beyond what I can test. There are some tricks to optimize projects and packages for cross compilation and easy switching between targets. Or saying it negative: There are some newbie traps, which can result in some unpleasant results. I will add some hints/details to the wiki in the next days.
Mattias
I have updated the cross compilation wiki at
http://lazarus-ccr.sourceforge.net/index.php?wiki=CrossCompilingForWin32UnderLinux
The name ForWin32UnderLinux part is somewhat obsolete, because with the fpc scripts (afaik Marco wrote them) other targets work the same.
Everyone is invited to improve this page.
This page also describes the use of IDE macros for projects and packages, which can save you a lot of compile time.
Mattias