linux下交叉编译带x264包的ffmpeg时出现下面的错误! 5C

图片说明有大神能看出来怎么回事吗?
我的配置是:./configure --enable-shared --enable-libx264 --enable-gpl --prefix=/home/hzz/ff/ffmpeg --enable-cross-compile --arch=arm --target-os=linux --cross-prefix=arm-linux- --cc=arm-linux-gcc --extra-cflags=-I/home/hzz/ff/x264/include --extra-ldflags=-L/home/hzz/ff/x264/lib --extra-libs=-ldl

4个回答

x264的头文件等路径是不是没有正确包含到编译环境中,错误就是找不到定义

对照这个看看:https://www.cnblogs.com/tla001/p/5893000.html
注意库是否齐全、编译器的配置和版本等。

应该是编译时候没有加上x264库,加上就好了。

这类问题,很大程度是你的库没有,库不全,自己指定库文件的地址,我尝试过,不知道为甚会不好使,所以后来我添加库,要么用命令行,或者就是使用软件中心,但是要注意的是,不同的linux系统,他们库的名字很可能就是不一样的。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Linux下编译带x264的ffmpeg的方法
一、环境准备 1.ffmpeg下载:http://johnvansickle.com/ffmpeg/   我下载的是64位静态的 ffmpeg-git-64bit-static.tar.xz 2.x264下载:ftp://ftp.videolan.org/pub/videolan/x264/snapshots/   下载last_stable_x264.tar.bz2 3.yasm下载
编译带x264的FFMPEG
业务需要,需要在Linux系统下编译带x264编码的ffmpeg工程,略踩小坑,过程记录如下。首先下载源码,ffmpeg: http://www.ffmpeg.org/download.htmlx264:http://download.videolan.org/x264/snapshots/yasm:http://yasm.tortall.net/Download.html1. 编译yasmyas...
linux下x264库ARM交叉编译
x264库编译过程
Linux下ffmpeg交叉编译
1 获取源代码git clone -b "branch" https://git.ffmpeg.org/ffmpeg.git“branch” 可以是以下的master、release/3.1等等,具体看需要使用哪个分支。 5 hours ago master shortlog | log | tree 4 days ago release/3.1 shortlog | log
linux下配置x264和ffmpeg时,遇到x264的函数undefined的问题
安装x264和ffmpeg的过程网上资源很多: 这里是一个链接:http://blog.csdn.NET/season_hangzhou/article/details/24399371 还有官方安装指导(包含安装包下载地址):https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu ###安装好之后,在CmakeLists.txt中配置好头文件...
FFmpeg 推流之 RTMP、X264与交叉编译
RTMPDump: ​ RTMPDump 是一个用来处理RTMP流媒体的开源工具包。它能够单独使用进行RTMP的通信,也可以集成到FFmpeg中通过FFmpeg接口来使用RTMPDump。 RTMPDump源码下载:http://rtmpdump.mplayerhq.hu/ 交叉编译 下载RTMPDump 库解压 打开librtmp目录,打开makefile文件,找到 librtmp.a: $(O...
BB Black交叉编译环境安装X264,FFMPEG
BB Black交叉编译环境安装X264,FFMPEG本文叙述了基于BB Black开发板环境,X264和FFMPEG软件交叉编译环境上的安装。 - 安装X2641.下载X264代码 http://www.videolan.org/developers/x264.html2.将代码解压 tar -jxvf last_x264.tar.bz23.进入相应文件夹,执行命令./c
x264 的交叉编译
开发板:三星 2440rn交叉编译器:arm-linux-gcc 4.0rnx264版本: x264-snapshot-20090408-2245rn压缩参数:./x264 -q 26 -o out.264 hall_qcif.yuv 176x144rnrn在pc机上用gcc编译x264,一切ok,编码后的264文件也可以用mplayer播放rn可是用arm-linux-gcc交叉编译后,在开发板上进行编码,生成的文件却用mplayer播放不了,很困惑,同样的代码为什么产生了不同的输出?rnrnrn下面是mplayer的出错信息:rnhero2008@debian:~/rootfs/home/x264-arm$ mplayer out.264 -fps 25rnMPlayer dev-SVN-r26940rnCPU: Intel(R) Pentium(R) M processor 1.70GHz (Family: 6, Model: 13, Stepping: 6)rnCPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1rnCompiled with runtime CPU detection.rnCan't open joystick device /dev/input/js0: No such file or directoryrnCan't init input joystickrnmplayer: could not connect to socketrnmplayer: No such file or directoryrnFailed to open LIRC support. You will not be able to use your remote control.rnrnPlaying out.264.rnH264-ES file format detected.rnopen: No such file or directoryrn[MGA] Couldn't open: /dev/mga_vidrnopen: No such file or directoryrn[MGA] Couldn't open: /dev/mga_vidrn[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.rns3fb: can't open /dev/fb0: No such file or directoryrn==========================================================================rnOpening video decoder: [ffmpeg] FFmpeg's libavcodec codec familyrnSelected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)rn==========================================================================rnAudio: no soundrnFPS forced to be 25.000 (ftime: 0.040).rnStarting playback...rn[h264 @ 0x87a0f90]sps_id out of rangern[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rn[h264 @ 0x87a0f90]non existing PPS referencedrn[h264 @ 0x87a0f90]decode_slice_header errorrn[h264 @ 0x87a0f90]no frame!rnError while decoding frame!rnrnrnMPlayer interrupted by signal 2 in module: sleep_timerrnV: 0.0 32/ 32 0% 0% 0.0% 0 0 rnExiting... (Quit)rn
交叉编译 x264
下载源码: http://kambing.ui.ac.id/videolan/x264/snapshots/mipsel for openwrt架构:CC=mipsel-openwrt-linux-gcc ./configure --enable-pthread --enable-static --disable-shared --host=mipsel-openwrt-linux --disab
IIS出现下面的错误,怎么办?
Server Application ErrorrnThe server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.
安装数据库2012r2出现下面的错误
rn---------------------------rnSQL Server Setuprn---------------------------rnThis SQL Server setup media does not support the language of the OS, or does not have the SQL Server English-language version installation files. Use the matching language-specific SQL Server media; or install both the language specific MUI and change the format and system locales through the regional settings in the control panel.rnrnrn我的系统是win7,是64位操作系统,有没有人遇到过这种问题?
我用Dev-C++,出现下面的错误.
[Build Error] [ABC.exe] Error 1rnrn编译的时候出现这个错误.ABC是建立的.exe文件.rn是控制台程序.rn请帮忙看一下.rnrnrn同样的程序我在VC6下编译能够通过,就是点击运行时出现下面的错误:rn--------------------Configuration: xushen - Win32 Debug--------------------rnLinking...rnmain.obj : error LNK2001: unresolved external symbol "public: __thiscall list::~list(void)" (??1list@@QAE@XZ)rnDebug/ABC.exe : fatal error LNK1120: 1 unresolved externalsrnError executing link.exe.rnrnABC.exe - 2 error(s), 0 warning(s)rn
.NET2003出现下面的错误!请帮助
好象是要运行个程序就可以了 求助rnrn描述如下:http://www.itpub.net/322329.htmlrnrn提示说已检测到指定的Web服务器运行的不是asp.net 1.1版。您将无法运行Asp.net web 应用程序或服务
vue和 jsplumb 集成 出现下面的错误
TypeError: Cannot read property 'parentNode' of null    at DragManager.endpointAdded (jsplumb.js?ea57:6557)    at _newEndpoint (jsplumb.js?ea57:4145)    at root.jsPlumbInstance.addEndpoint (jsplumb.js...
使用gdiplus.lib出现下面的错误?
使用gdiplus.lib出现下面的错误?rn请大家帮我解决啊,谢谢了啊rnrnerror C2065: 'ULONG_PTR' : undeclared identifierrnerror C2065: 'token' : undeclared identifierrnerror C2165: 'left-side modifier' : cannot modify pointers to datarnerror C2071: 'NotificationHookProc' : illegal storage classrnerror C2146: syntax error : missing ')' before identifier 'token'rnerror C2165: 'left-side modifier' : cannot modify pointers to datarnerror C2071: 'NotificationUnhookProc' : illegal storage classrnerror C2059: syntax error : ')'rnerror C2059: syntax error : 'const'rnerror C2146: syntax error : missing ')' before identifier 'token'rnwarning C4229: anachronism used : modifiers on data are ignoredrnerror C2182: 'GdiplusShutdown' : illegal use of type 'void'rnerror C2059: syntax error : ')
出现下面的错误, 请问怎样解决?
行 93: 属性 OleObjectBlob 在 dbgTest 中不能被设置。rn行 93: 不能加载控件 dbgTest; 许可证未找到。rnrn我看过程序里面事实上没有此控件, 这是网上下载的程序。 rn而程序里面却有用到此控件的语句:rn dbgTest.AllowAddNew = Falsern dbgTest.AllowDelete = Falsern dbgTest.AllowUpdate = Falsern dbgTest.AllowRowSizing = Falsernrn请问怎样解决?
改编程序出现下面的错误
[C++ Error] Unit1.cpp(151): E2186 Unexpected end of file in comment started on line 79rn请问该怎么解决啊
出现下面的错误是什么原因呢?
运行程序的过程中出现了一个对话框,内容如下,是什么原因呢? rnProject collapse.exe raised exception class ElistError with message 'list index out of bounds(1)'.Process stopped.Use Step or Run to Continue.rn 那个对话框怎么复制不进来呢?
iis+tomcat5出现下面的错误为什么??
事件类型: 警告rn事件来源: Apache Jakarta Connector2rn事件种类: 无rn事件 ID: 2rn日期: 2004-10-18rn事件: 16:37:25rn用户: N/Arn计算机: rn描述:rnError: [jk_worker_ajp13.c (648)]: ajp13.service() Error forwarding ajp13:localhost:8009 1 1rn 事件类型: 警告rn事件来源: Apache Jakarta Connector2rn事件种类: 无rn事件 ID: 2rn日期: 2004-10-18rn事件: 16:37:25rn用户: N/Arn计算机: rn描述:rnError: [jk_worker_ajp13.c (412)]: ajp13.service() failed to connect endpoint errno=0 No errorrn rnrn
Visual Studio.net2003 出现下面的错误---
打开Microsoft Visual Studio .NET 2003 建项目,出现下面的错误提示rn“Microsoft Visual Studio .NET 2003 遇到问题需要关闭。我们对此引起的不便表示抱歉。rn错误签名:rnAppName: devenv.exe rnAppVer: 7.10.3077.0 rn ModName: gdi32.dll”rn我应该怎么解决?rn望高人指点!rn谢谢
安装控件的时候出现下面的错误
控件是我自己写的分页控件,rn安装控件的时候出现下面的错误rncannot load package 'dclusr70' it contains unit 'ADODB' which is also contained in package 'adort70'rnrn代码如下:rn[code=Delphi(Pascal)]rnunit Pager;rnrninterfacernrnusesrn Windows, Dialogs, SysUtils, Classes, Controls, StdCtrls, Messages, Buttons, ExtCtrls,rn ADODB;rnrntypern TPager = class(TPanel)rn privatern FFlat: Boolean;rn FbtnFirst: TSpeedButton; //首页rn FbtnPrev: TSpeedButton; //上页rn FbtnNext: TSpeedButton; //下页rn FbtnLast: TSpeedButton; //尾页rn FbtnTurn: TSpeedButton; //跳页rn FEditCurPage: TEdit;rn FPageInfo: TPanel;rnrn FTableName: String; //表名、视图名rn FIdField: String; //Id字段名rn FFields: String; //显示字段rn FCondition: String; //查询条件rn FOrder: String; //排序rn FPageSize: Integer;//每页记录数rn FCurrentPage: Integer;//当前页rn FConnection: TADOConnection;rn FReturnQuery: TADOQuery;rnrn //私有rn FQuerySql: String;rn FTotalCountSql: String;rn Private declarations rn protectedrn procedure SetFFlat(const Value: Boolean);rn ===============分页属性==============rn procedure SetFTableName(const Value: String);rn procedure SetFIdField(const Value: String);rn procedure SetFFields(const Value: String);rn procedure SetFCondition(const Value: String);rn procedure SetFOrder(const Value: String);rn procedure SetFPageSize(const Value: Integer);rn procedure SetFCurrentPage(const Value: Integer);rn procedure SetFConnection(const Value: TADOConnection);rn procedure SetFReturnQuery(const Value: TADOQuery);rn =====================================rn procedure WMSize(var Msg: TMessage);message WM_SIZE;rn procedure OnEditKeyPress(Sender: TObject; var Key: Char);rn procedure GetQuerySql;rn procedure GetTotalCountSql;rn procedure GetTotalRecordCount;rn procedure GetTotalPage;rn procedure TurnPage(Page:Integer);rnrn ==============按钮事件=============rn procedure OnFirstPage(Sender: TObject);rn procedure OnPrevPage(Sender: TObject);rn procedure OnNextPage(Sender: TObject);rn procedure OnLastPage(Sender: TObject);rn procedure OnTurnPage(Sender: TObject);rn ===================================rn Protected declarations rn publicrn TotalRecordCount: Integer;rn TotalPage: Integer;rn rn constructor Create(AOwner: TComponent);override;rn destructor Destroy;override;rn procedure Init;rn Public declarations rn publishedrn property Flat: Boolean read FFlat write SetFFlat;rn property TableName: String read FTableName write SetFTableName;rn property IdField: String read FIdField write SetFIdField;rn property Fields: String read FFields write SetFFields;rn property Condition: String read FCondition write SetFCondition;rn property Order: String read FOrder write SetFOrder;rn property PageSize: Integer read FPageSize write SetFPageSize;rn property CurrentPage: Integer read FCurrentPage write SetFCurrentPage;rn property Connection: TADOConnection read FConnection write SetFConnection;rn property PageQuery: TADOQuery read FReturnQuery;rn Published declarations rn end;rnrnprocedure Register;rnrnimplementationrnrnprocedure Register;rnbeginrn RegisterComponents('常规', [TPager]);rnend;rnrnconstructor TPager.Create(AOwner: TComponent);rnvarrn Padding_Right : Integer;rn Padding_Top : Integer;rn Ctrls_Padding : Integer; //控件与控件之间的间隔rn Ctrls_Height : Integer;rn Ctrls_Width : Integer;rn ChildControlTop: Integer;rnbeginrn inherited;rn Padding_Right := 3;rn Padding_Top := 1;rn Ctrls_Padding := 2;rn Ctrls_Height := 22;rn Ctrls_Width := 44;rn FFlat := False;rn FbtnFirst := TSpeedButton.Create(Self); //首页rn FbtnPrev := TSpeedButton.Create(Self); //上页rn FbtnNext := TSpeedButton.Create(Self); //下页rn FbtnLast := TSpeedButton.Create(Self); //尾页rn FbtnTurn := TSpeedButton.Create(Self); //跳页rn FEditCurPage := TEdit.Create(Self);rn FPageInfo := TPanel.Create(Self);rn Height := 30;rn Width := (Ctrls_Width+Ctrls_Padding) * 7;rn ChildControlTop := Round(((Height - Padding_Top*2) - Ctrls_Height)/2);rnrn //跳页按钮rn FbtnTurn .Parent := Self;rn FbtnTurn.Caption:= '转到';rn FbtnTurn.Height := Ctrls_Height;rn FbtnTurn.Width := Ctrls_Width;rn FbtnTurn.Left := Width - Padding_Right - FbtnTurn.Width;rn FbtnTurn.Top := ChildControlTop;rn FbtnTurn.Anchors:= [akTop, akRight];rn FbtnTurn.Flat := FFlat;rn FbtnTurn.OnClick:= OnTurnPage;rnrn //当前页文本框rn FEditCurPage.Parent := Self;rn FEditCurPage.Height := Ctrls_Height;rn FEditCurPage.Width := 30;rn FEditCurPage.Left := FbtnTurn.Left - FEditCurPage.Width - Ctrls_Padding;rn FEditCurPage.Top := ChildControlTop;rn FEditCurPage.Anchors:= [akTop, akRight];rn FEditCurPage.OnKeyPress := OnEditKeyPress;rn FEditCurPage.Ctl3D := FFlat;rnrn //尾页按钮rn FbtnLast.Parent := Self;rn FbtnLast.Caption:= '尾页';rn FbtnLast.Height := Ctrls_Height;rn FbtnLast.Width := Ctrls_Width;rn FbtnLast.Left := FEditCurPage.Left - Ctrls_Width - Ctrls_Padding;rn FbtnLast.Top := ChildControlTop;rn FbtnLast.Anchors:= [akTop, akRight];rn FbtnLast.Flat := FFlat;rn FbtnLast.OnClick:= OnLastPage;rnrn //下页按钮rn FbtnNext.Parent := Self;rn FbtnNext.Caption:= '下页';rn FbtnNext.Height := Ctrls_Height;rn FbtnNext.Width := Ctrls_Width;rn FbtnNext.Left := FbtnLast.Left - Ctrls_Width - Ctrls_Padding;rn FbtnNext.Top := ChildControlTop;rn FbtnNext.Anchors:= [akTop, akRight];rn FbtnNext.Flat := FFlat;rn FbtnNext.OnClick:= OnNextPage;rnrn //上页按钮rn FbtnPrev.Parent := Self;rn FbtnPrev.Caption:= '上页';rn FbtnPrev.Height := Ctrls_Height;rn FbtnPrev.Width := Ctrls_Width;rn FbtnPrev.Left := FbtnNext.Left - Ctrls_Width - Ctrls_Padding;rn FbtnPrev.Top := ChildControlTop;rn FbtnPrev.Anchors:= [akTop, akRight];rn FbtnPrev.Flat := FFlat;rn FbtnPrev.OnClick:= OnPrevPage;rnrn //首页按钮rn FbtnFirst.Parent := Self;rn FbtnFirst.Caption:= '首页';rn FbtnFirst.Height := Ctrls_Height;rn FbtnFirst.Width := Ctrls_Width;rn FbtnFirst.Left := FbtnPrev.Left - Ctrls_Width - Ctrls_Padding;rn FbtnFirst.Top := ChildControlTop;rn FbtnFirst.Anchors:= [akTop, akRight];rn FbtnFirst.Flat := FFlat;rn FbtnFirst.OnClick:= OnFirstPage;rnrn //分页信息rn FPageInfo.Parent := Self;rn FPageInfo.Caption:= '共 5 页';rn FPageInfo.Height := Ctrls_Height;rn FPageInfo.Left := FbtnFirst.Left - FPageInfo.Width - Ctrls_Padding - 2;rn FPageInfo.Top := ChildControlTop;rn FPageInfo.Anchors:= [akTop, akRight];rn FPageInfo.BevelOuter := bvNone;rn FPageInfo.Alignment := taRightJustify;rnrn Fields := '*';rn CurrentPage := 1;rn PageSize := 100;rn FReturnQuery := TADOQuery.Create(nil);rnend;rn[/code]rn
出现下面的错误该怎么解决
在编译一个MFC基础类的程序没出错,但连接时却出错,出现下面19个错误:rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__DispatchMessageA@4rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__TranslateMessage@4rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__GetMessageA@16rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__UpdateWindow@4rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__ShowWindow@8rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__CreateWindowExA@48rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__MessageBoxA@16rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__RegisterClassA@4rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__GetStockObject@4rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__LoadCursorA@8rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__LoadIconA@8rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__DefWindowProcA@16rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__PostQuitMessage@4rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__EndPaint@8rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__TextOutA@20rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__BeginPaint@8rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__InvalidateRect@12rnex_wincontrol.obj : error LNK2001: unresolved external symbol __imp__GetWindowTextA@12rnDebug/ex_wincontrol.exe : fatal error LNK1120: 18 unresolved externalsrnError executing link.exe.rnrnex_wincontrol.exe - 19 error(s), 0 warning(s)rn已经在设置上修改Foundation classes为use MFC IN a Share DLLrnrnrn
为什么总是出现下面的错误
“/PacsDiagnose”应用程序中的服务器错误。rn--------------------------------------------------------------------------------rnrn在 COM+ 激活过程中,出现了一个意外错误。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.Runtime.InteropServices.COMException: 在 COM+ 激活过程中,出现了一个意外错误。rnrn源错误: rnrn执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 rnrn堆栈跟踪: rnrnrn[COMException (0x8004e024): 在 COM+ 激活过程中,出现了一个意外错误。]rn System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo) +0rn System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Boolean bQuerySCInfo, Boolean& bIsAnotherProcess, String& uri) +587rn System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType) +181rn System.Runtime.Remoting.Activation.ActivationServices.CreateInstanceWithLinkDemand(ProxyAttribute pa, Type serverType) +4rn System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props) +122rn Neusoft.PersonManager.LogonTalkStation(String nikename, String password) +13rn PacsDiagnose.frmLogon.ButtonLogon_Click(Object sender, EventArgs e) +65rn System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108rn System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57rn System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18rn System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33rn System.Web.UI.Page.ProcessRequestMain() +1263rnrn rnrnrn--------------------------------------------------------------------------------rn版本信息: Microsoft .NET 框架版本:1.0.3705.0; ASP.NET 版本:1.0.3705.0
WEBLOGIC出现下面的错误怎么解决
异常:无法打开的连接rnorg.springframework.dao。 DataAccessResourceFailureException:connecti不能打开rn对,是org.hibernate.exception嵌套的异常。 JDBCConnectionException:不能rn打开的连接rn在org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernarnteAccessException(SessionFactoryUtils.java:612)rn在org.springframework.orm.hibernate3.HibernateAccessor.convertHibernaternAccessException(HibernateAccessor.java:412)rn在org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernrnateTemplate.java:424)rn在org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativrneSession(HibernateTemplate.java:374)rn在org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTernmplate.java:690)rn在com.wisoft.common.dao.BaseDao.save(BaseDao.java:186)rn在com.wisoft.fzjdex.dao.InfTableInDAO.saveInfLawexecutor(InfTableInDAO。rnjava:77)rn在com.wisoft.fzjdex.bo.InfTableManager.saveInfLawexecutor(InfTableManagrner.java:85)rn在com.wisoft.fzjdex.bo.InfTableManager.saveInfLawexecutor(InfTableManagrner.java:374)rn在com.wisoft.fzjdex.bo.InfTableManager.saveFzjd(InfTableManager.java:35rn7)rn在sun.reflect.NativeMethodAccessorImpl。 invoke0(本机方法)rn在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl。rnjava:39)rn在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesrnsorImpl.java:25)rn在java.lang.reflect.Method.invoke(Method.java:597)rn在com.wisoft.framework.jm.utils.SpringJobModel.invokeMethod(SpringJobMorndel.java:51)rn在com.wisoft.framework.jm.utils.SpringJobModel.execute(SpringJobModel.jrn艾娃:40)rn在org.quartz.core.JobRunShell.run(JobRunShell.java:202)rn在org.quartz.simpl.SimpleThreadPool WorkerThread.run(SimpleThreadPool.j美元rn艾娃:525)rn所引起的:org.hibernate.exception。 JDBCConnectionException:connecti不能打开rn在rn在org.hibernate.exception.SQLStateConverter.convern
出现下面的错误是什么原因?
将截断字符串或二进制数据。语句已终止。 rnDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. rnrnException Details: System.Data.SqlClient.SqlException: 将截断字符串或二进制数据。语句已终止。rnrnSource Error: rnrnrnLine 117: myConn.open()rnLine 118: mycmd=new SqlCommand(sqlstr,myConn)rnLine 119: mycmd.ExecuteNonQuery()rnLine 120: myConn.close()rnLine 121: message.text="恭喜你,照片上传成功! 继续上传"rn rnrnSource File: H:\asp.net\96281\uploadphoto.aspx Line: 119rn注:为了保证上传文件的唯一性,存在服务器上的名字采用时间+一个随即数的方法命名,如下面的命名‘20031161715862156.jpg’猜是因为这个,但是不知道该怎么处理,还清高手指点一二。rn
ffmpeg x264方面的问题
小弟新手,接触ffmpeg不是很长时间,有个问题想请教大家。rn 我用ffmpeg对视频格式转换,我转换成.mov格式的视频,最后得到的视频文件 video是mpeg4编码格式的,我想请教大家,是不是mpeg4编码不是h.264编码?如果我要得到h.264编码的视频,我就得把x264编译到ffmepg中去?
linux下ffmpeg库 ARM交叉编译
一、前言:         因为想用ffmpeg实现录像网络视频流功能,所以需要编译ffmpeg相关库,不过目前对视频方面很多知识还是小白,后续会写一些关于视频方面知识的文章   二、准备工作           1、ffmpeg源码地址:http://ffmpeg.org          作者目前版本是ffmpeg-3.0.2         2、编译器:arm-none-lin
为什么在调用JSP时出现下面的错误?
Error: 500rnLocation: /MyWeb/servlet/ButsuServletrnInternal Servlet Error:rnrnjava.lang.NullPointerExceptionrn at java.lang.ClassLoader.resolveClass0(Native Method)rn at java.lang.ClassLoader.resolveClass(ClassLoader.java:588)rn at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:430)rn at org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoader.java:174)rn at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:265)rn at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)rn at org.apache.tomcat.core.Handler.service(Handler.java:254)rn at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)rn at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)rn at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)rn at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)rn at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)rn at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)rn at java.lang.Thread.run(Thread.java:484)rn
运行JSP文件时出现下面的错误,请问是什么意思?
Apache Tomcat/4.0.6 - HTTP Status 404 - /index.jsprnrn--------------------------------------------------------------------------------rnrntype Status reportrnrnmessage /index.jsprnrndescription The requested resource (/index.jsp) is not available.rnrn--------------------------------------------------------------------------------rn
在Sql Plus中登陆时,出现下面的错误。
ERROR:rnORA-12560: TNS: 协议适配器错误
在C#中调用存储过程时出现下面的错误
在C#中调用存储过程时出现下面的错误:rnSystem.SystemException "ORA-02041: 客户数据库未开始一个事务处理\nORA-06512: 在\"DKH.ACTUSERCONSUMEPACKAGE\", line 3\nORA-06512: 在\"DKH.ACTUSERCONSUMEPACKAGE\", line 13\nORA-06512: 在line 1\n" System.SystemExceptionrnrn存储过程是这样调用的:rnstring queryString = "ActUserConsumePackage.InsertActUserConsume";rnrnOracleConnection cn = new OracleConnection(DBOperation.GetconStr());rnOracleCommand cmd = new OracleCommand(queryString,cn);rncmd.Parameters.Add("nBill_month",nbill_Month );rncmd.CommandType = CommandType.StoredProcedure;rnrncn.Open();rncmd.ExecuteNonQuery();
Linux下编译x264与树莓派交叉编译X264(附加测试小程序)
最近在Linux下做摄像头视频实时传输的项目。摄像头在服务器端(树莓派),摄像头的视频数据是通过v4l2获取的,一帧视频数据大概有1M左右,如果不使用x264将视频数据进行编码就直接通过网络发送给客户端,就会非常影响传输效率。 为了方便测试代码,我既在搭载Ubuntu系统的PC上编译了x264,又使用树莓派交叉编译工具编译了x264,下面我分别说一下二者的编译过程以及遇见的问题。 一、Ubun...
出现下面的警告怎么办
出现下面的警告怎么办rn在使用mskedbox控件时出现对话框 没找到该部件的注册信息,不可以在环境中rn正确使用这个功能(License information for this component not found.rnyou do not have an appropriate license to use this functionality rnin the design environment)
怎么出现下面的效果?
我想在我的消息后面加一个闪烁的"new"字样,改怎么实现?
tomcat出现下面的问题
出现下面的错误 我在网上查说tomcat已启动 可是我在eclipse里面没启动tomcat啊 rn能不能把解决方法说的详细些 谢谢了 rn2008-11-20 16:05:35 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on port 9080rn2008-11-20 16:05:36 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 1609 msrn2008-11-20 16:05:36 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2008-11-20 16:05:36 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/5.0.9rn2008-11-20 16:05:36 org.apache.catalina.core.StandardHost getDeployerrn信息: Create Host deployer for direct deployment ( non-jmx ) rn2008-11-20 16:05:36 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:C:\tomcat509\conf\Catalina\localhost\admin.xmlrn2008-11-20 16:05:38 org.apache.struts.util.PropertyMessageResources rn信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=truern2008-11-20 16:05:38 org.apache.struts.util.PropertyMessageResources rn信息: Initializing, config='org.apache.struts.action.ActionResources', returnNull=truern2008-11-20 16:05:39 org.apache.struts.util.PropertyMessageResources rn信息: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=truern2008-11-20 16:05:52 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:C:\tomcat509\conf\Catalina\localhost\crm1.xmlrn2008-11-20 16:06:17 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2008-11-20 16:06:17 org.apache.catalina.core.StandardContext startrn严重: Context startup failed due to previous errorsrn2008-11-20 16:06:17 org.apache.catalina.logger.LoggerBase stoprn信息: unregistering logger Catalina:type=Logger,path=/crm1,host=localhostrn2008-11-20 16:06:19 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:C:\tomcat509\conf\Catalina\localhost\manager.xmlrn2008-11-20 16:06:19 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:C:\tomcat509\conf\Catalina\localhost\waphall.xmlrn2008-11-20 16:07:17 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:C:\tomcat509\conf\Catalina\localhost\webhall.xmlrn2008-11-20 16:08:52 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:C:\tomcat509\conf\Catalina\localhost\webhallserver.xmlrn2008-11-20 16:10:55 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /CTCBSS from URL file:C:\tomcat509\webapps\CTCBSSrn2008-11-20 16:13:15 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2008-11-20 16:13:15 org.apache.catalina.core.StandardContext startrn严重: Context startup failed due to previous errorsrn2008-11-20 16:13:16 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /CTCBSS1 from URL file:C:\tomcat509\webapps\CTCBSS1rn2008-11-20 16:13:37 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /fujian from URL file:C:\tomcat509\webapps\fujianrn2008-11-20 16:13:39 org.apache.catalina.startup.ContextConfig applicationConfigrn信息: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/fujian]rn2008-11-20 16:13:39 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /jsp-examples from URL file:C:\tomcat509\webapps\jsp-examplesrn2008-11-20 16:13:43 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /popedom from URL file:C:\tomcat509\webapps\popedomrn2008-11-20 16:13:45 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /product from URL file:C:\tomcat509\webapps\productrn2008-11-20 16:13:53 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path from URL file:C:\tomcat509\webapps\ROOTrn2008-11-20 16:13:55 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /service from URL file:C:\tomcat509\webapps\servicern2008-11-20 16:15:37 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /servlets-examples from URL file:C:\tomcat509\webapps\servlets-examplesrn2008-11-20 16:15:41 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /tomcat-docs from URL file:C:\tomcat509\webapps\tomcat-docsrn2008-11-20 16:15:45 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on port 9080rn2008-11-20 16:15:55 org.apache.jk.common.ChannelSocket initrn信息: Port busy 8009 java.net.BindException: Address already in use: JVM_Bindrn2008-11-20 16:15:55 org.apache.jk.common.ChannelSocket initrn信息: JK2: ajp13 listening on /0.0.0.0:8010rn2008-11-20 16:15:55 org.apache.jk.server.JkMain startrn信息: Jk running ID=1 time=31/250 config=C:\tomcat509\conf\jk2.propertiesrn2008-11-20 16:16:00 org.apache.catalina.startup.Catalina startrn信息: Server startup in 623719 msrnStandardServer.await: create[8005]: java.net.BindException: Address already in use: JVM_Bindrnjava.net.BindException: Address already in use: JVM_Bindrn at java.net.PlainSocketImpl.socketBind(Native Method)rn at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)rn at java.net.ServerSocket.bind(ServerSocket.java:318)rn at java.net.ServerSocket.(ServerSocket.java:185)rn at org.apache.catalina.core.StandardServer.await(StandardServer.java:522)rn at org.apache.catalina.startup.Catalina.await(Catalina.java:634)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:596)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:324)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:394)rn
Ubuntu16.04交叉编译Android平台下的x264
一,获取x264源码使用git下载:git clone http://git.videolan.org/git/x264.git官网下载:    http://www.videolan.org/developers/x264.html历史版本:    ftp://ftp.videolan.org/pub/videolan/x264/snapshots/二, ubuntu16.04 +  ndk-r...
linux下安装配置ffmpeg,添加x264、x265支持
ffmpeg编译命令: ./configure --enable-gpl --enable-debug=3 --disable-optimizations --disable-stripping make & make install 要编译出可调试的ffmpeg必须添加--enable-debug=3   添加x264和x265支持,首先去官网下载x264和x265,分别安装。...
linux下配置ffmpeg(支持x264编码)
在网上找了好多配置ffmpeg的教程,大多操作复杂。 我写了一个脚本,给它执行权限了(chmod +x install_ffmpeg.sh),一键式安装ffmpeg环境,配置了x264编码库,希望有人用得到。
x264的交叉编译和移植
x264的交叉编译和移植
x264在Linux Mint下的交叉编译
本人使用的是Linux Mint,由于系统当中的编译链并不是windows可用的编译链,需要手动安装MingW交叉编译工具。 1、首先需要运行命令来安装MinGW  sudo apt-get install mingw-w64 build-essential 2、下载并解压x264源码:git clone http://git.videolan.org/git/x264.git 3、在终
相关热词 c# 去空格去转义符 c#用户登录窗体代码 c# 流 c# linux 可视化 c# mvc 返回图片 c# 像素空间 c# 日期 最后一天 c#字典序排序 c# 截屏取色 c#中的哪些属于托管机制