Unerwartetes LNK1104



  • Hi!

    Ich wollte mit der DirectX-Programmierung beginnen, habe mir das April/2007-SDK von Microsoft heruntergeladen und installiert und die Libs / Incs wie folgt verlinkt:

    //Include
    C:\Programme\Microsoft DirectX SDK (April 2007)\Include
    
    // Bibliotheken/Verweise
    C:\Programme\Microsoft DirectX SDK (April 2007)\Lib
    

    Das Problem ist, dass beim Kompillieren immer dieser Fehler auftritt:

    >LINK : fatal error LNK1104: Datei "dxerr.lib" kann nicht geöffnet werden.
    

    Die global.h sieht bei mir so aus:

    #pragma once
    
    #pragma comment( lib, "dxerr.lib" )
    #pragma comment( lib, "dxguid.lib" )
    #if defined(DEBUG) || defined(_DEBUG)
    #pragma comment( lib, "d3dx9d.lib" )
    #else
    #pragma comment( lib, "d3dx9.lib" )
    #endif
    #pragma comment( lib, "d3d9.lib" )
    #pragma comment( lib, "winmm.lib" )
    #pragma comment( lib, "comctl32.lib" )
    
    /* Include main windows api */
    #define STRICT
    #include <windows.h>
    
    /* Setup DirectSound */
    #include <dsound.h>
    
    /*
     * Project's own inclusions
     */
    #include "Generator.h"
    

    Ich habe schon nach einer Lösung gesucht, aber:

    • Die Festplatte hat noch 70 GB frei,
    • Ich habe die Datei gesucht, sie existiert!!!
    • Der RAM ist größtenteils unbelegt
    • MAX_PATH wird beim Pfad zur Datei nicht überschritten

    Vielen Dank für eure Antworten.


Anmelden zum Antworten