<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head><body style="">
<div>
</div>
<div>
<br/>Chavoux Luyt <chavoux@gmail.com> hat am 7. August 2012 um 02:22 geschrieben:
</div>
<div style="position: relative;">
<blockquote style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite">
<div>
Hi Everybody
</div>
<div>
</div>
<div>
When I want to compile (and install) the ImagesforLazarus package, I get an error: Error: Duplicate identifier "IMAGESFORLAZARUS"
</div>
<div>
I am trying to install the glScene package and need this package to be installed first. Any ideas why?
</div>
<div>
</div>
<div>
In the source code I see this:
</div>
<div>
"
</div>
<div>
{ This file was automatically created by Lazarus. Do not edit!
<br/> This source is only used to compile and install the package.
<br/> }
<br/>
<br/>unit ImagesforLazarus;
<br/>
<br/>interface
<br/>
<br/>uses
<br/> IS THIS CORRECT?->ImagesforLazarus, LazBMP, LazJPG, LazPNG, LazPNM, LazTGA, LazXPM,
<br/> LazarusPackageIntf;
</div>
</blockquote>
</div>
<p>What Lazarus version do you use?</p>
<p>It does not add this unit name here.</p>
<p> </p>
<div style="position: relative;">
<blockquote style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite">
<div>
....
</div>
<div>
"
</div>
<div>
Is it correct for the unit to "use" itself? If I comment out the "ImagesforLazarus" part, and then recompile the unit, it asks to reload file from disk and then simply ignore the file I just saved, reverting back to the original file somehow. (If I say to ignore the files from disk, it still gives me this same error message).
</div>
</blockquote> The unit is automatically created by the IDE before compiling.
<br/>
<br/>
<br/>
<br/>
</div>
<div style="position: relative;">
Mattias
</div>
</body></html>