为什么 MinGW 找不到 memcpy?
我刚刚使用图形安装程序在 Windows XP 中安装了 MinGW + MSYS。一切看起来都很好。
但是,当我尝试使用 ./configure, make, make install
构建 C++ 应用程序时,它显示错误消息。以下 2 个检查失败:
AC_CHECK_LIB(m, memcpy, [], [AC_MSG_ERROR([error msg])])
AC_CHECK_FUNC(memcpy, [],[AC_MSG_ERROR([error msg]) ])
为什么我的 MinGW 找不到 memcpy
及其库?谁能给我建议如何修复这个错误?谢谢。
I just installed MinGW + MSYS in Windows XP using graphical installer. Everything seems fine.
However, when I try to build a C++ application using ./configure, make, make install
, it shows error message. The following 2 checkings failed:
AC_CHECK_LIB(m, memcpy, [], [AC_MSG_ERROR([error msg])])
AC_CHECK_FUNC(memcpy, [],[AC_MSG_ERROR([error msg])])
Why my MinGW couldn't find memcpy
and its library? Can anyone give me suggestion how to fix this error? Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
复制内存块,将num个字节的值从source指向的位置直接复制到destination指向的内存块。
有关参考,请参阅 http://www.cplusplus.com/reference/cstring/memcpy/
Copy block of memory, copies the values of num bytes from the location pointed by source directly to the memory block pointed by destination.
For reference please see http://www.cplusplus.com/reference/cstring/memcpy/