Compilation of vlc-1.0.5 on Ubuntu (1)

Source: Internet
Author: User
Tags xspf

Due to work needs, I recently looked at encoding/decoding related things. VideoLAN is an open-source project that provides excellent research on encoding/decoding.

Download the source code and compile it. I thought it would be possible to succeed soon. I didn't expect it to run normally after a whole day. However, problems encountered during compilation are recorded.

And post it to share with you.

 

Compilation options:

./Configure -- disable-NLS -- disable-Mozilla -- disable-postproc -- disable-a52 -- disable-qt4 -- disable-skins2

Problem 1. Configure: Error: cocould not find libmad on your system: You may get it from http://www.underbit.com/products/mad/. Alternatively you can use -- disable-mad to disable the mad plugin.

Problem 2. Configure: Error: cocould not find libavcodec or libavutil. Use -- disable-avcodec to ignore this error.
Solution: sudo apt-Get install libavcodec-Dev

Problem 3 configure: Error: Please install GL development package. Alternatively you can also configure with -- disable-Glx
Solution: sudo apt-Get install Mesa-common-dev mesademos libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev

Problem 4. Configure: Error: cocould not find libmad on your system: You may get it from http://www.underbit.com/products/mad/. Alternatively you can use -- disable-mad to disable the mad plugin.

Problem 5. Configure: Error: cocould not find libpostproc. Use -- disable-postproc to ignore this error.

Question 6: mod. C: In the 'control' function:
Mod. C: 321: Warning: convert a function call whose type is 'mtime _ t' to an unmatched type 'double'
Mod. C: 370: Error: Implicit declaration function 'modplug _ numsamples'
Mod. C: 371: Error: Implicit declaration function 'modplug _ numinstruments'
Mod. C: 372: Error: Implicit declaration function 'modplug _ numpatterns'
Mod. C: 373: Error: Implicit declaration function 'modplug _ numchannels'
Mod. C: 384: Error: Implicit declaration function 'modplug _ getmessage'
Mod. C: 384: warning: the integer is assigned to the pointer when the value is assigned. No type conversion is performed.
Mod. C: 410: Warning: Compare signed and unsigned numbers
Mod. C: 413: Error: Implicit declaration function 'modplug _ instrumentname'
Mod. C: 422: Warning: Compare signed and unsigned numbers
Mod. C: 425: Error: Implicit declaration function 'modplug _ samplename'
Solution: unsolved. Mark this content

Successful.
Enabled modules: please wait until your alphamask ALSA ~atmo ~~avcodec avformat ~blend ~bluescreen bonjour canvas cdda chain clone cmml colorthres ~crop croppadd includeinter?##equalizer erase extract fake FB #folder FreeType when gestures Glx gnutls gradient grain contains hotkeys HTTP has been used when there are already too many images available inhibit invert logo magnify marq has been used when mosaic motion motionblur motiondetect has been released noise normvol Ogg OpenGL export osdmenu OSS extends param_eq PNG podcast extends puzzle RC extends ripple rotate RSS rv32 sap scale extends scene extends sharpen shout showintf signals extends swscale extends Telnet telx transform unzip v4l2 VCD visual vmem Vorbis wave X11 x11_screen xml yuv yuvp yuy2_i420 yuy2_i422 zip

Libvlc Configuration
--------------------
Version: 1.0.5
System: Linux
Architecture: i686 mmx sse sse2
Build flavor: devel
VLC aliases: cvlc RVLC
Plugins/bindings:

You can tune the compiler flags in VLC-config.
To build VLC and Its plugins, type './compile' or 'make '.

Certificate --------------------------------------------------------------------------------------------------------------------------------------------------
Running problems:

Question 1.no interface module matched "globalhotkeys, none"
Solution: Install sudo apt-Get install libmodplug-Dev

Question 2.: It compiles and installwith no problems but when I try to run I get:
VLC: Error while loading shared libraries: libvlc. so.2: cannot open shared object file: no such file or directory

Solution: most likely your lD cache is outdated.
/Sbin/ldconfig (as root) and this might help you.

 

Problem 3. No interface is displayed after running,ProgramUnable to work normally. I found a lot of posts and they are still pending:

/VLC: Line 60: X./VLC: the file or directory does not exist.
VLC Media Player 1.0.5 GoldenEye
Libvlc has detected an unusable buggy GNU/libc version.
Please updates to version 2.8 or newer.
[0x8051148] Main libvlc error: No memcpy module matched "any"
[0x80d1600] Main Access Error: no access module matched "file"
[0x80d2c10] main input error: Open of 'file/XSPF-open: // home/wupeng /. local/share/VLC/ml. XSPF 'failed': no access module matched "file"
[0x80d2c10] main input error: Your input can't be opened
[0x80d2c10] main input error: VLC is unable to open the MRL 'file/XSPF-open: // home/wupeng /. local/share/VLC/ml. XSPF '. check the log for details.
[0x80d32b8] Main Interface error: no interface module matched "hotkeys, none"
[0x80d32b8] Main Interface error: no suitable interface module
[0x8051148] Main libvlc error: Interface "hotkeys, none" initialization failed
[0x80d32b8] Main Interface error: no interface module matched "inhibit, none"
[0x80d32b8] Main Interface error: no suitable interface module
[0x8051148] Main libvlc error: Interface "inhibit, none" initialization failed
[0x80d32b8] Main Interface error: no interface module matched "screensaver, none"
[0x80d32b8] Main Interface error: no suitable interface module
[0x8051148] Main libvlc error: Interface "screensaver, none" initialization failed
[0x8051148] Main libvlc error: Option drawable-Xid does not exist
[0x80d32b8] Main Interface error: no interface module matched "signals"
[0x80d32b8] Main Interface error: no suitable interface module
[0x8051148] Main libvlc error: Interface "signals" initialization failed
[0x80d32b8] Main Interface error: no interface module matched "globalhotkeys, none"
[0x80d32b8] Main Interface error: no suitable interface module
[0x8051148] Main libvlc error: Interface "globalhotkeys, none" initialization failed
[0x8051148] Main libvlc: Running VLC with the default Interface. Use 'cvlc 'to use VLC without interface.
[0x80d05c0] Main Interface error: no interface module matched "any"
[0x80d05c0] Main Interface error: no suitable interface module
[0x8051148] Main libvlc error: Interface "default" initialization failed

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.