Jump to content

Error ___iob_func


Go to solution Solved by TheGameDeveloper,

Recommended Posts

  • Management

Hello

I just upgraded recently to vs 2017, but my client source is for vs 2013

It is compiling fine, but at the end I get this error:

Error	LNK2001	unresolved external symbol ___iob_func	UserInterface	D:\client_reboot_dev - Copy\vs_files\UserInterface\libjpeg-9aMT.lib(jerror.obj)	1	

How can I solve this?

Thanks

raw

raw

Link to comment
Share on other sites

  • Management

How can I do that? I already downloaded this one: http://www.ijg.org/files/jpegsr9a.zip

But there's no sln file to use on Visual Studio, how can I manage to create one? And being able to create the MT version?

Thanks for the answer

  • Love 1

raw

raw

Link to comment
Share on other sites

  • Management
Just now, TheGameDeveloper said:

I was able to compile with this one: http://www.dahlsys.com/misc/compiling_ijg_libjpeg/

I saw that one to, but I didn't understood a few steps, with this one, I was able to build and now I can compile my client source...

And I ended up upgrading from libjpeg-9a to libjpeg-9b...

This warnings are important?

16>libjpeg-9bMT.lib(jerror.obj) : warning LNK4049: locally defined symbol ___stdio_common_vsprintf imported
16>libjpeg-9bMT.lib(jerror.obj) : warning LNK4049: locally defined symbol ___stdio_common_vfprintf imported
16>libjpeg-9bMT.lib(jerror.obj) : warning LNK4049: locally defined symbol ___acrt_iob_func imported
16>libjpeg-9bMT.lib(jerror.obj) : warning LNK4049: locally defined symbol _exit imported
16>libjpeg-9bMT.lib(jdatasrc.obj) : warning LNK4049: locally defined symbol _fread imported
16>libjpeg-9bMT.lib(jmemmgr.obj) : warning LNK4049: locally defined symbol ___stdio_common_vsscanf imported
16>libjpeg-9bMT.lib(jmemmgr.obj) : warning LNK4049: locally defined symbol _getenv imported
16>libjpeg-9bMT.lib(jdmarker.obj) : warning LNK4049: locally defined symbol _strncpy imported
16>libjpeg-9bMT.lib(jmemnobs.obj) : warning LNK4049: locally defined symbol _malloc imported
16>libjpeg-9bMT.lib(jmemnobs.obj) : warning LNK4049: locally defined symbol _free imported

 

  • Metin2 Dev 1

raw

raw

Link to comment
Share on other sites

  • 6 years later...
  • Management
5 hours ago, garofolo said:

any solution?

I no longer compile those libs manually, I install them through vcpkg:

ijg-libjpeg:x86-windows-static, version 9e#1

 

Plus, on my last post in this topic I said what worked for me when I compiled the libs.

raw

raw

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.