error: 'memcpy' was not declared in this scope
2012-05-21 17:27
609 查看
最近要做些实时传输方面的东西,做过才发现这东西不好找,也不好装 那本以为能顺顺利利装好,装得时候很郁闷,make老是报我错: make 这一步就出问题了。 sdh_pocket_reader.cpp:208: error: 'memcpy' was not declared in this scope 不知道是不是有很多人会出现这种情况导致装不了,但是我会出现同样的错误。其实解决办法很容易,到程序中加上头文件string.h就好了,就是#include<string.h> ,同样的方法就能处理。改完后在make 在make install就顺利装上了l。 |
相关文章推荐
- [安卓]error: 'memcpy' was not declared in this scope
- error: 'memcpy' was not declared in this scope的解决
- 【Cocos2d-x】编译Android工程时提示error: 'GL_LINE_SMOOTH' was not declared in this scope
- error: '_localtime_not_threadsafe_' was not declared in this scope
- 【error: '_1' was not declared in this scope】
- ndk编译错误:error: 'nullptr' was not declared in this scope
- linux 编译ffmpeg 出错:error: 'UINT64_C' was not declared in this scope
- 昨天的错误修改后,make出现error: 'UINT64_C' was not declared in this scope
- common.h:178:47: error: 'UINT64_C' was not declared in this scope
- error: 'EOF' was not declared in this scope的解决办法
- error: 'UINT64_C' was not declared in this scope
- error: 'ff_get_buffer' was not declared in this scope
- error: 'EOF' was not declared in this scope的解决办法
- error: 'glGenFramebuffersOES' was not declared in this scope
- [Error] 'atoi' was not declared in this scope
- error: `cout' was not declared in this scope
- qt-everywhere-opensource-src-4.8.1 出错:error: 'IPV6_MULTICAST_HOPS' was not declared in this scope
- c++ error: 'malloc' was not declared in this scope
- opencv:'BYTE' was not declared in this scope
- Fixed itk-3.20.1 on gcc-4.8, error: ‘memcpy’ was not declared in this scope