Autor Beitrag
Fighter#1
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: Sa 08.07.06 13:31 
Hallo,
Ich hab mein Projekt immer kompilieren können, doch seit ich (unabhängig vom Projekt) versucht habe aus Narses UDPSockUtil ein Package zu machen. Hab ein bissele rumexperimentiert, aber nur im Quelltext des Packages, aber ohne erfolg.
Hab grad Delphi wieder gestartet und drück auf [Strg] + [F9] und dann kommt
[Fataler Fehler]Being_Watched.dpr(1): F2063 Verwendete Unit 'System.pas' kann nicht compiliert werden;

Der Projektmanager zeigt an:

-Being_Watched.exe

+Unit1.pas
+Unit2.Pas
+Unit3.Pas
+Unit4.Pas
+Unit5.Pas
und nix von einer System.pas.

Der Fehler tritt auch schon in Being_Watched.dpr auf also nicht auf den Formularen.
Ich zeigs mal kurz :

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
program Being_Watched;

uses
  Forms,
  unit1 in 'unit1.pas' {Form1},
  Unit2 in 'Unit2.pas' {Form2},
  Unit3 in 'Unit3.pas' {Form3},
  Unit4 in 'Unit4.pas' {Form4},
  Unit5 in 'Unit5.pas' {Form5};

{$R *.res}

begin
  Application.Initialize;
  Application.CreateForm(TForm1, Form1);
  Application.CreateForm(TForm2, Form2);
  Application.CreateForm(TForm3, Form3);
  Application.CreateForm(TForm4, Form4);
  Application.CreateForm(TForm5, Form5);
  Application.Run;
end.



Also, was kann ich tun?

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Sa 08.07.06 13:56 
Vielleicht steht System unter uses?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Sa 08.07.06 13:59 
System wird automatisch bei jeder Delphi-Unit eingebunden und stellt elementare Funktionen wie z.B. ReadLn zur Verfügung. Es ist also egal, ob die Unit unter uses steht, gebraucht wird sie trotzdem.

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Fighter#1 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: Sa 08.07.06 14:39 
Problem: aufm ganzen Arbeitsplatz gibts die datei system.pas nicht!!!

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Sa 08.07.06 14:48 
user profile iconFighter#1 hat folgendes geschrieben:
Problem: aufm ganzen Arbeitsplatz gibts die datei system.pas nicht!!!

Vielleicht ist ja grade das das Problem. Dann hol sie dir irgendwo her und probier obs dann geht.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
MagicAndre1981
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 08.07.06 17:08 
bei der PE ist der Source nicht dabei, sondern nur die System.dcu.
Fighter#1 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: Sa 08.07.06 18:28 
OK wenn sie nicht dabei ist muss es doch auch anders gehen, nicht?
Also was soll ich machen!?!, Sorry kotzt mich grad halt voll an!

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Sa 08.07.06 19:57 
Laß dir doch von jemander der auch die 2005PE hat die System.dcu schicken.

_________________
Markus Kinzler.
MagicAndre1981
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 08.07.06 22:16 
stimmen, die Bibliothekspfade in der IDE?
Fighter#1 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: So 09.07.06 08:41 
Ach du *mist*e, di Pfade, ich glaub da hab ich was geändert weil er mal wass gemeckert hat, hab ich einfach mal die Pfade gelöscht weil der irgendebbes gemeint hat vonwegen pfad existiert schon, dann hab ich einfach mal die Pfade "entfernt", Kagge! Welche Pfade müssen denn da rein.
Ich spürs, wir kommen dem Problem näher ...

Ähm, wo sollten denn die Pfade stehen?
Bei Projekt - Optionen - Verzeichnisse/Bedingungen oder wo??

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: So 09.07.06 09:45 
vielleicht \lib\ bei den bibliothekspfaden
Fighter#1 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: So 09.07.06 10:29 
Das kann sein, nur wo kann ich die abändern, trotzdem schonmal Danke

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
Peinhard
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 39



BeitragVerfasst: So 09.07.06 10:31 
Tools\Umgebungsoptionen und da Bibliothekspfade - so war's jedenfalls bislang 'immer'... Wenn da gähnende Leere klafft ist die Fehlermeldung erklärbar: der Compiler findet die System.dcu nicht und möchte daher dringend mal eine System.pas compilieren.

Für den Anfang mag es helfen, die Standardpfade wiederherzustellen, wenn sich auch da (seit D5, D7 hab ich grad 'nicht zur Hand') nichts an der Syntax und der Verzeichnislage geändert hat bitte diese Zeichenfolge in das Edit 'pasten':

$(DELPHI)\Lib;$(DELPHI)\Bin;$(DELPHI)\Imports;$(DELPHI)\Projects\Bpl;

(Ansonsten möge bitte ein 2005 PE-Nutzer mit den Standardpfaden einspringen.)

Jetzt fehlen natürlich noch die Pfade zu den Quell-Dateien der diversen installierten Zusatzpackages, der Compiler wird nun zwar nicht mehr die System.pas anmeckern, aber evt die Quell-Dateien im Projekt verwendeter Zusatzkomponenten. Das sollte einem aber genug Info geben, um diese Pfade auch wiederherstellen zu können - die angemeckerten Dateien suchen und ihre Pfade eintragen (cf OLH).

peinhard
Fighter#1 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: So 09.07.06 10:41 
Oh je, das wird hart.
Also unter Tools gibts den Menüpunkt Optionen.
Dort gibts dann auch die gewünschten Umgebungsoptionen.
Doch da is nix von wegen Bibliotheks Pfad.
Egal weiterunten gibts noch Delphi-Optionen und dort Bibliothek - Win32.
Ich denke, da bin ich richtig.
Dort tummeln sich die Pfade nur so. Einer heißt Bibliothekspfad, da steht auch schon viel drinne.
Das hab ich mal rauskopiert (und gesichert) und deins reinkopiert
Und siehe da, er findet die Indys nemme :-D, aber er meckert nichtmehr wegen derre System.pas :angel:
So, was nun.
Ich bin euch so dankbar :flehan:
Langsam denk ich über Delphi 2005 PE nurnoch :schmoll:
Ich glaub ich installier gleich Delphi 5 wieder

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
Fighter#1 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: So 09.07.06 10:48 
Achja, meine Quellen sin auch wieder Reinkopiert.
Da stehn auch die Indys, aber die san ihm wohl nichme gut genug

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
Peinhard
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 39



BeitragVerfasst: So 09.07.06 10:50 
user profile iconFighter#1 hat folgendes geschrieben:
Das hab ich mal rauskopiert (und gesichert) und deins reinkopiert
Und siehe da, er findet die Indys nemme :-D, aber er meckert nichtmehr wegen derre System.pas :angel:
So, was nun.

Nun könntest du mal vorsichtig deine gesicherten Pfade hinter den Standardpfaden einkopieren (vielleicht ohne den zu den Packages/den Komponenten, die den Ärger verursacht haben). Ansonsten wie schon beschrieben - die angemeckerten Dateien suchen und ihre Pfade nachtragen (wie siehe OLH).

Zitat:
Ich bin euch so dankbar :flehan:
Langsam denk ich über Delphi 2005 PE nurnoch :schmoll:
Ich glaub ich installier gleich Delphi 5 wieder

Das reagiert aber genauso ungnädig wenn man ihm die Pfade klaut...

peinhard
Fighter#1 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: So 09.07.06 10:58 
Ich habs geschaft :dance2: :dance: :dunce: :party:

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse