Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Delphi 10 - Random occurance of Fatal Error F2063



Permlink Replies: 3 - Last Post: Jan 19, 2016 10:18 AM Last Post By: Peter Below
Brian Ford

Posts: 10
Registered: 7/25/10
Delphi 10 - Random occurance of Fatal Error F2063
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 18, 2016 6:43 AM
While compiling our project I often get an error message like this:

[dcc32 Fatal Error] ShortcutSwapChannel.pas(190): F2063 Could not compile used unit 'ShortcutSendMsg.pas'

Simply hitting Compile again and it will succeed on that file; but often fail on some other random file. Recompiling again and will succeed again; it usually takes 2 or 3 compiles for it to successfully build the project. We just upgraded from Delphi 2007 and never had any issue like this.

Is any one else encountering an issue like this. It occurred on Seattle both before and after upgrading to Update 1.

Edited by: Brian Ford on Jan 18, 2016 6:44 AM
Peter Below

Posts: 1,227
Registered: 12/16/99
Re: Delphi 10 - Random occurance of Fatal Error F2063 [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 18, 2016 10:23 AM   in response to: Brian Ford in response to: Brian Ford
Brian Ford wrote:

While compiling our project I often get an error message like this:

[dcc32 Fatal Error] ShortcutSwapChannel.pas(190): F2063 Could not
compile used unit 'ShortcutSendMsg.pas'

Simply hitting Compile again and it will succeed on that file; but
often fail on some other random file. Recompiling again and will
succeed again; it usually takes 2 or 3 compiles for it to
successfully build the project. We just upgraded from Delphi 2007
and never had any issue like this.

Is any one else encountering an issue like this. It occurred on
Seattle both before and after upgrading to Update 1.

Edited by: Brian Ford on Jan 18, 2016 6:44 AM

Do you get this kind of problem also if you do a build instead of a
compile? Once you have one successful build the following compiles will
usually have to recompile only very few units.

--
Peter Below
TeamB
Brian Ford

Posts: 10
Registered: 7/25/10
Re: Delphi 10 - Random occurance of Fatal Error F2063 [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 18, 2016 6:33 PM   in response to: Peter Below in response to: Peter Below

Do you get this kind of problem also if you do a build instead of a
compile? Once you have one successful build the following compiles will
usually have to recompile only very few units.

I haven't noticed the fatal error when doing a full build; though I rarely do that as it takes almost 4 minutes to build. I usually notice it when I change a file that might be referenced by several other files and therefore triggers a very large number of files to need to be recompiled.

It's not a big deal; just annoying to have to keep hitting Ctrl+F9 till it succeeds (still faster than doing Shift+F9 and waiting...)
Peter Below

Posts: 1,227
Registered: 12/16/99
Re: Delphi 10 - Random occurance of Fatal Error F2063 [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 19, 2016 10:18 AM   in response to: Brian Ford in response to: Brian Ford
Brian Ford wrote:


Do you get this kind of problem also if you do a build instead of a
compile? Once you have one successful build the following compiles
will usually have to recompile only very few units.

I haven't noticed the fatal error when doing a full build; though I
rarely do that as it takes almost 4 minutes to build.

Either that is a monster project, or you are rebuilding a whole project
group here. I have not investigated this with D10 yet, but with XE7 a
build via keyboard or from the menu tries to rebuild all projects in a
group for me (XE5 did not do that), even though no dependencies exist
between the projects in the group. To build only one project I have to
use the context menu of the project manager view.

My largest project (~ 275 KLoc, ~ 300 units) builds in less than a
minute for me (but that is still XE5 I have to confess...)

--
Peter Below
TeamB
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02