: Add legacy_stdio_definsition.lib to the VS2015 project option, linker attached dependency.
: The reason for this is that VS2015 builds inline many libraries by default, so there are no library files to link to.
We need to add library files specifically to link functions in the library.
2. The error LNK2019: cannot resolve the external symbol of __iob_func
the solution: CPP
/*
when libjpeg-turbo is compiled for vs2010: __iob_func cannot be found,
*> __iob_func to __acrt_iob_func to solve this problem,
* when>peg-turbo is compiled for vs2015,
* when libjpeg-turbo is compiled for vs2015:
*/
if _MSC_VER>; =1900
#include “stdio.h”
# ifdef __cplusplus
extern “C”
# endif
the FILE * __cdecl __iob_func (unsigned I) {
return __acrt_iob_func (I);
}
endif /* _MSC_VER>; =1900 */
. ERROR LNK2026 module is not safe for the SAFEEH image.
solution:
. Open the Property Pages dialog box for the project.
b. Click the Linker folder.
c. Click the Command Line property page.
d. Type /SAFESEH:NO into the Additional Options box and click Apply.
Read More:
- Some common problems in the use of vs2017
- OpenGL environment configuration under VS2010 / vs2012 / vs2015
- Write about the problems and solutions when configuring OpenGL in vs2015
- Some small problems in using vs2017
- [pit filling] problem summary of upgrading VS2010 project to vs2017
- Solutions to some problems encountered in programming with vs2017
- Small problems encountered in compiling OpenGL under VS2010
- Vtk7. X is compiled and installed under vs2013 and vs2015
- Summary of problems encountered in compiling and installing vtk7 + vs2013 / 2015 + cmake
- Problems in using vs2017
- Problems encountered in vs2015 configuration using OpenGL environment
- Some configuration problems of OpenGL in VS2008
- There are many problems in the use of vs2017
- Problems encountered in VS2010 compilation
- Record of problems encountered in using vs2017
- After vs2019 is installed, the original vs2017 project cannot compile various error reports
- Vs + QT reports an error “vs cannot open the source file qchartview”
- A series of problems in configuring OpenGL development environment in vs2015
- The reasons and common solutions of vs flash back on the road of C + + Learning (with reasons attached)
- Problems caused by vs project build order: link: fatal error lnk1181: cannot open input file ‘zoom’_ Ui_ style.lib ‘