gelöst: Fehler beim Compilieren

Für Fragen von Einsteigern und Programmieranfängern...
Antworten
Bauer321
Beiträge: 465
Registriert: Sa 21. Aug 2010, 21:30
OS, Lazarus, FPC: Windows 7 Ultimate (L 1.2.2 FPC 2.6.4 32-bit)
CPU-Target: 64-Bit
Wohnort: nahe Bremen
Kontaktdaten:

gelöst: Fehler beim Compilieren

Beitrag von Bauer321 »

Es ging die ganze Zeit bestimmt 100 mal konnte ich es kompilieren und dann kam eben auf ienmal das hier:

Hint: Start of reading config file c:\lazarus\fpc\2.5.1\bin\i386-win32\fpc.cfg
Hint: End of reading config file c:\lazarus\fpc\2.5.1\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 2.5.1 [2010/12/20] for i386
Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: Win32 for i386
Compiling hotkey.lpr
Compiling resource D:\Informatik\hotkey\hotkey.rc
Compiling resource hotkey.or
hotkey.lpr(22,1) Error: Error while compiling resources
Linking hotkey.exe
hotkey.lpr(22,1) Fatal: There were 1 errors compiling module, stopping

dann verweist er auf das hier

Code: Alles auswählen

program hotkey;
 
{$mode objfpc}{$H+}
 
uses
  {$IFDEF UNIX}{$IFDEF UseCThreads}
  cthreads,
  {$ENDIF}{$ENDIF}
  Interfaces, // this includes the LCL widgetset
  Forms, uhotkey, ublack;
 
{$IFDEF WINDOWS}{$R hotkey.rc}{$ENDIF}
 
{$R *.res}
 
begin
  Application.Title:='Helper';
  Application.Initialize;
  Application.CreateForm(TForm1, Form1);
  Application.CreateForm(TForm2, Form2);
  Application.Run;
end.
und da bleibt er in der letzten zeile seten-.-

...also ich seh da leider keinen fehler wer ne ahnung was da los ist?

also ich hab lediglich dne icon aus der exe entfernt
Zuletzt geändert von Bauer321 am Mo 20. Dez 2010, 22:04, insgesamt 1-mal geändert.
www.mcpatcher.net | www.hoeper.me

Bora4d
Beiträge: 290
Registriert: Mo 24. Dez 2007, 13:14
OS, Lazarus, FPC: WinXP-Pro-Sp3, Xubuntu 12.04, (Laz 1.1-SVN Mai2012, FPC 2.6.1 / 2.6.0-Linux)
CPU-Target: AMD64X2

Re: Fehler beim Compilieren

Beitrag von Bora4d »

Kommentiere das aus:
{$IFDEF WINDOWS}{$R hotkey.rc}{$ENDIF}
so etwa:
//{$IFDEF WINDOWS}{$R hotkey.rc}{$ENDIF}

Diesen Fehler:
Compiling hotkey.lpr
Compiling resource D:\Informatik\hotkey\hotkey.rc
Compiling resource hotkey.or
hotkey.lpr(22,1) Error: Error while compiling resources
Linking hotkey.exe
hotkey.lpr(22,1) Fatal: There were 1 errors compiling module, stopping

wirdst du öfters begegnen vor allem wenn du was runterlädst. Dann hilft es immer wenn du die Resourcenzeile findest und auskommentierst.

Bauer321
Beiträge: 465
Registriert: Sa 21. Aug 2010, 21:30
OS, Lazarus, FPC: Windows 7 Ultimate (L 1.2.2 FPC 2.6.4 32-bit)
CPU-Target: 64-Bit
Wohnort: nahe Bremen
Kontaktdaten:

Re: Fehler beim Compilieren

Beitrag von Bauer321 »

vielendank werd ich mir merken
www.mcpatcher.net | www.hoeper.me

Antworten