EtheaDev / SVGIconImageList

Three engines to render SVG (Delphi Image32, Skia4Delphi, Direct2D wrapper) and four components to simplify use of SVG images (resize, fixedcolor, grayscale...)
Apache License 2.0
327 stars 96 forks source link

SVGIconImageListDemoFMX can't build when both Android and OS-X platforms are added #232

Closed birbilis closed 1 year ago

birbilis commented 2 years ago

Seems SVGIconImageListDemoFMX tries to place its build output into ......\My Documents\Embarcadero\Studio\22.0\CatalogRepository\SVGIconImageList-11-3.9.1\Demo\Bin

which for OS-X makes a SVGIconImageListFMX (with no extension) file but for Android tries to make an SVGIconImageListFMX subfolder and Windows doesn't allow a file and folder with same name to co-exist (have to delete one or the other first to build for the other platform)

Note that I'm just adding the MacOS-X 64-bit platform to the project without doing any other configuration

birbilis commented 2 years ago

image

carloBarazzetta commented 2 years ago

have no idea, because I can't test the build with platforms like iOS and OSX. If you can prepare a correct project file for all platforms, please send me a copy...

carloBarazzetta commented 1 year ago

Is this problem resolved?

cesarelca commented 1 year ago

Hello Carlo, i try it and confirm that the issue is not solve, I try with android64 on Delphi 11.2, there is a dependency on vcl in the img32.pas unit. In Italiano: Ciao Carlo, ho provato anch'io il demo e quando compili per android solleva un eccezione su img32.pas per una dipendenza dalla VCL,

carloBarazzetta commented 1 year ago

Please try to change Image32.inc adding {$IFDEF MSWINDOWS} surrounding of {$DEFINE USING_VCL_LCL} as in this example:

{$IFDEF MSWINDOWS}
  {$DEFINE USING_VCL_LCL}
{$ENDIF}
carloBarazzetta commented 1 year ago

Fixed in latest version.