當前位置:首頁 » 編程軟體 » vlcvs2010編譯

vlcvs2010編譯

發布時間: 2022-09-26 16:22:08

❶ windows平台下編譯vlc,使用的是mingw+msys,到了make prebuilt,出現了pkg-config command not found

做這么專業的工作,還用WINDOWS。

❷ vlc源代碼如何使用

如果是用VC 6的打開dsw 後綴的文件,如果是VS 20003 打開sln 文件
如果是VS2005則打開 vcproject(這個名稱比較長,忘了,不知是不是這個,不過差不多的)

❸ 編譯VLC: 出現錯誤 non-system libraries in linker flags: -lhardware

開始然後點擊運行,輸入cmd,回車,在命令提示符下 直接復制以下命令,然後右鍵點擊命令提示符,再點擊粘貼
for %1 in (%windir%\system32\*.ocx) do regsvr32 /s %1
回車,滾動完畢後,再輸入:
for %1 in (%windir%\system32\*.dll) do regsvr32.exe /s %1
回車!直到屏幕滾動停止為止,重啟電腦 按照以上操作即可

❹ 如果我想在iOS中使用vlc,需要編譯什麼源代碼

有兩種選擇:
選擇一:可以編譯VLC(iOS)的源代碼。VLC(iOS)調用了libVLC。
選擇二:可以只編譯libVLC的源代碼。

❺ 編譯安裝VLC 遇到這樣的問題 configure: error: Package requirements (xcb) were not met:

安裝libxslt
先搜索yum search libxslt,然後

sudo yum install libxslt.x86_64

❻ vlc播放器是用什麼寫出來的

以下是編譯VLC源代碼時所需的庫:

Third party libraries used by VLC
You'll find a complete list on the wiki.

But, here are the most important libraries.

Audio/Video codecs
liba52 - an ATSC A/52 (aka AC3) audio decoder
libmad - an MPEG audio decoder
libmpeg2 - an MPEG1/2 video decoder
libavcodec (ffmpeg) - an extensive audio/video codec library which supports several formats like MPEG4, H263, WMV/A etc...
libogg - an Ogg bitstream parser
libvorbis - a Vorbis audio decoder
libflac - a FLAC (Free Lossless Audio Codec) audio decoder
libspeex - a Speex (Free speech codec) audio decoder
libtheora - a Theora video decoder
libfaad2 - an AAC audio decoder
libdv - a DV video decoder (deprecated in favor of libavcodec)
libxvidcore (xvid) - an ISO MPEG-4 compliant video codec (deprecated in favor of libavcodec)
libdca - A DTS Coherent Acoustics decoding library.

GUI framework libraries
wxWidgets - a cross-platform C++ GUI framework that keeps the look and feel of each platform
QT4 - a C++ Cross-Platform Rich Client Development Framework

Audio/Video output libraries
libsdl - a cross-platform multimedia library designed to provide level access to audio, and 2D video framebuffer

Miscellaneous libraries
libdvdcss - a library for accessing encrypted DVDs
libdvdnav - a library for DVD navigation
libdvdread - a library for reading DVD-Video images
libdvbpsi - a library designed for decoding and generation of MPEG TS and DVB PSI tables
libopenslp - an open-source implementation of Service Location Protocol
gettext - a set of tools that provides a framework to help applications proce multi-lingual messages
libfreetype2 - a software font engine that is designed to be small, efficient, highly customizable and portable while capable of procing high-quality output (glyph images).
fribidi - A Free Implementation of the Unicode Bidirectional Algorithm
liveMedia - C++ libraries for multimedia streaming (RTP/RTCP, RTSP, SIP)
matroska - a new, extensible open standard Audio/Video container format

If you're using those libs to compile VLC for windows with mingw-gcc 3.3.1, you can use our Win32 contribs.

如果需要更權威的回答,這里是VLC官方提供的源碼下載:
http://download.videolan.org/pub/vlc/

❼ 用VS2010的C#winform調用VLC 1.1.11 ,出現問題如下。

VLC 1.1.11版本的libvlc.dll的函數調用與之前的版本是不同的,
[DllImport("libvlc", CallingConvention = CallingConvention.Cdecl)]
public static extern IntPtr libvlc_new(int argc, [MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.LPStr)] string[] argv);
可以看出現在libvlc_new的調用參數和返回類型與以前是有差距的

