okay, Laz 2.2.0 running…
castle-engine.exe , castle-view-image.exe , view3dscene.exe are compiled without icons, and at least one of them has .ico file in repo
the CodeTools now show different error - included file was not found
view3dscene.lpr(1225,48) Error: включаемый файл не найден “…\embedded_data\scenes\clear_scene.inc”
But it is the same crazy unreadable error box when i try to control-Enter on it.
However, while the error texts seems crazy, it is not without reasons,
d:\DelphiProjects\Libs\Games\castle-view3dscene\view3dscene.lpr
{$I ../embedded_data/scenes/clear_scene.inc}
What should it give us?
d:\DelphiProjects\Libs\Games\embedded_data\scenes\clear_scene.inc
And there is no such folder (you do not make Src or Sources subfolder in the project root folder) ! Correct path is different!
d:\DelphiProjects\Libs\Games\castle-view3dscene\embedded_data\scenes\clear_scene.inc
So you have to remove that ‘…’ from the include.
You copy-pasted it from files like
D:\DelphiProjects\Libs\Games\castle-view3dscene\code\v3dscenescreeneffects.pas
but forgot to amend the path.
I am really buffled it compiles - it should immediately give a fatal error! It seems a big in FPC that it does not fail compilation! And i don’t know how you can surely guard against such a compiler bug…