Management Karbust 4878 Posted May 6, 2017 Management Share Posted May 6, 2017 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 Link to comment Share on other sites More sharing options...
Solution TheGameDeveloper 55 Posted May 7, 2017 Solution Share Posted May 7, 2017 You download libjpeg-9aMT source and compile lib vs2017 vc140/141 1 Link to comment Share on other sites More sharing options...
Management Karbust 4878 Posted May 7, 2017 Author Management Share Posted May 7, 2017 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 1 Link to comment Share on other sites More sharing options...
TheGameDeveloper 55 Posted May 7, 2017 Share Posted May 7, 2017 Search internet http://stackoverflow.com/questions/12652178/compiling-libjpeg 4 Link to comment Share on other sites More sharing options...
Management Karbust 4878 Posted May 7, 2017 Author Management Share Posted May 7, 2017 Just now, TheGameDeveloper said: Search internet http://stackoverflow.com/questions/12652178/compiling-libjpeg 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 1 Link to comment Share on other sites More sharing options...
TheGameDeveloper 55 Posted May 7, 2017 Share Posted May 7, 2017 i don't know 1 Link to comment Share on other sites More sharing options...
garofolo 12 Posted August 4, 2023 Share Posted August 4, 2023 any solution? Link to comment Share on other sites More sharing options...
Management Karbust 4878 Posted August 4, 2023 Author Management Share Posted August 4, 2023 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now