[dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020
-
- Newbie
- Posts: 10
- Joined: Wed Aug 05, 2020 12:00 am
[dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020
Rad Studio Sydney 10.4.2
TeeChart VCL FMX SOURCE-2020.31
When building an older project that has a TeeChart in it, I am getting the following error:
[dcc32 Fatal Error] VCLTee.TeeHtml.pas(934): F2039 Could not create output file 'C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2020.31\Source\VCL\VCLTee.TeeHtml.dcu'
Any ideas on where to start looking for the cause of this problem?
TeeChart VCL FMX SOURCE-2020.31
When building an older project that has a TeeChart in it, I am getting the following error:
[dcc32 Fatal Error] VCLTee.TeeHtml.pas(934): F2039 Could not create output file 'C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2020.31\Source\VCL\VCLTee.TeeHtml.dcu'
Any ideas on where to start looking for the cause of this problem?
-
- Newbie
- Posts: 10
- Joined: Wed Aug 05, 2020 12:00 am
Re: [dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020
Starting with a clean Windows 7 machine, I installed RAD Studio 10.4.2 from scratch, also downloaded and installed TeeChart Pro v2021.31 on this machine.
This made no difference - I still get the same error message when I try to compile the project:
[dcc32 Fatal Error] VCLTee.TeeHtml.pas(933): F2039 Could not create output file 'C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2020.31\Source\VCL\VCLTee.TeeHtml.dcu'
I also tried just creating a simple VCL application with just a TChart component on it with a LineSeries in it.
Here, I get different errors when I try to compile:
[dcc32 Error] VCLTee.TeeSpline.pas(634): E2010 Incompatible types: 'TTeeFunctionClass' and 'class of TSmoothingFunction'
[dcc32 Error] VCLTee.TeeSpline.pas(638): E2010 Incompatible types: 'TTeeFunctionClass' and 'class of TSmoothingFunction'
[dcc32 Fatal Error] VCLTee.Series.pas(766): F2063 Could not compile used unit 'VCLTee.TeeSpline.pas'
What's happening???
This made no difference - I still get the same error message when I try to compile the project:
[dcc32 Fatal Error] VCLTee.TeeHtml.pas(933): F2039 Could not create output file 'C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2020.31\Source\VCL\VCLTee.TeeHtml.dcu'
I also tried just creating a simple VCL application with just a TChart component on it with a LineSeries in it.
Here, I get different errors when I try to compile:
[dcc32 Error] VCLTee.TeeSpline.pas(634): E2010 Incompatible types: 'TTeeFunctionClass' and 'class of TSmoothingFunction'
[dcc32 Error] VCLTee.TeeSpline.pas(638): E2010 Incompatible types: 'TTeeFunctionClass' and 'class of TSmoothingFunction'
[dcc32 Fatal Error] VCLTee.Series.pas(766): F2063 Could not compile used unit 'VCLTee.TeeSpline.pas'
What's happening???
-
- Newbie
- Posts: 10
- Joined: Wed Aug 05, 2020 12:00 am
Re: [dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020
I think I figured out what causes the second error and a workaround, but it is clearly a bug:
[dcc32 Error] VCLTee.TeeSpline.pas(634): E2010 Incompatible types: 'TTeeFunctionClass' and 'class of TSmoothingFunction'
I think I will raise a support case on Monday as I'm not getting anywhere with the first problem
[dcc32 Fatal Error] VCLTee.TeeHtml.pas(933): F2039 Could not create output file 'C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2020.31\Source\VCL\VCLTee.TeeHtml.dcu'
[dcc32 Error] VCLTee.TeeSpline.pas(634): E2010 Incompatible types: 'TTeeFunctionClass' and 'class of TSmoothingFunction'
I think I will raise a support case on Monday as I'm not getting anywhere with the first problem
[dcc32 Fatal Error] VCLTee.TeeHtml.pas(933): F2039 Could not create output file 'C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2020.31\Source\VCL\VCLTee.TeeHtml.dcu'
Re: [dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020
Hello,
This is probably a case of a miscofiguration in the paths.
If you want to debug TeeChart sources, you need to have the "Source\VCL" path in the Library path.
Otherwise, you just need to run TeeRecompile and check the "Compiled\Delphi26.win32" path (or "Compiled\Delphi26.win64", etc depending on the platform) is in the Library path.
Also note the "VCLTee" prefix should be in the "unit scope names".
Check HowTo setup Paths in the IDE for more details about the paths.
This is probably a case of a miscofiguration in the paths.
If you want to debug TeeChart sources, you need to have the "Source\VCL" path in the Library path.
Otherwise, you just need to run TeeRecompile and check the "Compiled\Delphi26.win32" path (or "Compiled\Delphi26.win64", etc depending on the platform) is in the Library path.
Also note the "VCLTee" prefix should be in the "unit scope names".
Check HowTo setup Paths in the IDE for more details about the paths.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 10
- Joined: Wed Aug 05, 2020 12:00 am
Re: [dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020
I have the following additional information:
If I give the (Windows) user rights to write to directory "C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2020.31\Source\VCL\", then the problem goes away... it looks like "something" is attempting to compile the DCU straight into that directory.
So the question is - why is TeeChart trying to compile *.dcu binaries into the Program Files directory?? - if you let it do that, everything works... but should it be doing that?
What path(s) should I look at to understand how that can happen?
Regarding the second problem with TTeeFunctionClass, I see another person had the same issue, I found a workaround for that too, but I don't want to "pollute" the thread with that issue, let's concentrate on the Program Files issue first, I might comment in the other thread with what I found.
If I give the (Windows) user rights to write to directory "C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2020.31\Source\VCL\", then the problem goes away... it looks like "something" is attempting to compile the DCU straight into that directory.
So the question is - why is TeeChart trying to compile *.dcu binaries into the Program Files directory?? - if you let it do that, everything works... but should it be doing that?
What path(s) should I look at to understand how that can happen?
Regarding the second problem with TTeeFunctionClass, I see another person had the same issue, I found a workaround for that too, but I don't want to "pollute" the thread with that issue, let's concentrate on the Program Files issue first, I might comment in the other thread with what I found.
-
- Newbie
- Posts: 10
- Joined: Wed Aug 05, 2020 12:00 am
Re: [dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020
Looking at the Library paths, I see this:
Are you saying I need to add another line, that points to Source\VCL ?
Also, why is the $(TEESRCPATH) flagged as an invalid path by the IDE?
Are you saying I need to add another line, that points to Source\VCL ?
Also, why is the $(TEESRCPATH) flagged as an invalid path by the IDE?
Re: [dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020
Hello,
Is the
It probably is, and it probably has the value:
Note there are two paths in the same variable (separated by a
Then, if you want to compile TeeChart as you go, you can leave
Is the
TEESRCPATH
defined in the environment variables?
It probably is, and it probably has the value:
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2020.31\Source\VCL;C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2020.31\Source\FMX
Note there are two paths in the same variable (separated by a
;
), which the compiler parses without issues, but the IDE flags it as an invalid path in that editor.Then, if you want to compile TeeChart as you go, you can leave
$(TEESRCPATH)
in the Library path. If you just want to use the compiled packages, you can remove $(TEESRCPATH)
and leave $(TEELIBPATH)
or C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2020.31\Compiled\Delphi27.win32\Lib
which should be the same.Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 10
- Joined: Wed Aug 05, 2020 12:00 am
Re: [dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020
TEESRCPATH is defined in the environment variables on my system too.
The problem seems to be that when I build my project, Delphi wants to recompile VCLTee.TeeHtml.pas for some reason, even though this file has not been changed.
The compilation then fails because the user doesn't have rights to write VCLTee.TeeHtml.dcu into the Program Files directory (only the Trusted Installer user has the rights to write in Program Files).
Why did all the DCUs get installed into Program Files, where they cannot be rebuilt?
I noticed on your screenshot that your installation appears to be on Drive E:, so you probably won't see this problem.
The problem seems to be that when I build my project, Delphi wants to recompile VCLTee.TeeHtml.pas for some reason, even though this file has not been changed.
The compilation then fails because the user doesn't have rights to write VCLTee.TeeHtml.dcu into the Program Files directory (only the Trusted Installer user has the rights to write in Program Files).
Why did all the DCUs get installed into Program Files, where they cannot be rebuilt?
I noticed on your screenshot that your installation appears to be on Drive E:, so you probably won't see this problem.
-
- Newbie
- Posts: 10
- Joined: Wed Aug 05, 2020 12:00 am
Re: [dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020
Just to follow up with the solution to this problem, in case anyone else runs into it:
I uninstalled TeeChart completely, then reinstalled. This time, when TeeRecompile executed, I created a TeeChart Source Code Folder outside the Program Files hierarchy.... and let TeeRecompile go about its business.
Basically, don't just blindly accept the Source Code Folder location that TeeRecompile suggests by default - it is NOT necessarily a good place!
At this point, it looks like everything is working normally.
I uninstalled TeeChart completely, then reinstalled. This time, when TeeRecompile executed, I created a TeeChart Source Code Folder outside the Program Files hierarchy.... and let TeeRecompile go about its business.
Basically, don't just blindly accept the Source Code Folder location that TeeRecompile suggests by default - it is NOT necessarily a good place!
At this point, it looks like everything is working normally.
Re: [dcc32 Fatal Error] VCLTee.TeeHtml.pas when building project - Rad Studio 10.4.2, TeeChart source v2020
Hello,
Another alternative is to run the IDE with high privileges (as administrator) so it has enough rights to write there.
Another alternative is to run the IDE with high privileges (as administrator) so it has enough rights to write there.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |