Note: Please create new forum threads for new issues:) This thread is from 2020 and it has title mentioning “Lazarus 2.0.2”, which is ancient now:)
As others pointed out, our package definitions in OPM are unfortunately outdated. Please download the engine from our official downlaods, and follow manual how to install. This way you also (in addition to sources and lpk packages) get pre-compiled editor and other tools, which are useful to develop games with the engine.
Details:
-
As for OPM: As others pointed out, OPM (which FpcUpDeluxe uses) has rather outdated version of Castle Game Engine, 6.4.
-
The FpcUpDeluxe “Install module” seems to actually get from GitHub the latest Castle Game Engine
masterbranch, from what I can see.-
(It also needlessly first downloads Vampyre Imaging library, which we already include in CGE.)
-
But it then uses outdated way to build it (using “recipe” from OPM? I’m not sure): it wants to compile
packages/castle_base.lpkbut such package doesn’t exist after package layout changes we announced here. There is nopackages/castle_base.lpk, there ispackages/lazarus/castle_engine_base.lpk.
-
We need to update CGE definition in OPM, and we need to make sure FpcUpDeluxe then also is OK (or ping FpcUpDeluxe to update their knowledge too, if it’s not synchronized with OPM).
If anyone wants to help with this (ping OPM manager), I would appreciate it a lot, as I myself obviously failed to do this for a long time
You can point them to this info:
-
Detailed docs of our lpk packages is here. In short, a regular installation should install
packages/lazarus/castle_engine_base.lpk,packages/lazarus/castle_engine_lcl.lpkand compile (but not install)packages/lazarus/castle_engine_window.lpk. -
I recommend to get engine version from GIT
snapshotbranch (notmaster), that passed automatic tests, or latest release which is now7.0-alpha.3but should soon be7.0-alpha.4