IDE: added target hint

git-svn-id: trunk@19648 -
This commit is contained in:
mattias 2009-04-27 11:16:41 +00:00
parent cfc67e3541
commit 5eb71b62d3
2 changed files with 7 additions and 3 deletions

View File

@ -567,9 +567,9 @@ begin
debugln('TMainIDE.RescanCompilerDefines C UnitLinks=',copy(CompilerUnitLinks,1,100));
{$ENDIF}
if not FoundSystemPPU then begin
IDEMessageDialog('Error',
'The system.ppu was not found in the FPC directories. '
+'Make sure fpc is installed correctly and the fpc.cfg points to the right directory.',
IDEMessageDialog(lisCCOErrorCaption,
Format(lisTheProjectUsesTargetOSAndCPUTheSystemPpuForThisTar, [
TargetOS, TargetProcessor, #13, #13]),
mtError,[mbOk]);
end;

View File

@ -4174,6 +4174,10 @@ resourcestring
lisCEStyleGroup = 'Style';
lisCEOtherGroup = 'Other';
lisCEWrongIndentation = 'Wrong indentation';
lisTheProjectUsesTargetOSAndCPUTheSystemPpuForThisTar = 'The project uses '
+'target OS=%s and CPU=%s.%sThe system.ppu for this target was not found '
+'in the FPC binary directories. %sMake sure fpc is installed correctly '
+'for this target and the fpc.cfg contains the right directories.';
implementation