Missing header files

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
yogeshsarda
Blank Cone
Blank Cone
Posts: 17
Joined: 20 Dec 2005 12:04

Missing header files

Postby yogeshsarda » 23 Jan 2006 07:44

I got the source code from http://nightlies.videolan.org/build/source/.

But it is missing files like faad.h, avcodec.h... Hence when I try configure my build, it fails for missing header files.

Initially I was planning to bootstrap then configure and then make. But I could never get bootstrap working. Then experts on videolan IRC tols me that since I am not adding/removing any modules, I can use bootstrapped code from http://nightlies.videolan.org/build/source/ and directly go for configure.

I have not modified any files yet and trying to build source code as it is. But it fails for missing header files. First it failed for dvdread module, then in my configure option I used --disable-dvdread, then it failed for ffmpeg so I tried --disable-ffmpeg. Now I am getting errors for faad. I think I am missing some step in getting these header files.

I really appreciate your answers.

yogeshsarda
Blank Cone
Blank Cone
Posts: 17
Joined: 20 Dec 2005 12:04

Postby yogeshsarda » 23 Jan 2006 08:06

I found those header files under /usr/win32/include

Initial script I gor from howto doc is

./bootstrap && \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--enable-sdl --with-sdl-config-path=/usr/win32/bin --disable-gtk \
--enable-nls \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-livedotcom --with-livedotcom-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--disable-gnomevfs \
--enable-debug

Since I don't want to bootstrap, I removed all the lines before ./configure and then I was geetimg these missing header errors.

Now I put the lines
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \

under ./configure and i get error saying
checking for C compiler default output file name... configure: error: C compiler
cannot create executables
See `config.log' for more details.

I can send configlog if needed.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 32 guests