-
-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CGE in Delphi GetIt package manager #500
Comments
Sure thing. I'm just checking out split RTL+Design branch to see how that does - current test platform = 10.4.2 (had it handy) Might be an idea to get Serge in here too (already mailed him) Oh, 10.4.2 test build just failed :( Investigation time... [dcc32 Fatal Error] castle_engine_design.dpk(36): E2202 Required package 'castle_engine' not found I guess this is why I test thoroughly tho :) |
@peardox Please let's keep this ticket focused about GetIt integration. It will be difficult to follow, esp. for other people, if we bring here discussion from other threads. |
I've just been looking at Skia for ideas on GetIt for CGE. This package includes an IDE Helper 'Enable Skia' that configures an end project to include it's required DLLs. This seems like an obvious thing for CGE to do so you don't get situations like #489 as the 'optional' libraries could be configured to be included when a project is built. While only Win32/64 is currently supported the Deployment keys this kind of plug-in adds to the project make it easier to deploy to other platforms as well. I also note that Skia sets up a SKIADIR delphi-only environment variable (I'm not sure if GetIt is performing this step at present). Assuming GetIt does this then we can have a CGEDIR that contains the required libraries for any platforms CGE4Delphi eventually supports. It is also noteworthy that Skia uses the SKIADIR to referense it's sources and built dcus. This implies that the use of a CGEDIR would allow DCU build ourput to reside there as well as Source enabling Search Path, Browsing Path, {output}{platform}{config} to all be automatically configured I'll got and try out the non-IDE Helper parts of this concept out as it should provide good insight into the possibilities |
Quoting an email from Serge regarding GetIt...
So, essentially the stuff I describe above appears to be easy (a candidate installation method was descrbed - the msg is in response). Additionally GetIt can, if we desire, also make the version-dependant projects (not that I'm sure this is needed) |
Status update about this to anyone that is looking to this task:
|
Let me expand this a little actually (thanks @peardox ): Our Delphi/Linux port brings various improvements that are in general opening Castle Game Engine to be more cross-platform with Delphi.
|
Considering the latest build are now more feature rich with the numerous additions such as C++ support, IDE extension and Linux added as a supported platform would the current version at least close to submissable? (as I think it's fairly good now) |
We want to make 7.0-alpha3 release ASAP and then go with GetIt submission indeed. |
When we get to that milestone I can test it on all supported versions (10.2 - 12.0) inc minor release variants in that case prior to submission as this is the most likely way to discover any hidden quirks |
Thank you, that will be much appreciated as always. For what it's worth, I did test 12.0, 11.3 and 10.2.3 Delphi versions (with regards to our new packages and design-time menu "Tools -> Castle Game Engine"; with regards to Linux platform, I only tested on Delphi 12.0 and 11.3. That is, 10.2.3 is tested only to build for Win32 and Win64. ) |
I believe FMX Linux can be tested on all versions even if Getit is broken (still) by using the official FMXLinux trial package which is listed as ... Support of Delphi 10.2.x, 10.3, 10.4, 11 (same as us though they forgot to add 12). Note that this will allow testing on as low as 10.2.0 (from memory that one was problematical last time I tried it) Regardless, after a full QA cycle, we'll know the supported release list exactly |
In short: we want this :) So that Delphi users can install CGE from GetIt.
The current way to install Castle Game Engine is to download CGE from https://castle-engine.io/download and then
The goal is to enable people to
Our current Delphi package setup is just 1 design-time-only package castle_engine.dpk (see https://github.com/castle-engine/castle-engine/tree/master/packages/delphi ). But we know we'll make it more complicated, in particular branch
split-delphi-design-time-package
already has a split into 2 packages: https://github.com/castle-engine/castle-engine/tree/split-delphi-design-time-package/packages/delphi to address #498 .@peardox @checkdigits Let's track coordination about GetIt here.
The text was updated successfully, but these errors were encountered: