Alcinoe icon indicating copy to clipboard operation
Alcinoe copied to clipboard

v.2.0.0 problem on delphi 12.2

Open Marijsoft opened this issue 9 months ago • 4 comments

i try to install with compileall.bat (update.bat it's ok)t but have this error call too long exceted character i don't know why

Image

i install the package manual but when i try to compile empty form with alcinoe component have this problem

Image

Image

i change with this and it's ok

Image the app go

Image

but have others problem when u try to drop on form components like Tallayout

Image

can u tell me how to fix the 1st problem or the last one please, thx u

Marijsoft avatar Feb 28 '25 06:02 Marijsoft

You absolutely need to run compileAll.bat because it updates the original Delphi source code (locally). This is why you're seeing errors like material, isVisibleObject, etc.

All updated files will be located in: (Alcinoe)\Embarcadero\Athens\

The error you’re encountering makes me think that your system might have an excessively long path. Can you try running the following command in the Command Prompt and share the output with me?

echo %path%

Also, try editing compileAll.bat and replace this line:

Call :BUILD_PROJECT "%ALBaseDir%\Source\Packages" "" "Alcinoe%ALDelphiName%.dproj" "Win32"

With:

echo Call :BUILD_PROJECT "%ALBaseDir%\Source\Packages" "" "Alcinoe%ALDelphiName%.dproj" "Win32"
PAUSE

Then, run the script and send me the output.

Thanks!

Zeus64 avatar Feb 28 '25 19:02 Zeus64

the system path variable is: 2760 but as I understand it is the compilation via dcc in msbuild that causes the 32000 character length to be exceeded, I have also used other environment variables to shorten paths in the development environment and deleted any duplicates but it still gives the same error. i then read about this https://stackoverflow.com/questions/76416094/command-line-for-dcc-is-too-long-while-using-msbuild-to-compile-delphi-project

and I changed the bat file from MSBuild “%~1%~2%~3” /p:Config=Release /p:Platform=%~4 /t:Build /verbosity:minimal to MSBuild “%~1%~2%~3” /p:Config=Release /p:Platform=%~4 /t:Build /verbosity:minimal /p:DCC_UseMSBuildExternally=true

and so it doesn't give the error the build goes on and asks to compile the jars but when compiling the demo it gives the same error material etc.

Image

Image

if i change echo Call :BUILD_PROJECT "%ALBaseDir%\Source\Packages" "" "Alcinoe%ALDelphiName%.dproj" "Win32" is empty just pause after

Marijsoft avatar Mar 01 '25 07:03 Marijsoft

can you try to run (Alcinoe)\Embarcadero\Athens\Update.bat and gave me the output ?

Zeus64 avatar Mar 01 '25 13:03 Zeus64

Image

Image

i don't use ios maybe it's for this o maybe i must to update new skia from the author and not the version from emb, i think the problem it's not your component but something maybe it's broken on dev env when i try to compile with external msbuild it's ok when i try normal (i make diagnostic and log in your bat) take all long path of library not = i make on env variable into system and delphi, for example bds he take long path, not short on compile msbuild logical whith others component installed always excedeed 32000 chr if i don't use /p:DCC_UseMSBuildExternally=true. alternative way: it's remove all line into dev path for others component and try to install and after with tool like cnpack cnwizard or emb migr tool i restore the path. maybe go.

Marijsoft avatar Mar 02 '25 09:03 Marijsoft