Problems installing Castle Game Engine (Lazarus 2.0.2, and later Lazarus 4.2 + FPC 3.2.2 via OPM and fpcup)

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:

  1. As for OPM: As others pointed out, OPM (which FpcUpDeluxe uses) has rather outdated version of Castle Game Engine, 6.4.

  2. The FpcUpDeluxe “Install module” seems to actually get from GitHub the latest Castle Game Engine master branch, 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.lpk but such package doesn’t exist after package layout changes we announced here. There is no packages/castle_base.lpk, there is packages/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 :slight_smile: 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.lpk and compile (but not install) packages/lazarus/castle_engine_window.lpk.

  • I recommend to get engine version from GIT snapshot branch (not master), that passed automatic tests, or latest release which is now 7.0-alpha.3 but should soon be 7.0-alpha.4 :slight_smile:

1 Like