Apache httpd-2.2.31 编译 apr工程 LNK2001异常
Apache httpd-2.2.31 编译 apr工程 LNK2001错误
Linking...
Creating library Release/libapr-1.lib and object Release/libapr-1.exp
apr_atomic.obj : error LNK2001: unresolved external symbol _InterlockedCompareExchangePointer
apr_atomic.obj : error LNK2001: unresolved external symbol _InterlockedExchangePointer
Release\libapr-1.dll : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
httpd.exe - 3 error(s), 9 warning(s)
如上错误,Google了下貌似也不多,貌似有一个是说只支持32位的问题,还有一个是让更改“使用运行时库”列表框的值,但是查看了下,设置的值也是对的
------解决思路----------------------
没有对应的lib库链接
Linking...
Creating library Release/libapr-1.lib and object Release/libapr-1.exp
apr_atomic.obj : error LNK2001: unresolved external symbol _InterlockedCompareExchangePointer
apr_atomic.obj : error LNK2001: unresolved external symbol _InterlockedExchangePointer
Release\libapr-1.dll : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
httpd.exe - 3 error(s), 9 warning(s)
如上错误,Google了下貌似也不多,貌似有一个是说只支持32位的问题,还有一个是让更改“使用运行时库”列表框的值,但是查看了下,设置的值也是对的
------解决思路----------------------
没有对应的lib库链接