❽ 用vs2010的c#調用vlc時出現: PInvoke 簽名的調用約定和參數與非託管的目標簽 名是否匹配。

[DllImport("libvlc.dll", EntryPoint = "libvlc_new", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
[SuppressUnmanagedCodeSecurity]
private static extern IntPtr libvlc_new(int argc, IntPtr argv);
改一下參數就好了

linux下的VLC編譯好動態庫後,還需要拷貝哪些文件,其他電腦才能夠使用

舉例,頭文件名 abc.h 函數名為 abc_test(); 第三方庫頭文件目錄為/abc/include/ 鏈接庫目錄為/abc/lib/1、頭文件和源文件:這是最好的情況,引用頭文件和相關函數即可。如:#include "abc.h"abc_test();//直接調用即可編譯時,Makefile中加入編譯選項 -I/abc/include 為了能將庫的頭文件引進來。而且你的程序運行時,不再需要這個第三方庫。2、靜態鏈接庫:引用頭文件和相關函數,設提供的靜態庫名為 libabc.lib編譯時,Makefile中加入 編譯選項1)-I/abc/include #編譯時加,為了能將庫的頭文件引進來;2)-L/abc/lib -labc #鏈接時加的而且你的程序運行時,不再需要這個第三方庫。3、動態鏈接庫,設動態鏈接庫為libabc.so調用動態鏈接庫文件,需要dlopen等函數編譯時,Makefile中加入 編譯選項1)-I/abc/include #編譯時加,為了能將庫的頭文件引進來;2)-L/abc/lib -labc #鏈接時加的注意:你的程序運行時,需要這個第三方庫的libabc.so文件。

❿ VLC源代碼包如何在linux下編譯+調試

你是為了裝軟體還是為了學習?如果只是裝個軟體,為什麼不裝二進製版的呢(.deb .rpm)。自己編譯挺麻煩的。
如果非想自己編譯,一般都是(我沒編譯過VLC,編譯過其他的,感覺像VLC這么大的軟體應該得較長時間!):先解壓下載的源碼包(tar.bz),然後從終端進入解壓後的源碼目錄,在終端輸入:一 ./configure ;二 make ;三 make install ;
一,好像是為了檢查當前系統參數,也可以在後面加環境變數參數(./configure [options])。如果沒問題便生成makefile
二,根據makefile編譯
三,編譯安裝。(二,可省略)
其實,不管是windows還是linux下載了軟體解壓後第一件事是讀readme!!!!!!!!!!!(其實你應該自己看readme和install,因為別人也不知道你下的軟體什麼情況,這兩個文件一般都會告訴你怎樣安裝以及軟體依賴什麼包!!)
再是讀install ,這是基本素質。要養成自覺性,這在linux下尤為重要!

至於調試,比較麻煩,不過如果只是裝軟體而不改代碼的情況下,不用專門調試(難道你還要用專門工具調試?) 既然說是菜鳥,又稿這么復雜的東西,並且搞這么復雜的東西又不在更專業的地方提問,網路知道一般是解決日常問題的地方!!!
不過一般情況下執行上述三步時會報錯,根據它報錯情況自己想辦法解決,一般來說是依賴不能滿足!

熱點內容
湖人雙核配置哪個最好 發布:2025-05-15 10:09:48 瀏覽:979
手機熱點密碼怎麼查看 發布:2025-05-15 09:54:47 瀏覽:108
生意發力雲存儲 發布:2025-05-15 09:54:45 瀏覽:616
編寫一個shell腳本添加用戶 發布:2025-05-15 09:54:43 瀏覽:505
資料庫查看錶命令 發布:2025-05-15 09:52:27 瀏覽:914
p30是不是自帶方舟編譯器 發布:2025-05-15 09:51:48 瀏覽:599
追擊世界房間密碼是多少 發布:2025-05-15 09:51:46 瀏覽:995
cjavabyte 發布:2025-05-15 09:51:36 瀏覽:463
visa存儲卡 發布:2025-05-15 09:35:07 瀏覽:619
js調用php的方法 發布:2025-05-15 09:29:13 瀏覽:496