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
Interesting article about...
by
Joanna from IRC
[
Today
at 09:05:51 am]
how to control the order ...
by
cdbc
[
Today
at 08:44:16 am]
SQLite3 Date Problem
by
egsuh
[
Today
at 06:29:10 am]
D2Bridge Framework for La...
by
egsuh
[
Today
at 04:48:02 am]
Application deployment
by
cousinp
[
Today
at 04:28:36 am]
[SOLVED] FPSpreadSheet, ...
by
TRon
[
Today
at 01:25:51 am]
Is it possible to do git ...
by
TRon
[
Today
at 12:41:39 am]
had a question and found ...
by
TRon
[
Today
at 12:36:57 am]
Draw Transparent Fill Rec...
by
LBox
[
Today
at 12:00:51 am]
Wiki, a dead link in page...
by
d7_2_laz
[December 09, 2024, 10:53:21 pm]
MIDI commands
by
TRon
[December 09, 2024, 10:43:22 pm]
Record "inheritance"/stru...
by
PascalDragon
[December 09, 2024, 10:31:25 pm]
Who catches the Linux sig...
by
LV
[December 09, 2024, 09:47:15 pm]
FreePascal version of gcc...
by
PascalDragon
[December 09, 2024, 09:45:02 pm]
Lazarus for Windows on aa...
by
PascalDragon
[December 09, 2024, 09:21:38 pm]
SAVE StringGrid to PDF
by
dseligo
[December 09, 2024, 07:42:30 pm]
ColorDialog can have opti...
by
Bart
[December 09, 2024, 06:07:24 pm]
Hustle - A simple task ma...
by
BSaidus
[December 09, 2024, 04:58:15 pm]
Notepad++ plugin with doc...
by
d7_2_laz
[December 09, 2024, 04:07:14 pm]
TLazSerial : serial port ...
by
CM630
[December 09, 2024, 04:05:20 pm]
MainMenu: How to use the ...
by
madref
[December 09, 2024, 03:39:05 pm]
Program running on after ...
by
MarkMLl
[December 09, 2024, 03:23:45 pm]
Array of String lookup gi...
by
jcmontherock
[December 09, 2024, 11:50:47 am]
The Silver Coder on YouTu...
by
silvercoder70
[December 09, 2024, 11:49:09 am]
Api/component pack for Ra...
by
cdbc
[December 09, 2024, 11:43:17 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: unable to rebuild Lazarus (Read 1211 times)
Paolo
Hero Member
Posts: 538
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: 6735
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: 538
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: 1666
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: 538
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: 1666
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: 538
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: 538
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