Error compiling with v2014
Error compiling with v2014
Hello,
I am trying to set up a simple project to present an issue I am facing and I get an error when trying to compile (I create a new VCL application, drop a TChart and compile):
[dcc32 Fatal Error] VCLTee.TeeProcs.pas(105): F1026 File not found: 'C:\Users\XXXXXXX\Documents\Embarcadero\Studio\Projects\TeCanvas.dcu'
I am guessing that I am doing something wrong as the project I am working compiles fine What am I missing here?
Regards
I am trying to set up a simple project to present an issue I am facing and I get an error when trying to compile (I create a new VCL application, drop a TChart and compile):
[dcc32 Fatal Error] VCLTee.TeeProcs.pas(105): F1026 File not found: 'C:\Users\XXXXXXX\Documents\Embarcadero\Studio\Projects\TeCanvas.dcu'
I am guessing that I am doing something wrong as the project I am working compiles fine What am I missing here?
Regards
Re: Error compiling with v2014
Hello,
The VCLTee prefix may be missing in the project unit scope names.
I's also check the library path in the IDE.
The VCLTee prefix may be missing in the project unit scope names.
I's also check the library path in the IDE.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Error compiling with v2014
Hello Yeray,
I am a little bit lost, in my library path there is one entry: C:\........\Components\TeeChart Pro 2014 Full Source Code\Sources\VCL, anything else I should check? I am pretty sure I sent you some test projects before so I cannot understand what is wrong now and they want compile.
Regards
I am a little bit lost, in my library path there is one entry: C:\........\Components\TeeChart Pro 2014 Full Source Code\Sources\VCL, anything else I should check? I am pretty sure I sent you some test projects before so I cannot understand what is wrong now and they want compile.
Regards
-
- Newbie
- Posts: 60
- Joined: Fri Nov 22, 2013 12:00 am
Re: Error compiling with v2014
Your library path is most likely wrong. Just set it to where your TeCanvas.dcu is.
I just installed TeeChart Pro (with Sources) to
C:\Program Files (x86)\Steema Software\Source 2014.11.140512 XE5\
Therefore, my library path is
C:\Program Files (x86)\Steema Software\Source 2014.11.140512 XE5\Sources\Compiled\Delphi19.win32\Lib
because I didn't change anything where to put the compiled files. Hence they ended up in .\Compiled\Delphi19.win32\Lib
Delphi19 stands for Delphi XE5, Delphi20 for XE6 and so on...
I just installed TeeChart Pro (with Sources) to
C:\Program Files (x86)\Steema Software\Source 2014.11.140512 XE5\
Therefore, my library path is
C:\Program Files (x86)\Steema Software\Source 2014.11.140512 XE5\Sources\Compiled\Delphi19.win32\Lib
because I didn't change anything where to put the compiled files. Hence they ended up in .\Compiled\Delphi19.win32\Lib
Delphi19 stands for Delphi XE5, Delphi20 for XE6 and so on...
Re: Error compiling with v2014
Thank you very much for your reply, I changed my Lib path and it works ok. Now, if I make any changes to the sources will they reflect to my application?
Regards
Regards
-
- Newbie
- Posts: 60
- Joined: Fri Nov 22, 2013 12:00 am
Re: Error compiling with v2014
No. Your library path points to a folder of DCUs. DCUs (I guess they stand for Delphi Compiled Unit?) were already compiled once when you ran TeeInstall.exe.
If you want to make changes to the TeeChart sources I guess the "normal" way is to modify the sources and then run TeeInstall.exe again so the DCUs are updated.
I never tried, but I guess it should also be possible to also include (or just) include the folder with the TeeChart source files to your "search path". You might also have to set your "DCU Output path" since Delphi will probably fail writing DCUs to c:\program files\.
If you want to make changes to the TeeChart sources I guess the "normal" way is to modify the sources and then run TeeInstall.exe again so the DCUs are updated.
I never tried, but I guess it should also be possible to also include (or just) include the folder with the TeeChart source files to your "search path". You might also have to set your "DCU Output path" since Delphi will probably fail writing DCUs to c:\program files\.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Error compiling with v2014
Hello everyone.
Exactly, placing the sources folder above other TeeChart related paths would allow you modify the sources and use them directly. This would also allow you debugging them.jens.mertelmeyer wrote: I never tried, but I guess it should also be possible to also include (or just) include the folder with the TeeChart source files to your "search path".
No, I don't think there should be any problem with that.jens.mertelmeyer wrote: You might also have to set your "DCU Output path" since Delphi will probably fail writing DCUs to c:\program files\.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 60
- Joined: Fri Nov 22, 2013 12:00 am
Re: Error compiling with v2014
TeeChart default install path is %ProgramFiles(x86)%\Steema Software\[xxx]
As long as you don't dare to forcefully run your IDE with administrator privileges, you may not modify files placed in %ProgramFiles(x86)%.
If you installed TeeChart somewhere else then it might work.
As long as you don't dare to forcefully run your IDE with administrator privileges, you may not modify files placed in %ProgramFiles(x86)%.
If you installed TeeChart somewhere else then it might work.
Re: Error compiling with v2014
Thank you all for your answers, I added the TeeChart Sources path just above the Lib path and when I try to compile I get the following error:
[dcc32 Error] TeCanvas.pas(5785): E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
Any clues?
Regards
[dcc32 Error] TeCanvas.pas(5785): E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
Any clues?
Regards
Re: Error compiling with v2014
Hello,
However, in the new IDEs, where the units must have prefixes, running TeeRecompile is the easiest way to auto-generate the units with prefixes (see Sources\VCL and Sources\FMX paths). So, running TeeRecompile to generate the prefixed units, you are already generating the dcu too.
Then, if you are modifying TeeChart sources at the Sources path and you are running TeeRecompile after each modification, then it should be the same putting the Sources\VCL path above or \Sources\Compiled\DelphiXX.win32\Lib.
But if you are modifying TeeChart sources directly at the Sources\VCL path, then (a) note TeeRecompile will override your changes if you run it, (b) putting Sources\VCL path above is essential if you want to use your changes without running TeeRecompile and (c) you'll have to move your modifications to the files at Sources to run TeeRecompile with your changes.
In old IDEs, putting the Sources path above in the list is enough so the correct pas and dfm are all there.johnnix wrote:Thank you all for your answers, I added the TeeChart Sources path just above the Lib path and when I try to compile I get the following error:
[dcc32 Error] TeCanvas.pas(5785): E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
Any clues?
However, in the new IDEs, where the units must have prefixes, running TeeRecompile is the easiest way to auto-generate the units with prefixes (see Sources\VCL and Sources\FMX paths). So, running TeeRecompile to generate the prefixed units, you are already generating the dcu too.
Then, if you are modifying TeeChart sources at the Sources path and you are running TeeRecompile after each modification, then it should be the same putting the Sources\VCL path above or \Sources\Compiled\DelphiXX.win32\Lib.
But if you are modifying TeeChart sources directly at the Sources\VCL path, then (a) note TeeRecompile will override your changes if you run it, (b) putting Sources\VCL path above is essential if you want to use your changes without running TeeRecompile and (c) you'll have to move your modifications to the files at Sources to run TeeRecompile with your changes.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |