I have a strange error. New Web Core application, one form with only one Web Button without any code.
Running/compling it gives a [Fatal Error] Error during compilation:
Checking project dependencies...
Compiling Project1.dproj (Debug, Win32)
Unit1.pas(1): Preprocessor: C:$DelphiProjects\Test\Unit1.pas
Unit1.pas(1): Preprocessor: C:$DelphiProjects\Test\Unit1.pas
Command line: C:\TMS\TMS Setup\Products\tms.webcore\Bin\Win32\pas2js.exe C:$DelphiProjects\Test\Project1.dpr -MDelphi -l -JeJSON -JRnone -Jminclude -O- -Jc -B -viw -vnh -vm026,5024,3021,5023,4501 -Jitms.js -Jirtl.js -FUC:$DelphiProjects\Test\TMSWeb\Debug -vb -vl -dDEBUG -dPAS2JS -dWEBLIB "-FuC:$DelphiProjects\Test;C:\TMS\TMS Setup\Products\tms.webcore\Core Source;C:\TMS\TMS Setup\Products\tms.webcore\Core Source\RTL;C:\TMS\TMS Setup\Products\tms.biz.bcl\source\core\common;C:\TMS\TMS Setup\Products\tms.biz.bcl\source;C:\TMS\TMS Setup\Products\tms.biz.sparkle\source\core\common;C:\TMS\TMS Setup\Products\tms.biz.sparkle\source;C:\TMS\TMS Setup\Products\tms.biz.xdata\source\core\common;C:\TMS\TMS Setup\Products\tms.biz.xdata\source\core\web;C:\TMS\TMS Setup\Products\tms.biz.xdata\source;C:\TMS\TMS Setup\Products\tms.biz.sphinx\source\core\common;C:\TMS\TMS Setup\Products\tms.biz.sphinx\source\core\web;C:\TMS\TMS Setup\Products\tms.biz.sphinx\source;C:\TMS\TMS Setup\Products\tms.fnc.core;C:\TMS\TMS Setup\Products\tms.fnc.chart;C:\TMS\TMS Setup\Products\tms.fnc.cloudpack;C:\TMS\TMS Setup\Products\tms.fnc.uipack;C:\TMS\TMS Setup\Products\tms.fnc.cloudpackresteditor;C:\TMS\TMS Setup\Products\tms.fnc.maps;C:\TMS\TMS Setup\Products\tms.fnc.websocket;C:\TMS\TMS Setup\Products\tms.webcore" "-FiC:$DelphiProjects\Test;C:\TMS\TMS Setup\Products\tms.webcore\Core Source;C:\TMS\TMS Setup\Products\tms.webcore\Core Source\RTL;C:\TMS\TMS Setup\Products\tms.biz.bcl\source\core\common;C:\TMS\TMS Setup\Products\tms.biz.bcl\source;C:\TMS\TMS Setup\Products\tms.biz.sparkle\source\core\common;C:\TMS\TMS Setup\Products\tms.biz.sparkle\source;C:\TMS\TMS Setup\Products\tms.biz.xdata\source\core\common;C:\TMS\TMS Setup\Products\tms.biz.xdata\source\core\web;C:\TMS\TMS Setup\Products\tms.biz.xdata\source;C:\TMS\TMS Setup\Products\tms.biz.sphinx\source\core\common;C:\TMS\TMS Setup\Products\tms.biz.sphinx\source\core\web;C:\TMS\TMS Setup\Products\tms.biz.sphinx\source;C:\TMS\TMS Setup\Products\tms.fnc.core;C:\TMS\TMS Setup\Products\tms.fnc.chart;C:\TMS\TMS Setup\Products\tms.fnc.cloudpack;C:\TMS\TMS Setup\Products\tms.fnc.uipack;C:\TMS\TMS Setup\Products\tms.fnc.cloudpackresteditor;C:\TMS\TMS Setup\Products\tms.fnc.maps;C:\TMS\TMS Setup\Products\tms.fnc.websocket;C:\TMS\TMS Setup\Products\tms.webcore"
Error during compilation
[Fatal Error] Error during compilation
I have already uninstalled/reinstalled all the TMS components I use, but nothing changes.
I attach the code.
Any idea? I'm on Delphi 12.3, fully patched.
Thanks!
Test.zip (15.6 KB)
Is this the latest version of the components?
I have retested this here but I could not see any error:
Yes, reinstalled it today.
I'm on Delphi 12.3, anyway.
Are your TMS WEB Core library paths clean?
Also with Delphi 12.3 I don't see any compile errors
I have uninstalled every TMS component, cleaned everything related to TMS, installed only WebCore... same error. I will try on another PC.
Checking project dependencies...
Compiling Project1.dproj (Debug, Win64)
Unit1.pas(1): Preprocessor: C:$DelphiProjects\qqq\Unit1.pas
Unit1.pas(1): Preprocessor: C:$DelphiProjects\qqq\Unit1.pas
Command line: C:\TMS\TMS Setup\Products\tms.webcore\Bin\Win64\pas2js.exe C:$DelphiProjects\qqq\Project1.dpr -MDelphi -l -JeJSON -JRnone -Jminclude -O- -Jc -B -viw -vnh -vm026,5024,3021,5023,4501 -Jitms.js -Jirtl.js -FUC:$DelphiProjects\qqq\TMSWeb\Debug -vb -vl -dDEBUG -dPAS2JS -dWEBLIB "-FuC:$DelphiProjects\qqq;C:\TMS\TMS Setup\Products\tms.webcore\Core Source;C:\TMS\TMS Setup\Products\tms.webcore\Core Source\RTL;C:\TMS\TMS Setup\Products\tms.webcore" "-FiC:$DelphiProjects\qqq;C:\TMS\TMS Setup\Products\tms.webcore\Core Source;C:\TMS\TMS Setup\Products\tms.webcore\Core Source\RTL;C:\TMS\TMS Setup\Products\tms.webcore"
Error during compilation
[Fatal Error] Error during compilation
Same with 32 bit
Checking project dependencies...
Compiling Project1.dproj (Debug, Win32)
Unit1.pas(1): Preprocessor: C:$DelphiProjects\qqq\Unit1.pas
Unit1.pas(1): Preprocessor: C:$DelphiProjects\qqq\Unit1.pas
Command line: C:\TMS\TMS Setup\Products\tms.webcore\Bin\Win32\pas2js.exe C:$DelphiProjects\qqq\Project1.dpr -MDelphi -l -JeJSON -JRnone -Jminclude -O- -Jc -B -viw -vnh -vm026,5024,3021,5023,4501 -Jitms.js -Jirtl.js -FUC:$DelphiProjects\qqq\TMSWeb\Debug -vb -vl -dDEBUG -dPAS2JS -dWEBLIB "-FuC:$DelphiProjects\qqq;C:\TMS\TMS Setup\Products\tms.webcore\Core Source;C:\TMS\TMS Setup\Products\tms.webcore\Core Source\RTL;C:\TMS\TMS Setup\Products\tms.webcore" "-FiC:$DelphiProjects\qqq;C:\TMS\TMS Setup\Products\tms.webcore\Core Source;C:\TMS\TMS Setup\Products\tms.webcore\Core Source\RTL;C:\TMS\TMS Setup\Products\tms.webcore"
Error during compilation
[Fatal Error] Error during compilation
Are you really sure you sent the right project, as the project you sent contains just one form and one TWebButton on this form.
It compiles & runs without issue here.
Absolutely... that's why I was asking for help. I really cannot understand the cause of the error in a project like this. BTW, I get the same error also with an empty form without any component in it. "Error during compilation" doesn't help in understanding where the error could be or what could be causing it.
In a couple of day there will be Delphi 13, that I will install: I hope not having the same problem.
Dear Bruno, I have found the cause of the problem.
If in the path of project a folder name starts with $ (as in C:$Test\Project1.dproj) the compilation fails with the above error.
If there is no $ (as in C:_Test\Project1.dproj) the compilation completes without any error.
Problem solved...
Thanks for informing.
We'll check if with this information we can reproduce this and show a more descriptive compiler error.