D3DXCreateFont funktioniert nicht??!



  • Tag,
    Ich benutze Direct3D8 und möchte so eine Font erstellen:

    ID3DXFont *g_d3DisplayFont;
        HRESULT hResult = 0;
    
        HFONT hFont = CreateFont( iWidth,
                                  0,
                                  0,
                                  0,
                                  FW_NORMAL,
                                  bItalic,
                                  false,
                                  0,
    						      ANSI_CHARSET,
    						      OUT_DEFAULT_PRECIS,
    						      CLIP_DEFAULT_PRECIS,
    						      DEFAULT_QUALITY, 
    						      DEFAULT_PITCH, 
    						      szFontName );
    
        hResult = D3DXCreateFont( pDirect3DDevice8, hFont, &g_d3DisplayFont );
    

    Doch der linker gibt folgen Fehler.

    1>LINK : fatal error LNK1104: cannot open file 'libci.lib'
    

    Hab ich was vergessen?

    Gruß Tobi.



  • ok habs, irgendwie hat er die lib nicht im lib ordner gehabt, aber ich hatte sie im SDK ordner, hab die dann einfach da rein kopiert, jetzt compiliert er's.


Anmelden zum Antworten