Jump to content

Upgrade from v120 to v141 - dx library problem


Recommended Posts

Hey guys,
Got this error while compiling on vs2017:

Spoiler

Error    LNK2019    unresolved external symbol __vsnprintf referenced in function "void __cdecl OutputError(class CD3DXSzStack *,char *,...)" (?OutputError@@YAXPAVCD3DXSzStack@@PADZZ)    UserInterface    C:\Users\xx\Desktop\Source update test\Client\UserInterface    C:\Users\xx\Desktop\Source update test\Client\UserInterface\d3dx8.lib(cleanmesh.obj)    1    1        Link

 
 
 
 

Tried to upgrade the toolset, upgraded extern to v141, resolved all other errors and this one is still unclear to me.
Could you help me please?

Link to comment
Share on other sites

37 minutes ago, Chyu ^^ said:

 

Better? Also, I've been trying to find help for this one for a quite a while, so I don't know what's bad about bumping it so that someone experienced might notice. Many questions stay unresolved even for 3 years.

And before I posted this I spend 4 days looking for answers and resolving it myself.
I know you are not an expert, just trying to find someone who knows something about this.

Link to comment
Share on other sites

  • 1 year later...

Hi guys


Fix is --> _vsnprintf lnk2019

 

visual studio open project -> userinterface (right click) -> properties -> linker -> input -> Additional Dependencies (click and kernel32.lib in left add "legacy_stdio_definitions.lib")
save file

and build problems is fixed :D

 

 

Türkçesi 

 

Visual studio ile metin2 projenizi açınız -> userinterface (sağ tıklayın) -> özellikler -> Bağlayıcı -> giriş -> Ek bağımlılıklar ( kernel32.lib'in sol tarafına legacy_stdio_definitions.lib kodunu ekleyin.")

kaydedin

ve build edin sorun çözülecek. :D

 

My  Additional Dependencies Code (Ek bağımlılıklar Kodum)

legacy_stdio_definitions.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)

 

  • Metin2 Dev 1
  • Love 4

badass hei GIF

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.