LNK2019 fehler



  • Hallo Leute.

    Gerade bin ich etwas überfordert. Die Fehlermeldugen beziehen sich nicht auf mein Code und sind per google nicht auffindbar.
    Sagt es euch was?
    Könnt ihr mir helfen?

    1>tosend.obj : error LNK2005: "int __stdcall DlgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DlgProc@@YGHPAUHWND__@@IIJ@Z) ist bereits in torecv.obj definiert.
    1>tosend.obj : error LNK2005: _WinMain@16 ist bereits in torecv.obj definiert.
    1>torecv.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__waveOutWrite@12" in Funktion ""unsigned long __stdcall UdpRecvThread(void *)" (?UdpRecvThread@@YGKPAX@Z)".
    1>torecv.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_recvfrom@24" in Funktion ""unsigned long __stdcall UdpRecvThread(void *)" (?UdpRecvThread@@YGKPAX@Z)".
    1>torecv.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_bind@12" in Funktion ""unsigned long __stdcall UdpRecvThread(void *)" (?UdpRecvThread@@YGKPAX@Z)".
    1>torecv.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_htons@4" in Funktion ""unsigned long __stdcall UdpRecvThread(void *)" (?UdpRecvThread@@YGKPAX@Z)".
    1>tosend.obj : error LNK2001: Nicht aufgelöstes externes Symbol "_htons@4".
    1>torecv.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_socket@12" in Funktion ""unsigned long __stdcall UdpRecvThread(void *)" (?UdpRecvThread@@YGKPAX@Z)".
    1>tosend.obj : error LNK2001: Nicht aufgelöstes externes Symbol "_socket@12".
    1>torecv.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_WSAStartup@8" in Funktion ""unsigned long __stdcall UdpRecvThread(void *)" (?UdpRecvThread@@YGKPAX@Z)".
    1>tosend.obj : error LNK2001: Nicht aufgelöstes externes Symbol "_WSAStartup@8".
    1>torecv.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__waveOutPrepareHeader@12" in Funktion ""int __stdcall DlgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DlgProc@@YGHPAUHWND__@@IIJ@Z)".
    1>torecv.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__waveOutOpen@24" in Funktion ""int __stdcall DlgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DlgProc@@YGHPAUHWND__@@IIJ@Z)".
    1>torecv.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__InitCommonControls@0" in Funktion "_WinMain@16".
    1>tosend.obj : error LNK2001: Nicht aufgelöstes externes Symbol "__imp__InitCommonControls@0".
    1>tosend.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_setsockopt@20" in Funktion ""int __stdcall DlgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DlgProc@@YGHPAUHWND__@@IIJ@Z)".
    1>tosend.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_gethostbyname@4" in Funktion ""int __stdcall DlgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DlgProc@@YGHPAUHWND__@@IIJ@Z)".
    1>tosend.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_closesocket@4" in Funktion ""int __stdcall DlgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DlgProc@@YGHPAUHWND__@@IIJ@Z)".
    1>tosend.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_sendto@24" in Funktion ""int __stdcall DlgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DlgProc@@YGHPAUHWND__@@IIJ@Z)".
    1>tosend.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__waveInStart@4" in Funktion ""int __stdcall DlgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DlgProc@@YGHPAUHWND__@@IIJ@Z)".
    1>tosend.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__waveInAddBuffer@12" in Funktion ""int __stdcall DlgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DlgProc@@YGHPAUHWND__@@IIJ@Z)".
    1>tosend.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__waveInPrepareHeader@12" in Funktion ""int __stdcall DlgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DlgProc@@YGHPAUHWND__@@IIJ@Z)".
    1>tosend.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__waveInOpen@24" in Funktion ""int __stdcall DlgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?DlgProc@@YGHPAUHWND__@@IIJ@Z)".
    


  • Wenn das per Google nicht auffindbar ist, warum hane ich bei Suchen nach "LNK2019" sofort einen Treffer in der MSDN der dein Problem Beschreibt, aber scheu erst mal ob du auch alle Bibliotheken gelinkt hast. Meist liegt es daran.

    Gruß Matthias


Anmelden zum Antworten