FMX_FlexCel_Core.dpk(33): error E2202: Required package 'fmx' not found

Hi All,
During the automated installation process of the TMS components for Delphi Alexandria 11.1, I got an error message.
Here after the extract of the build log :

msbuild.exe "C:\Delphi-Commons\Components\TMS_Software\Registered\FlexCelVCLNT\Packages\d11\FMX_FlexCel_Core.dproj" "/target:Make" "/p:config=Release" "/p:Platform=Win32" "/p:UnitSearchPath=C:\Program Files (x86)\Embarcadero\Studio\22.0\lib\Win32\release" "/p:DelphiLibraryPath=C:\Program Files (x86)\Embarcadero\Studio\22.0\lib\Win32\release" "/p:IncludePath=C:\Program Files (x86)\Embarcadero\Studio\22.0\lib\Win32\release" 
Microsoft (R) Build Engine version 4.8.4084.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 27/07/2022 14:24:51.
Project "C:\Delphi-Commons\Components\TMS_Software\Registered\FlexCelVCLNT\Packages\d11\FMX_FlexCel_Core.dproj" on node 1 (Make target(s)).
BuildVersionResource:
  C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\cgrc.exe -c65001 .\Win32\Release\FMX_FlexCel_Core.vrc -fo.\Win32\Release\FMX_FlexCel_Core.res 
  CodeGear Resource Compiler/Binder
  Version 1.2.2 Copyright (c) 2008-2012 Embarcadero Technologies Inc.
  
  Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
  
  Copyright (C) Microsoft Corporation.  All rights reserved.
  
  
  Deleting file ".\Win32\Release\FMX_FlexCel_Core.vrc".
  del ".\Win32\Release\FMX_FlexCel_Core.vrc"
_PasCoreCompile:
  C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\dcc32.exe -$D0 -$L- -$Y- --no-config -M -Q -Z -TX.bpl -AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DRELEASE;;FRAMEWORK_FMX -E.\Win32\Release -I"C:\Program Files (x86)\Embarcadero\Studio\22.0\lib\Win32\release" -LEbpl\Win32 -LN.\Win32\Release -NU.\Win32\Release -NSWinapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;System;Xml;Data;Datasnap;Web;Soap; -O"C:\Program Files (x86)\Embarcadero\Studio\22.0\lib\Win32\release" -R"c:\program files (x86)\embarcadero\studio\22.0\lib\Win32\release\EN";.\Win32\Release;"C:\Program Files (x86)\Embarcadero\Studio\22.0\lib\Win32\release" -U"C:\Program Files (x86)\Embarcadero\Studio\22.0\lib\Win32\release" --description:"FlexCel Core Library for FireMonkey" -JL -NB.\Win32\Release -NH.\Win32\Release -NO.\Win32\Release -H- -W-  FMX_FlexCel_Core.dpk   
  Embarcadero Delphi for Win32 compiler version 35.0
  Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
FMX_FlexCel_Core.dpk(33): error E2202: Required package 'fmx' not found [C:\Delphi-Commons\Components\TMS_Software\Registered\FlexCelVCLNT\Packages\d11\FMX_FlexCel_Core.dproj]
Done Building Project "C:\Delphi-Commons\Components\TMS_Software\Registered\FlexCelVCLNT\Packages\d11\FMX_FlexCel_Core.dproj" (Make target(s)) -- FAILED.

Build FAILED.

"C:\Delphi-Commons\Components\TMS_Software\Registered\FlexCelVCLNT\Packages\d11\FMX_FlexCel_Core.dproj" (Make target) (1) ->
(_PasCoreCompile target) -> 
  FMX_FlexCel_Core.dpk(33): error E2202: Required package 'fmx' not found [C:\Delphi-Commons\Components\TMS_Software\Registered\FlexCelVCLNT\Packages\d11\FMX_FlexCel_Core.dproj]

    0 Warning(s)
    1 Error(s)

Could someone give me some direction to search for and solve this problem ?
Thanks by advance,

Michel

Hi,
This normally means that you don't have firemonkey installed in delphi, see FlexCel Installation Guide | FlexCel Studio for VCL and FireMonkey documentation

There are 2 possibilities:

  1. You don't have and don't care about firemonkey. If that is the case, remove "FireMonkey support" from the setup, as shown in the screenshot above.

  2. You care about firemonkey. In that case, try creating an empty firemonkey solution with delphi, and deploy it to all platforms you want to support. Once that is working, reinstall FlexCel selecting those platforms.

Hello Adrian,
Thanks for your answer.

I thought I let Delphi install Firemonkey ... I can create a "multi-platform" application, but cannot compile it.
So I solved the problem by removing Firemonkey Support.

I'll try later to solve this Firemonkey problem.
Thanks for your help :slight_smile:

Michel

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.