多多色-多人伦交性欧美在线观看-多人伦精品一区二区三区视频-多色视频-免费黄色视屏网站-免费黄色在线

國內最全IT社區平臺 聯系我們 | 收藏本站
阿里云優惠2
您當前位置:首頁 > php開源 > 綜合技術 > build ffmpeg with eclipse cdt on mac

build ffmpeg with eclipse cdt on mac

來源:程序員人生   發布時間:2016-06-02 08:55:16 閱讀次數:3233次

This FFmpeg version is 2.8


the latest version make error , the stable release has no error

eprecated here void av_picture_copy(AVPicture *dst, const AVPicture *src, ^ ffplay.c:3761:24: error: token is not a valid binary operator in a preprocessor subexpression if CONFIG_AVDEVICE avdevice_register_all();

/bin/sh: _: command not found

If so I found the problem is that OSX does not pass the PATH variable to applications started through the GUI. So to get around this one should start eclipse from the terminal. This worked when I had the problem.

HTML doc/ffmpeg.html /bin/sh: texi2html: command not found make: *** [doc/ffmpeg.html] Error 127 CC libavfilter/vsrc_testsrc.o /bin/sh: yasm: command not found make: *** [libavfilter/x86/af_volume.o] Error 127

Installing GDB on OS X Mavericks

Launching "ffplay_g" has encountered a problem Error with command: gdb --version Cannot run program "gdb": Unknown reason

Homebrew formula of GDB with patch for OS X Yosemite

brew install https://gist.githubusercontent.com/ymyzk/10ad2b74af9235eddb2c/raw/9d0b9734ea01f9753a5f54dd221acd99ee7e53e8/gdb.rb

Eclipse GDB debugger support


Can’t find the tool settings in Eclipse CDT

I switched C/C++ Build->Builder Settings->Builder type to External Builder, if builder type is disable, do restore defaults, and closed the properties window. When reopening properties the C/C++ Build->Settings->Tool Settings Tab was available.


Error: unresolved inclusion: <SDL.h>

Fix: Properties -> C/C++ General -> Paths and Symbols ->includes -> GUN C++ (and GUN C) -> add /usr/local/include/SDL

ffmpeg not support SDL2 now


I am not sure this section is correct, because I not click “run to next” in eclipse. After I do the following step, there are still “No Source Available”, But once I click “next”, everything is well ??

No Source Available
The problem was that I was using the Release version of SDL instead of the Debug version! (I had ‘libsdl’ from MacPorts whereas I should have had ‘libsdl-devel’.)

Building SDL in debug mode on Linux

./configure --enable-debug or CFLAGS='-O0 -g' ./configure


Error:./include/SDL_syswm.h:58:10: fatal error: 'X11/Xlib.h' file not found

Fix:export CPPFLAGS=-I/opt/X11/include

-
Error:error: unknown type name 'CGDirectPaletteRef'
Fix: 這個SDL的編譯毛病居然是由最新的OS X 10.9致使的,參見SDL開發版本庫里的1次提交。 這是1個月前的1個修復,看來還沒有打包到穩定版本中,我就自己依照這次提交來修改代碼吧。改以后make通過了. Ref

Error: error: conflicting types for '_XData32'
Fix:
This patch is no correct,

Following patch is right

# HG changeset patch # User Azamat H. Hackimov <azamat.hackimov@gmail.com> # Date 1370184533 ⑵1600 # Branch SDL⑴.2 # Node ID 91ad7b43317a6387e115ecdf63a49137f47e42c8 # Parent f7fd5c3951b9ed922fdf696f7182e71b58a13268 Fix compilation with libX11 >= 1.5.99.902. These changes fixes bug #1769 for SDL 1.2 (http://bugzilla.libsdl.org/show_bug.cgi?id=1769). diff -r f7fd5c3951b9 -r 91ad7b43317a configure.in --- a/configure.in Wed Apr 17 00:56:53 2013 -0700 +++ b/configure.in Sun Jun 02 20:48:53 2013 +0600 @@ ⑴169,6 +1169,17 @@ if test x$definitely_enable_video_x11_xrandr = xyes; then AC_DEFINE(SDL_VIDEO_DRIVER_X11_XRANDR) fi + AC_MSG_CHECKING(for const parameter to _XData32) + have_const_param_xdata32=no + AC_TRY_COMPILE([ + #include <X11/Xlibint.h> + extern int _XData32(Display *dpy,register _Xconst long *data,unsigned len); + ],[ + ],[ + have_const_param_xdata32=yes + AC_DEFINE(SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32) + ]) + AC_MSG_RESULT($have_const_param_xdata32) fi fi } diff -r f7fd5c3951b9 -r 91ad7b43317a include/SDL_config.h.in --- a/include/SDL_config.h.in Wed Apr 17 00:56:53 2013 -0700 +++ b/include/SDL_config.h.in Sun Jun 02 20:48:53 2013 +0600 @@ ⑵83,6 +283,7 @@ #undef SDL_VIDEO_DRIVER_WINDIB #undef SDL_VIDEO_DRIVER_WSCONS #undef SDL_VIDEO_DRIVER_X11 +#undef SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32 #undef SDL_VIDEO_DRIVER_X11_DGAMOUSE #undef SDL_VIDEO_DRIVER_X11_DYNAMIC #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT diff -r f7fd5c3951b9 -r 91ad7b43317a src/video/x11/SDL_x11sym.h --- a/src/video/x11/SDL_x11sym.h Wed Apr 17 00:56:53 2013 -0700 +++ b/src/video/x11/SDL_x11sym.h Sun Jun 02 20:48:53 2013 +0600 @@ ⑴65,7 +165,11 @@ */ #ifdef LONG64 SDL_X11_MODULE(IO_32BIT) -SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return) +SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return) SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),) #endif

生活不易,碼農辛苦
如果您覺得本網站對您的學習有所幫助,可以手機掃描二維碼進行捐贈
程序員人生
------分隔線----------------------------
分享到:
------分隔線----------------------------
關閉
程序員人生
主站蜘蛛池模板: 国产精品免费久久久免费 | 国产二区视频 | 美女啊啊啊 | 老司机免费福利在线观看 | 国产jizz中国jizz免费看 | 日本高清www免费视频软件 | 国产欧美精品专区一区二区 | 一级毛片一级毛片 | 亚洲伦理一二三四 | 亚洲精品乱码久久久久久v 亚洲精品乱码久久久久久蜜桃 | 久久综合亚洲一区二区三区 | 久久久毛片免费全部播放 | www.av视频在线观看 | 国产成人精品男人免费 | 国产精品高清一区二区 | 亚洲最新永久观看在线 | www.自拍| 亚洲欧美日韩综合二区三区 | 精品肉动漫资源在线观看 | 中文字幕精品一区二区精品 | 国产成人女人视频在线观看 | 欧美激情αv一区二区三区 欧美激情第二页 | 国产精品一区二区综合 | 中文字幕在线精品视频入口一区 | 成人娱乐网 | 亚洲精品在线视频观看 | www.免费黄色 | 欧美人与物videos另类一 | 在线视频一区二区三区在线播放 | 毛片专区 | 欧美黑人两根巨大挤入 | 亚洲精品国产啊女成拍色拍 | 色阁阁日韩欧美在线 | 亚洲码在线观看 | 欧美一级成人一区二区三区 | wwwav在线| 羞羞网站在线免费观看 | 欧美一区中文字幕 | 国产精品福利社 | 校园春色 中文字幕 | 秋霞特色aa大片在线观看 |