Summary of VLC Installation

Source: Internet
Author: User
Tags parse error

1. There are many websites installed on cygwin. You need to carefully select the relevant websites to ensure high speed and correct installation files. In this regard, you need to perform multiple tests to obtain the information. If the installed VLC cannot be correctly compiled, You can doubt this, re-select an installed link website, and re-install cygwin. From the experience of others, FTP is faster than HTTP.
2. The contrib package of the downloaded VLC is often incorrect and the library file is missing. .
3. The GCC version of cygwin sometimes has some problems. Try to compile VLC with a more stable and accepted GCC version.
4. cygwin can run stably in Windows XP and Vista operating systems.
5. If the compiled vlc.exe file cannot be run in the cygwin command line, run the following command: chmod 755 vlc.exe. manifest.
6 ,...
Libdtstofloat32_plugin.a (libdtstofloat32_plugin_a-dtstofloat32.o): In
Function
Open ':
/Cygdrive/C/videoporject/vlc-0.8.6b
/Modules/audio_filter/converter/dtstofloat32
C: 219: Undefined reference to '_ dca_init'
Libdtstofloat32_plugin.a (libdtstofloat32_plugin_a-dtstofloat32.o): In
Function
Dowork ':
/Cygdrive/C/videoporject/vlc-0.8.6b
/Modules/audio_filter/converter/dtstofloat32
C: 303: Undefined reference to '_ dca_syncinfo'
/Cygdrive/C/videoporject/vlc-0.8.6b
/Modules/audio_filter/converter/dtstofloat32
C: 312: Undefined reference to '_ dca_frame'
/Cygdrive/C/videoporject/vlc-0.8.6b
/Modules/audio_filter/converter/dtstofloat32
C: 331: Undefined reference to '_ dca_blocks_num'
/Cygdrive/C/videoporject/vlc-0.8.6b
/Modules/audio_filter/converter/dtstofloat32
C: 335: Undefined reference to '_ dca_block'
/Cygdrive/C/videoporject/vlc-0.8.6b
/Modules/audio_filter/converter/dtstofloat32
C: 341: Undefined reference to '_ dca_samples'
/Cygdrive/C/videoporject/vlc-0.8.6b
/Modules/audio_filter/converter/dtstofloat32
C: 331: Undefined reference to '_ dca_blocks_num'
...
If the preceding error occurs, download A contrib package and decompress it to/usr. This is because the downloaded contrib package does not contain the file library required for VLC compilation.
7,/usr/lib/GCC/i686-pc-mingw32/3.4.4/.../i686-pc-mingw32/include/sys/STAT
H: 113: Error: Parse error before "off_t"
/Usr/lib/GCC/i686-pc-mingw32/3.4.4/.../i686-pc-mingw32/include/sys/STAT
H: 118: Error: Parse error before '}' token
Make [4]: *** [libaccess_output_file_plugin_a-file.o] Error 1

Add at the beginning of the stat. h file
# Ifndef _ off_t defined
Typedef long off_t;
# DEFINE _ off_t defined
# Endif

 

From: http://www.onlyblog.com/blog2/zyjzyj2000/10500.html

 

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.