Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
unable to rebuild Lazarus
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Basic canvas drawing
by
Jonny
[
Today
at 05:51:58 pm]
SnapTRAINER
by
jclavier
[
Today
at 05:40:25 pm]
HelpNDoc.com and Pascal
by
paule32
[
Today
at 05:36:17 pm]
[SOLVED] How to add new ...
by
jmpessoa
[
Today
at 05:31:53 pm]
API definitions
by
gidesa
[
Today
at 05:24:12 pm]
jSaveDialog
by
biologic
[
Today
at 05:01:09 pm]
Building the FPC cross-co...
by
RicknM
[
Today
at 04:29:54 pm]
FPC can't link screen_dem...
by
mccfrank
[
Today
at 04:29:04 pm]
Lazarus editor feature re...
by
Martin_fr
[
Today
at 04:13:57 pm]
missed warning
by
DragoRosso
[
Today
at 04:13:20 pm]
Search in Watches window.
by
Hansvb
[
Today
at 03:53:35 pm]
Teste Pathfinding (A*) - ...
by
Guser979
[
Today
at 03:50:44 pm]
BUG in InputQuery if defa...
by
robert rozee
[
Today
at 03:36:38 pm]
Why my program crashed du...
by
TYDQ
[
Today
at 03:29:55 pm]
Treeview: full-width back...
by
d7_2_laz
[
Today
at 03:25:13 pm]
Transparent animation
by
majolika
[
Today
at 03:10:14 pm]
using RunCommand to wrap ...
by
MarkMLl
[
Today
at 02:17:57 pm]
Candlestick chart
by
ronhud
[
Today
at 01:59:56 pm]
The Silver Coder on YouTu...
by
silvercoder70
[
Today
at 01:50:34 pm]
Cell bounding box drawing...
by
Jonny
[
Today
at 12:32:10 pm]
Where is Spready?
by
wp
[
Today
at 12:12:37 pm]
Deleted - Republished in...
by
wp
[
Today
at 12:05:53 pm]
Bug in the formula MATCH
by
wp
[
Today
at 12:02:49 pm]
Tesseract for ocr
by
MarkMLl
[
Today
at 12:01:38 pm]
problems accessing mySQL-...
by
hy
[
Today
at 11:48:08 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: unable to rebuild Lazarus (Read 1308 times)
Paolo
Hero Member
Posts: 548
unable to rebuild Lazarus
«
on:
December 02, 2023, 10:33:13 am »
Hello,
all works fine until today.
Trying to rebuild lazarus, after some modification to my package, I received the following message (see picture).
what can I do ?
LAZ/FPC : 2.2.6/3.2.2
Logged
jamie
Hero Member
Posts: 6798
Re: unable to rebuild Lazarus
«
Reply #1 on:
December 02, 2023, 04:17:40 pm »
you must have somehow included a resource file twice.
Check for instances of {$R *.res} and {$TheName.Res} for example
btw, that resource is RT_RCDATA
Could be some sort of raw data you supplied or an image etc..
Logged
The only true wisdom is knowing you know nothing
Paolo
Hero Member
Posts: 548
Re: unable to rebuild Lazarus
«
Reply #2 on:
December 02, 2023, 05:09:21 pm »
Thaks Jamie.
However I temporary solved the problem commenting a unit that is used in my package in the implementation section. There could be a couple of same unit around that make the compiler comfused.
How can I find the duplicate unit ? If it is the case....
Logged
cdbc
Hero Member
Posts: 1808
Re: unable to rebuild Lazarus
«
Reply #3 on:
December 02, 2023, 05:15:48 pm »
Hi
Well... If you look at the errormessage, it clearly mentions a "TFRMPLOT".
So maybe look in that direction?!?
Regards Benny
Logged
If it ain't broke, don't fix it
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0
Paolo
Hero Member
Posts: 548
Re: unable to rebuild Lazarus
«
Reply #4 on:
December 02, 2023, 06:07:22 pm »
I know that. TFRMPLOT is inside my unit PLOT.
is there a way to find exactly (ie file and folder) where the two conflicting files are ?
thanks.
PS: the packages compile fine, it is when the lazaruas rebuild is called that the message appears.
Logged
cdbc
Hero Member
Posts: 1808
Re: unable to rebuild Lazarus
«
Reply #5 on:
December 02, 2023, 07:34:34 pm »
Hi
If you're on linux, it could be the "clandestine" .lazarus directory, where also the IDE copies the whole rtl & lcl when it rebuilds itself. Most package-managers put your laz-files in a read-only directory...
Have a look there... perhaps
Regards benny
Logged
If it ain't broke, don't fix it
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0
Paolo
Hero Member
Posts: 548
Re: unable to rebuild Lazarus
«
Reply #6 on:
December 03, 2023, 10:40:13 am »
Hello, I am on Win-10.
Removed any file could have TFRMPLOT inside, but still unable to rebuild lazarus.
Any suggestion ?
Logged
Paolo
Hero Member
Posts: 548
Re: unable to rebuild Lazarus
«
Reply #7 on:
December 03, 2023, 11:36:47 am »
Solved.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
unable to rebuild Lazarus
TinyPortal
© 2005-2018