日本搞逼视频_黄色一级片免费在线观看_色99久久_性明星video另类hd_欧美77_综合在线视频

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

build ffmpeg with eclipse cdt on mac

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

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

生活不易,碼農辛苦
如果您覺得本網站對您的學習有所幫助,可以手機掃描二維碼進行捐贈
程序員人生
------分隔線----------------------------
分享到:
------分隔線----------------------------
關閉
程序員人生
主站蜘蛛池模板: 青草久久网| 国产区在线看 | 免费的av | 国产精品久久久久婷婷二区次 | 一区二区三区久久久 | 免费亚洲网站 | 国产精品久久久久久久久久久杏吧 | 国产精品美女久久久网av | 国产乱码一区二区三区 | 精品久久久中文字幕 | 欧美精品导航 | 九九视频网 | 国产欧美精品区一区二区三区 | 久久久久久久影院 | 波多野结衣av电影在线观看 | 国产成人精品免高潮在线观看 | 麻豆精品久久久 | 日韩精品电影在线观看 | 中文字幕高清在线 | 免费高清av | 中文字字幕在线中文乱码免费 | 在线1区 | 日韩成人免费电影 | 午夜三区| 久久久久久久久国产 | 欧美成人免费 | 成年人免费观看视频网站 | 国产伦精品一区二区三区免费迷 | 亚洲另类视频在线 | 久色伊人 | 黄色福利| 成人在线免费视频观看 | www精品美女久久久tv | 国产精品无码久久久久 | 日韩在线观看精品 | 亚洲视频在线观看一区 | 精品久久久久久久久久久久久久久久久久久 | 在线亚洲播放 | 国产欧美精品 | 亚洲国产精品一区二区久久 | 中文日韩在线 |