d3dx9.lib LNK2001 error !

Results 1 to 7 of 7
  1. #1
    C:\User\Secondary\Desktop secondary is offline
    MemberRank
    Jul 2013 Join Date
    UnresolvedLocation
    637Posts

    ! d3dx9.lib LNK2001 error !

    Do someone know how to fix this thanks !



    http://i.imgur.com/gMHGG6a.png

    3>d3dx9.lib(cleanmesh.obj) : error LNK2001: unresolved external symbol __vsnprintf3>d3dx9.lib(cprogram.obj) : error LNK2001: unresolved external symbol __vsnprintf
    3>d3dx9.lib(cparse.obj) : error LNK2001: unresolved external symbol __vsnprintf
    3>dxerr9.lib(dxerr9.obj) : error LNK2001: unresolved external symbol __vsnprintf
    3>d3dx9.lib(cpreprocessor.obj) : error LNK2001: unresolved external symbol __vsnprintf
    3>d3dx9.lib(ctokenize.obj) : error LNK2001: unresolved external symbol __vsnprintf
    3>d3dx9.lib(cassembler.obj) : error LNK2001: unresolved external symbol __vsnprintf
    3>d3dx9.lib(ccompiler.obj) : error LNK2001: unresolved external symbol __vsnprintf
    3>dxerr9.lib(dxerr9.obj) : error LNK2019: unresolved external symbol __vsnwprintf referenced in function "long __stdcall StringVPrintfWorkerW(unsigned short *,unsigned int,unsigned short const *,char *)" (?StringVPrintfWorkerW@@YGJPAGIPBGPAD@Z)
    3>NPGameLib.Lib(NPGameLib.obj) : error LNK2019: unresolved external symbol _vsprintf referenced in function "public: bool __cdecl CFvLog::Write(char const *,...)" (?Write@CFvLog@@QAA_NPBDZZ)
    3>Runtime\Gunz.exe : fatal error LNK1120: 3 unresolved externals


  2. #2
    Valued Member grandao is offline
    MemberRank
    Feb 2008 Join Date
    RJ - BrasilLocation
    128Posts

    Re: d3dx9.lib LNK2001 error !

    Try install the latest directx 9 library, https://www.microsoft.com/en-us/down...s.aspx?id=6812
    Then you can copy the .lib files from installed directory replacing the ones that come with gunz

  3. #3
    C:\User\Secondary\Desktop secondary is offline
    MemberRank
    Jul 2013 Join Date
    UnresolvedLocation
    637Posts

    Re: d3dx9.lib LNK2001 error !

    Thanks, Grandao!

    - - - Updated - - -

    Do you know this error?

  4. #4
    Valued Member grandao is offline
    MemberRank
    Feb 2008 Join Date
    RJ - BrasilLocation
    128Posts

    Re: d3dx9.lib LNK2001 error !

    By the file name NPGameLib it seems to be related to NPROTECT GameGuard, probably the .lib file was created with a previous version of VS thus you should download a newer version of the .lib compiled with the version of VS you use.
    I guess you don't have access to a newer version, so my tip is to remove all references to GameGuard from your source code.

  5. #5
    C:\User\Secondary\Desktop secondary is offline
    MemberRank
    Jul 2013 Join Date
    UnresolvedLocation
    637Posts

    Re: d3dx9.lib LNK2001 error !

    Thanks again

  6. #6
    Orby? Orby ? @-@ Orby is offline
    MemberRank
    Oct 2015 Join Date
    AstraLocation
    279Posts

    Re: d3dx9.lib LNK2001 error !

    Source ?

  7. #7
    C:\User\Secondary\Desktop secondary is offline
    MemberRank
    Jul 2013 Join Date
    UnresolvedLocation
    637Posts

    Re: d3dx9.lib LNK2001 error !

    Already fixed



Advertisement