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
A Tip for beginners
by
Thaddy
[
Today
at 03:15:26 pm]
An interprocess network?
by
cdbc
[
Today
at 03:10:31 pm]
INET TLUDPcomponent for i...
by
cdbc
[
Today
at 03:08:38 pm]
Bug in the formula MATCH,...
by
veb86
[
Today
at 02:40:23 pm]
Bug in the formula MATCH
by
veb86
[
Today
at 02:21:09 pm]
Strange form designer beh...
by
Martin_fr
[
Today
at 02:16:51 pm]
Artificial intelligence
by
Thaddy
[
Today
at 02:07:17 pm]
Sutcliffe Fractal: Found ...
by
Boleeman
[
Today
at 01:07:01 pm]
UK's Online Safety Act
by
dbannon
[
Today
at 12:31:54 pm]
Programs writing programs...
by
gidesa
[
Today
at 12:31:17 pm]
Problem in writing formul...
by
veb86
[
Today
at 12:12:00 pm]
Restoring minimized scree...
by
Nico
[
Today
at 10:01:36 am]
FPC 3.2.4, naming suggest...
by
cdbc
[
Today
at 09:40:30 am]
Feature announcement: Imp...
by
Thaddy
[
Today
at 09:37:38 am]
MQTT Client
by
Thaddy
[
Today
at 06:41:06 am]
Amigo programming languag...
by
paxscript
[
Today
at 06:03:23 am]
Form editer strange behav...
by
TheMouseAUS
[
Today
at 03:48:44 am]
Post your artwork made fr...
by
BubikolRamios
[
Today
at 02:36:29 am]
Nested declarations insid...
by
440bx
[
Today
at 02:13:29 am]
TImage colors incorrect
by
Jonny
[
Today
at 01:24:06 am]
Using Masurement Computin...
by
Sander
[January 17, 2025, 11:33:30 pm]
Lazarus Release Candidate...
by
verasan
[January 17, 2025, 10:25:58 pm]
VGM Player
by
Gigatron2
[January 17, 2025, 09:29:09 pm]
How to avoid copying
by
Amir61
[January 17, 2025, 07:55:16 pm]
UnoLib - library in Pasca...
by
ackarwow
[January 17, 2025, 07:25:40 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: unable to rebuild Lazarus (Read 1271 times)
Paolo
Hero Member
Posts: 542
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: 6787
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: 542
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: 1770
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: 542
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: 1770
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: 542
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: 542
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