Visual studio 未找到strerror_r标识符-png++;和visual studio 2013
我正在VS2013上运行一个需要png++库的项目。下载并将其包含在我的项目中后,我在Visual studio 未找到strerror_r标识符-png++;和visual studio 2013,visual-studio,png,libpng,Visual Studio,Png,Libpng,我正在VS2013上运行一个需要png++库的项目。下载并将其包含在我的项目中后,我在error.hpp文件中遇到一个错误。有人能帮我吗 368 IntelliSense: identifier "strerror_r" is undefined c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\png++\error.hpp 108 32 spsstereo Error 55 error C3861: 's
error.hpp
文件中遇到一个错误。有人能帮我吗
368 IntelliSense: identifier "strerror_r" is undefined c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\png++\error.hpp 108 32 spsstereo
Error 55 error C3861: 'strerror_r': identifier not found c:\program files (x86)\microsoft visual studio 12.0\vc\include\png++\error.hpp 108 1 spsstereo
Error 154 error C3861: 'strerror_r': identifier not found c:\program files (x86)\microsoft visual studio 12.0\vc\include\png++\error.hpp 108 1 spsstereo
Error 313 error C3861: 'strerror_r': identifier not found c:\program files (x86)\microsoft visual studio 12.0\vc\include\png++\error.hpp 108 1 spsstereo
靠近
error.hpp
顶部,更改
#ifdef __STDC_LIB_EXT1__
到
#if defined(__STDC_LIB_EXT1__) || defined(_WIN32)