Richtig verlinken von DX



  • Hallo,
    weiß einer wie ich bei mir auf Win98 DirectX richtig bei Visual Studio 6.0 verlinke? Immer wenn ich ein DirectX Projekt compilieren will kommen über 100 Fehler 😞



  • Du musst auf jeden Fall zu den Linker Optionen (Projekt -> Optionen -> Linker) die Lib "dxguid.lib" linken, und dann noch andere Libs, kommt aber drauf an, ob du DirectDraw, Direct3D, DirectInput, ... verwendest. Dann solltest du noch unter Extras -> Optionen -> Verzeichnisse, die Verzeichnisse der Header und Lib-Dateien ganz oben eintragen.

    cya 🙂



  • Make sure you have DirectX SDK installed on your computer(get it here)
    The rest of the steps below is assumung you have installed the SDK to its default path c:\mssdk
    Create a new Win32 app, open Project|Settings... on the menu
    Open the Link tab and in the Object/library modules box add two more .lib files: ddraw.lib dxguid.lib, Click OK
    Open up the Options window by going to Tools|Options... on the menu and click the Directories tab
    Select Include files from the Show directories for menu
    Add C:\mssdk\include to the Directories box and make sure it is first on the list by dragging it up.
    Select Library files from the Show directories for menu
    Add C:\mssdk\lib to the Directories box and make sure it is located first on the list and click OK

    ik would help mei volk 🙂

    billy



  • IT WORKS!! THX



  • Bist du Delta? 😮 😮 😮


Anmelden zum Antworten