<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I have updated Lazarus to 2.2.6 on Mac OS (Apple Silicon M1
processor).</p>
<p>As I'm using some extra packages, I needed to rebuild the IDE in
order to install those packages. But to my dismay, building of the
normal IDE, without touching the original settings, failed with a
rather unexpected error:</p>
<pre>(9022) Compiling resource /Applications/Lazarus/units/x86_64-darwin/cocoa/lazarus.or
Warning: (9011) Object lazaruspackageintf.o not found, Linking may fail !
(9015) Linking ../lazarus
ld: file not found: lazaruspackageintf.o
make[2]: *** [lazarus] Error 1
make[1]: *** [idepkg] Error 2
make: *** [idepkg] Error 2
An error occurred while linking
</pre>
<p>After some fiddling trying to make it find lazaruspackageintf, I
tried to rebuild in a different setup, i.e. debug IDE. It worked
just fine. Then I tried to build again as normal IDE, and this
time it did work. Notice that I didn't touch neither the settings
for normal IDE, nor those for the debug IDE. Some invisible
parameter which has been reset switching from normal to debug and
back? A strange hiccup of Mac?</p>
<p>There is another strange issue. While fighting with the IDE
rebuild I had tampered with the Project Options of the project
which was open, because I had seen in the past that sometimes the
current Project Options have an influence on the IDE build. I had
deleted the dependency from LCL, which made impossible to compile,
of course. But when trying to add the dependency, I discovered
that I was unable to enter upper case characters. My upper case
LCL was entered as a lower case lcl. The only way has been to add
an LCL file to the project, and confirm that I wanted all the
package and not just one file. Any idea of how to solve that
issue?</p>
<p>Giuliano<br>
</p>
<p><br>
</p>
</body>
</html>