在windows上,编译安MPlayer

nalrey 2009-07-21 09:34:44
在windows上,编译安MPlayer,我现在的环境是MINGW+MSYS,
安装的软件有
libiconv-1.13.1.tar.gz,
freetype-2.3.9.tar.gz,
zlib-1.2.3.tar.gz,
libpng-1.2.38.tar,
jpegsrc.v7.tar.gz,
libregif-4.1.7.tar.gz,
nasm-2.06.tar.gz,
lame-398-2.tar.gz,
xvidcore-1.2.2.tar.bz2,
svn-win32-1.5.4.zip,
但是configure的时候
[Administrator@msys MPlayer-1.0rc2]$ ./configure --prefix=d:/MPlayer --enable-static --en
able-qtx --enable-real --enable-freetype --enable-png --enable-jpeg --enable-gif --enable-
tga --disable-mencoder --enable-runtime-cpudetection --disable-ssse3 --extra-libs="-mwindo
ws"
Detected operating system: MINGW32
Detected host architecture: i386
Checking for cc version ... not found
Checking for gcc version ... 4.4.0, ok
Checking for host cc ... gcc
Checking for cross compilation ... no
Checking for GCC & CPU optimization abilities ... i486
Checking for assembler support of -pipe option ... no
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/as.ex e ) ... ok
Checking for .align is a power of two ... no
Checking for -lposix ... no
Checking for -lm ... no
Checking for langinfo ... no
Checking for language ... using en (man pages: en )
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... yes
Checking for restrict keyword ... none
Checking for __builtin_expect ... no
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... no
Checking for mkstemp ... no
Checking for nanosleep ... no
Checking for socklib ... no
Checking for inet_pton() ... no (trying inet_aton next)
Checking for inet_aton() ... no (network support disabled)
Checking for network ... no
Checking for inttypes.h (required) ... no
Checking for bitypes.h (inttypes.h predecessor) ...
Error: Cannot find header either inttypes.h or bitypes.h. There is no chance for compilation to succeed.

Check "configure.log" if you do not understand why it failed.
,这个问题如何解决?
...全文
551 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
xiaopoy 2009-07-21
  • 打赏
  • 举报
回复
少了inttypes.h or bitypes.h头文件

configure.log里可能有更详细的说明
nalrey 2009-07-21
  • 打赏
  • 举报
回复
configure.log中
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
怎么解决?
hoomey 2009-07-21
  • 打赏
  • 举报
回复
多读读configure.log应该能找出来
nalrey 2009-07-21
  • 打赏
  • 举报
回复
在C:\MinGW\include目录下有inttypes.h,在C:\MinGW\include\sys目录下有bitypes.h。,但是编译时还是报错。

5,530

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 模式及实现
社区管理员
  • 模式及实现社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