After a full and fresh install of Delphi 12.2 with last inline installer, FMXLinux installed, FNC can't compile for Linux64. BIZ, Crypto and Flexcel succeeded...
logs.zip (507.8 KB)
After a full and fresh install of Delphi 12.2 with last inline installer, FMXLinux installed, FNC can't compile for Linux64. BIZ, Crypto and Flexcel succeeded...
logs.zip (507.8 KB)
The error you are having: error E2202: Package 'fmx' requis non trouvé
Points to some issue with FMXLinux (that's also why you are getting the error with FNC only, it is the only one requiring FMXLinux)
It is also not including the FMXLinux path in the command line:
/p:UnitSearchPath="C:\Program Files (x86)\Embarcadero\Studio\23.0\lib\Linux64\release;C:\Program Files (x86)\Embarcadero\Studio\23.0\Redist\Linux64;C:\Users\greyn\Documents\Embarcadero\Studio\lib\TMS Setup\Temp\p\tms.fnc.core_d12_linux64_Release\Linux64\Release"
Have you restarted the IDE after installing FMXLinux (I think getit does it automatcally, but maybe it was skipped?) Can you try deploying a simple fmx linux demo, and then retry building with smartsetup?
btw, I just tried to install fmxlinux in a fresh 12.2 install and I can see it in getit?
And from what I can see here (Search for fmxlinux in that page) it isn't actually available for 12.2:
although FMXLinux was absent in GetIt?
Apparently they're working on a new agreement (presumably with Eugene's estate?) to include it. Marco/Ian mentioned this in the webinar.
I have a FMXLinux licence, that's why I can install it with Delphi 12.2
Maybe there are some differences with the Getit package...
I can compile a small Firemonkey project with Delphi but I think there can be differences in search paths...
What smartsetup does to find fmxlinux is to look in the existing search path for *fmxlinux*
and any paths that include that will be passed to the command line.
Might it be that your fmxlinux install is in a path that doesn't include the fmxlinux string?
If so, the simplest solution might be to reinstall fmxlinux in a path including that string. The string itself is at the file tmsbuild.yaml in the root of fnc install:
So you could modify that file and then try rebuilding, but you will have to do this every time you reinstall fnc. It is likely simpler to just install fmxlinux in a path containing the string.
I succeed to rebuild all the FNC adding manually FMXLinux path...
What is strange is that FMXLinux official does not add path to the search paths in Delphi and you can compile a Firemonkey app to Linux.
I think I didn't add the good paths beacuase it is telling me I'm using the evaluation release but I will try with other paths now I'm understanding what you are looking for...
I am not afraid making tests now we have Smart Setup ! Thanks for it.
Which search paths do you have for a getit install ?
I have it installed at
C:\Users\Public\Documents\Embarcadero\Studio\23.0\CatalogRepository\FmxLinux-1.76
The search paths added are:
$(BDSCatalogRepositoryAllUsers)\FmxLinux-1.76\Lib\Release\
$(BDSCatalogRepositoryAllUsers)\FmxLinux-1.76\source\