-
Notifications
You must be signed in to change notification settings - Fork 98
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
Packages for non Win32 platforms missing #286
Comments
…iguration (else wasn't finding FormMessage.pas which was set to only be included at IFDEF DEBUG) - Included latest debug build executable - Changed Targets for Release configurations to App Store for platforms that support it - Changed Zoomicon.Media.FMX.dpk to not include SVGIconImage and SVGIconImageList at required clause for non-Win32 platforms. Seems SVGIconImageList from GetIt doesn't add packages for all platforms (see EtheaDev/SVGIconImageList#286)
There is a new Installer for SVGIconImageList: please try it and check if it's all OK |
Sorry but for the complicated procedure to publish a new version of the library on GetIt this repo is always one step beyond... |
Should I uninstall the GetIt version first or does it handle it automatically? |
The new installer automatically uninstalla also getit packages... |
thanks for the doc link |
Sorry: |
Indeed the downloaded installer said it was removing from GetIt. Taking a look at precompiled packages for Delphi12 installed though (and according to the installer doc page you shared) there are still versions only for Windows 32/64-bit. You can checkout Trying to build the package for Android platform (and having commented-out as shown in the screenshot the conditional defines I was using as workaround in that .dpk), one gets the error that the packages are missing (whereas in Win32/Win64 it builds ok) The conditional defines workaround I have there has its own issues since Delphi often removes those without warning: but there's another workaround mentioned there too for that issue:
|
A package I know tries to compile packages for all available platforms when installed via GetIt is Abbrevia btw. |
btw, with my workaround
and instead I get error when building for non-Windows platform (say Android) that for example FMX.SVGIconImage is missing (whereas before I'd get a warning that several of related units where implicitly imported into my package) my package does build/install fine for Windows though does the installer fail to set unit search paths to point to the sources of those units? (whereas GetIt installer does set such as it seems)? |
Btw, is it safe if I install again via GetIt the SVGIconImageList without first uninstalling the version installed by the downloaded installer? Or does it handle that case too? |
For the rest of your check I'll check as soon as possible. |
Please see screenshot:
at https://github.com/zoomicon/READCOM_App, I have a project group that contains some packages apart from the main app. Some of those packages need to be installed in the Delphi IDE (for Win32 platform that the IDE is running in, other platforms don't show Install at the popup menu for package projects).
Problem is at Zoomicon.Media.FMX package there that uses SVGIconImage, other platforms than Win32 don't build because the SVGIconImage and SVGIconImageList packages can't be found. I can add a conditional define to not include those packages on other platforms (in which case Delphi warns and tries to add those but I can tell it not do it when it pops up related message). Then units are implicitly imported (for Image32 etc.) when compiling for those platforms the package. That takes time and also emits warnings in Messages.
I've seen other GetIt packages (I think it was Abbrevia) compile (when you install them via GetIt) packages for all platforms (obviously they skip/warn on any platforms user doesn't have installed in the IDE at that moment). It would be nice if you did similarly
The text was updated successfully, but these errors were encountered: