Castle_base and castle_window problems with Lazarus

Good day!

I found some time for back to my CGE project, but face some difficulties with depends (as i understand).

I install Lazarus 4.0 from Debian 13 repository (4.6 from lazarus-ide.org works same) and download fresh CGE version. I register Lazarus packages in CGE editor and try to run some examples and my projects, but get 256 error in CGE.

I try to run dame projects form IDE, bot Lazarus don’t found castle_base and castle_window. Project inspector suggest me install it from the internet, but it not helps: Lazarus cant compile any project, usually with old error castleutils_struct_list.inc(27,12) Error: Duplicate identifier “PT”.

Moreover, same error in the LMDE (6-7).