smadaminov / ovs-dpdk-meson-issues

VMware Summer 2021
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

LNK2019: unresolved external symbol __stdio_common_vswprintf #1

Closed smadaminov closed 3 years ago

smadaminov commented 3 years ago

During NetUIO compilation in Visual Studio 2019 CE, linker fails with the following error:

LNK2019: unresolved external symbol __stdio_common_vswprintf

smadaminov commented 3 years ago

Adding the following line in every source file before including any headers helps:

#define _NO_CRT_STDIO_INLINE

Credit: link