error E2288: Nom de fichier trop long (plus de 260 caractÅ res)
Which means that the library path / Windows path is too long, please make sure to clean up the path. Additionally, the package rtl not found could also be related to the path. I suggest to clean out the environment RAD Studio of older packages / folders and make sure to install in a clean environment. Potentially reinstalling the IDE might help.
However, I don't understand this error E2288, because now I install all TMS packages into this directory
"c:/TMS/"componant package". Thus the shortest as possible, isnt it ?
I saw in a log file "FNC CORE"
C:\Program Files (x86)\Embarcadero\Studio\22.0\Bin\CodeGear.Delphi.Targets(412,5): error E2288: Nom de fichier trop long (plus de 260 caractÅ res) [C:\TMS\TMS FNC Core\FMXTMSFNCCorePkgDXE14.dproj]
That's means "C:\TMS\TMS FNC Core\FMXTMSFNCCorePkgDXE14.dproj" is too long ? But I am sure the size didn't reach 260 char ;)
It sounds that the problem is not windows path nor library path length, but the installation folder path length + the file names length.
I had this problem the first time I installed the bundles, so, since then I use a SUBST drive letter T:\ , mapped to my root TMS packages installation folder (example: subst t: c:\systems\source\libraries\thirdparty\tmssoftware), and no more trouble.
Maybe you should use SUBST too, or install packages in a not-so-large-named-path.
In case it's not the filename length issue, you should also check library path for invalid paths, paths with spaces w/o quotes (or not properly closed quotes), and paths ending with several backslashes (\\\\\\\) - I don't know why, but sometimes these backslashes appear in some entries after upgrading packages, and then I can't compile anything before I fix it.
Julio, I followed your recommendation by using SUBST.
My "original" directory is 'C:\TMS' ... not very long.
Anyway I created a SUBST "subst t: C:\TMS", and installed the FNC Core" on this new directory. But installation failed with the same message from the log file :
C:\Program Files (x86)\Embarcadero\Studio\22.0\Bin\CodeGear.Delphi.Targets(412,5): error E2288: Nom de fichier trop long (plus de 260 caractÅ res) [T:\TMS FNC Core\FMXTMSFNCCorePkgDXE14.dproj]
As explained, it's the total library path being concatenated and pass as a variable to MSBuild that's too long. So, basically you'll need to shorten the total path by eliminating or shorten other paths already in your RAD Studio Environment
But the total library path length is likely to have much more than 260 chars as long as you have many components installed in distinct paths. My library path length f.i. is 3022.
Maybe one of them has more than 260 chars and is cousing his error ?
In FMXTMSFNCCorePkgDXE14.dproj there are many macro-resolved file references, like Import Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj"
I think one (or some) of those may be resolving too long filenames.
Or there's some invalid &/or malformed path in Library path , path or macro.
I "found" the solution.
The pb didn't came from a stricklly too longfile name, but as indicated Julio due to several backslashes (\\\\\\\ ) into the librairy.
They were positionned with TMS Logging package. It looks lie that :
I also have some of these, but with the correct backslash instead of asterisk, as in: t:\TMS Logging\packages\d11\.\Win32\Release
and t:\TMS Workflow Studio\packages\d11\.\Win32\Release