Newbie FRage Fehlermeldungen



  • Hallo sorry ich bin neu im einstieg mit der Programierung.
    deswegen habe ich eine FRage.
    Also ich habe eine Projekt (komplexes Programm)zu bearbeiten.
    Deren Quellcode habe ich auch und dies unterteilt sich in zwei Arbeitsbereiche.

    arbeitsbereich1.dsw
    Arbeitsbereich2.dsw

    wenn ich nun arbeitsbereich1 kombiliere funktioniert dies auch und dann auf Ausführen kommt auch das Programm zum vorschein.

    Wenn ich nun auf arbeitsbereich2.dsw auf kompilieren gehe funzt dies auch ohne fehler.

    Aber bei Ausführen kommen diese Fehlermeldungen

    emporäre Dateien und Ausgabedateien für "Hauptprogramm - Win32 Debug" werden gelöscht.
    --------------------Konfiguration: Hauptprogramm - Win32 Debug--------------------
    Kompilierung läuft...
    Hauptprogramm.cpp
    Linker-Vorgang läuft...
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl RegLesen(struct ProgrammInformation *)" (?RegLesen@@YA_NPAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl KillBilder(struct ProgrammInformation *)" (?KillBilder@@YA_NPAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl KillSchrift(struct ProgrammInformation *)" (?KillSchrift@@YA_NPAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "enum FehlerCode __cdecl DateiSpeichern(struct ProgrammInformation *,struct tagOFNA,void * *,void * *)" (?DateiSpeichern@@YA?AW4FehlerCode@@PAUProgrammInformation@@UtagOFNA@@PAPAX2
    @Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl AngeschlosseneLinienSpeichern(struct AnschlussArray *,void * *,struct ProgrammInformation *)" (?AngeschlosseneLinienSpeichern@@YA_NPAUAnschlussArray@@PAPAXPAUProgramm
    Information@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl BlockSpeichern(void * *,struct BlockSpeicherFeld *,struct ProgrammInformation *,struct PINS,bool)" (?BlockSpeichern@@YA_NPAPAXPAUBlockSpeicherFeld@@PAUProgrammInforma
    tion@@UPINS@@_N@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl SpeichereLinie(struct VERDRAHTENSCHALTEN *,void * *,struct ProgrammInformation *,bool)" (?SpeichereLinie@@YA_NPAUVERDRAHTENSCHALTEN@@PAPAXPAUProgrammInformation@@_N@Z
    )
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl pruefeObWechselMoeglich(struct PINS)" (?pruefeObWechselMoeglich@@YA_NUPINS@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl KorrigiereBeschriftung(struct PINS,struct ProgrammInformation *)" (?KorrigiereBeschriftung@@YA_NUPINS@@PAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl RegSetzen(struct ProgrammInformation *)" (?RegSetzen@@YA_NPAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl loeschePunkt(struct VERDRAHTENSCHALTEN *,struct ProgrammInformation *)" (?loeschePunkt@@YA_NPAUVERDRAHTENSCHALTEN@@PAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl passeAuswahlFensterAn(struct ProgrammInformation *,void *)" (?passeAuswahlFensterAn@@YA_NPAUProgrammInformation@@PAX@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl InitDateimenue(struct ProgrammInformation *,struct tagOFNA *)" (?InitDateimenue@@YA_NPAUProgrammInformation@@PAUtagOFNA@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl ErstelleAuswahlFenster(struct ProgrammInformation *,char * const)" (?ErstelleAuswahlFenster@@YA_NPAUProgrammInformation@@QAD@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "int __cdecl FehlerMeldung(enum FehlerCode,struct ProgrammInformation *,int)" (?FehlerMeldung@@YAHW4FehlerCode@@PAUProgrammInformation@@H@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl InitBilder(struct ProgrammInformation *)" (?InitBilder@@YA_NPAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl InitSchrift(struct ProgrammInformation *)" (?InitSchrift@@YA_NPAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "enum FehlerCode __cdecl erzeugeStruktText(struct ProgrammInformation *,void * *,void * *,struct PINS *)" (?erzeugeStruktText@@YA?AW4FehlerCode@@PAUProgrammInformation@@PAPAX1PAUPI
    NS@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl ueberpruefe_und_loescheLinie(struct VERDRAHTENSCHALTEN *,void * *,struct ProgrammInformation *)" (?ueberpruefe_und_loescheLinie@@YA_NPAUVERDRAHTENSCHALTEN@@PAPAXPAUPr
    ogrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "void __cdecl AngeschlosseneLinienMitLoeschen(struct AnschlussArray *,void * *,struct BlockSpeicherFeld *,struct ProgrammInformation *)" (?AngeschlosseneLinienMitLoeschen@@YAXPAUAn
    schlussArray@@PAPAXPAUBlockSpeicherFeld@@PAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl BlockLoeschen(void * *,struct BlockSpeicherFeld *,struct PINS,struct ProgrammInformation *)" (?BlockLoeschen@@YA_NPAPAXPAUBlockSpeicherFeld@@UPINS@@PAUProgrammInforma
    tion@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "enum FehlerCode __cdecl DateiLaden(struct ProgrammInformation *,struct tagOFNA,void * *,void * *,struct PINS *)" (?DateiLaden@@YA?AW4FehlerCode@@PAUProgrammInformation@@UtagOFNA@@
    PAPAX2PAUPINS@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "enum FehlerCode __cdecl DateiPruefen(struct tagOFNA,struct ProgrammInformation *)" (?DateiPruefen@@YA?AW4FehlerCode@@UtagOFNA@@PAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "void * __cdecl InitVerdrahtungsSpeicher(struct ProgrammInformation *)" (?InitVerdrahtungsSpeicher@@YAPAXPAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "struct PINS __cdecl InitPinsSpeicher(struct ProgrammInformation *)" (?InitPinsSpeicher@@YA?AUPINS@@PAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "void * __cdecl InitBlockSpeicher(struct ProgrammInformation *)" (?InitBlockSpeicher@@YAPAXPAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "void * __cdecl ReInitVerdrahtungsSpeicher(void * *,struct ProgrammInformation *)" (?ReInitVerdrahtungsSpeicher@@YAPAXPAPAXPAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "struct PINS __cdecl ReInitPinsSpeicher(struct PINS *,struct ProgrammInformation *)" (?ReInitPinsSpeicher@@YA?AUPINS@@PAU1@PAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "void * __cdecl ReInitBlockSpeicher(void * *,struct ProgrammInformation *)" (?ReInitBlockSpeicher@@YAPAXPAPAXPAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl loescheVerdrahtungsSpeicher(void * *,struct ProgrammInformation *)" (?loescheVerdrahtungsSpeicher@@YA_NPAPAXPAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl loeschePINS(struct PINS)" (?loeschePINS@@YA_NUPINS@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl loescheBlockSpeicherFeld(void * *)" (?loescheBlockSpeicherFeld@@YA_NPAPAX@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl erstelleAuswahlModule(struct ProgrammInformation *,char * const)" (?erstelleAuswahlModule@@YA_NPAUProgrammInformation@@QAD@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "void * __cdecl InitModulAuswahlSpeicher(struct ProgrammInformation *)" (?InitModulAuswahlSpeicher@@YAPAXPAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl loescheAuswahlSpeicher(void *)" (?loescheAuswahlSpeicher@@YA_NPAX@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl ScrolleFenster(struct ProgrammInformation *,void *)" (?ScrolleFenster@@YA_NPAUProgrammInformation@@PAX@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl neuesModul(struct HWND__ *,struct ProgrammInformation *,struct BlockSpeicherFeld *,void *,struct PINS)" (?neuesModul@@YA_NPAUHWND__@@PAUProgrammInformation@@PAUBlockS
    peicherFeld@@PAXUPINS@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl neuesModulloeschen(struct HWND__ *,struct ProgrammInformation *,struct BlockSpeicherFeld *,struct PINS)" (?neuesModulloeschen@@YA_NPAUHWND__@@PAUProgrammInformation@@
    PAUBlockSpeicherFeld@@UPINS@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl BlockZeichnen(struct ProgrammInformation *,void *,struct HWND__ *,enum WListe,bool,struct BlockSpeicherFeld *)" (?BlockZeichnen@@YA_NPAUProgrammInformation@@PAXPAUHWN
    D__@@W4WListe@@_NPAUBlockSpeicherFeld@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl BlockEinreihen(struct ProgrammInformation *,void *,int,struct HWND__ *)" (?BlockEinreihen@@YA_NPAUProgrammInformation@@PAXHPAUHWND__@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl ScrolleZeichenBlattH(struct ProgrammInformation *,void *)" (?ScrolleZeichenBlattH@@YA_NPAUProgrammInformation@@PAX@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl ScrolleZeichenBlattV(struct ProgrammInformation *,void *)" (?ScrolleZeichenBlattV@@YA_NPAUProgrammInformation@@PAX@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl zeichneLinienNeu(void *,struct ProgrammInformation *)" (?zeichneLinienNeu@@YA_NPAXPAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "int __cdecl zeichne_lokale_Linie_neu(struct VERDRAHTENSCHALTEN *,struct ProgrammInformation *)" (?zeichne_lokale_Linie_neu@@YAHPAUVERDRAHTENSCHALTEN@@PAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "int __cdecl AngeschlosseneLinienNachzeichnen(struct AnschlussArray *,struct ProgrammInformation *)" (?AngeschlosseneLinienNachzeichnen@@YAHPAUAnschlussArray@@PAUProgrammInformatio
    n@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl fuege_neuen_Punkt_ein(struct VERDRAHTENSCHALTEN *,void * *,struct ProgrammInformation *)" (?fuege_neuen_Punkt_ein@@YA_NPAUVERDRAHTENSCHALTEN@@PAPAXPAUProgrammInformat
    ion@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "enum FehlerCode __cdecl Linieanknuepfen(struct VERDRAHTENSCHALTEN *,void * *,void * *,struct ProgrammInformation *)" (?Linieanknuepfen@@YA?AW4FehlerCode@@PAUVERDRAHTENSCHALTEN@@PA
    PAX1PAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl korrigiereVerknuepfungpunkte(struct VERDRAHTENSCHALTEN *,void * *,struct ProgrammInformation *)" (?korrigiereVerknuepfungpunkte@@YA_NPAUVERDRAHTENSCHALTEN@@PAPAXPAUPr
    ogrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "void __cdecl aendereLinienfuehrung(struct VERDRAHTENSCHALTEN *,struct ProgrammInformation *)" (?aendereLinienfuehrung@@YAXPAUVERDRAHTENSCHALTEN@@PAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "int __cdecl LinieZurMausAktualisieren(struct VERDRAHTENSCHALTEN *,struct ProgrammInformation *)" (?LinieZurMausAktualisieren@@YAHPAUVERDRAHTENSCHALTEN@@PAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl neueLinieAusgewaehlt(struct VERDRAHTENSCHALTEN *,void * *,struct ProgrammInformation *)" (?neueLinieAusgewaehlt@@YA_NPAUVERDRAHTENSCHALTEN@@PAPAXPAUProgrammInformatio
    n@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl SucheEckpunkt(struct VERDRAHTENSCHALTEN *,struct ProgrammInformation *)" (?SucheEckpunkt@@YA_NPAUVERDRAHTENSCHALTEN@@PAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl Eckpunkt_setzen(struct VERDRAHTENSCHALTEN *,struct ProgrammInformation *)" (?Eckpunkt_setzen@@YA_NPAUVERDRAHTENSCHALTEN@@PAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl rechne_Punkt_um(void *,struct VERDRAHTENSCHALTEN *,struct HWND__ *,struct ProgrammInformation *)" (?rechne_Punkt_um@@YA_NPAXPAUVERDRAHTENSCHALTEN@@PAUHWND__@@PAUProgr
    ammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl AngeschlosseneLinienNachfuehren(struct AnschlussArray *,struct BlockSpeicherFeld *,struct ProgrammInformation *)" (?AngeschlosseneLinienNachfuehren@@YA_NPAUAnschlussA
    rray@@PAUBlockSpeicherFeld@@PAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl NegierePin(void * *,struct HWND__ *,struct KOORDINATE,struct ProgrammInformation *)" (?NegierePin@@YA_NPAPAXPAUHWND__@@UKOORDINATE@@PAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "int __cdecl Meldung(enum FehlerCode,struct ProgrammInformation *)" (?Meldung@@YAHW4FehlerCode@@PAUProgrammInformation@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "enum FehlerCode __cdecl Linie_beenden(void *,struct ProgrammInformation *,struct VERDRAHTENSCHALTEN *,void * *,struct HWND__ *)" (?Linie_beenden@@YA?AW4FehlerCode@@PAXPAUProgrammI
    nformation@@PAUVERDRAHTENSCHALTEN@@PAPAXPAUHWND__@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl neueLinie(void *,struct ProgrammInformation *,struct VERDRAHTENSCHALTEN *,void * *,struct HWND__ *)" (?neueLinie@@YA_NPAXPAUProgrammInformation@@PAUVERDRAHTENSCHALTEN
    @@PAPAXPAUHWND__@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl AngeschlosseneLinienRaussuchen(struct AnschlussArray *,void * *,struct BlockSpeicherFeld *)" (?AngeschlosseneLinienRaussuchen@@YA_NPAUAnschlussArray@@PAPAXPAUBlockSpe
    icherFeld@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl BlockHolen(void * *,struct BlockSpeicherFeld *)" (?BlockHolen@@YA_NPAPAXPAUBlockSpeicherFeld@@@Z)
    Hauptprogramm.obj : error LNK2001: Nichtaufgeloestes externes Symbol "bool __cdecl UpdateBloecke(void * *,struct BlockSpeicherFeld *,struct PINS)" (?UpdateBloecke@@YA_NPAPAXPAUBlockSpeicherFeld@@UPINS@@@Z)
    libcd.lib(crt0.obj) : error LNK2001: Nichtaufgeloestes externes Symbol _main
    Debug/Hauptprogramm.exe : fatal error LNK1120: 63 unaufgeloeste externe Verweise
    Fehler beim Ausführen von link.exe.
    
    Hauptprogramm.exe - 64 Fehler, 0 Warnung(en)
    

    Aber mir sagen diese FEHLERMELDUNGEN NICHTS:
    Kann mir einer ewentuell Weiterhelfen.

    Ich danke euch schon einmal für eure ANtworten.



  • Die Fehler kommen nicht beim Ausführen, sondern beim LINKEN des Programms (deswegen heißen sie auch LNK...) - und grob sagen sie aus, daß du vergessen hast, dem Linker eine OBJ-Datei mitzugeben.



  • CStoll schrieb:

    Die Fehler kommen nicht beim Ausführen, sondern beim LINKEN des Programms (deswegen heißen sie auch LNK...) - und grob sagen sie aus, daß du vergessen hast, dem Linker eine OBJ-Datei mitzugeben.

    und wie gebe ich einem Linker eine OBJ-Datei mit?


Anmelden zum Antworten