Unable to install AmFast in Windows XP basic

22 views
Skip to first unread message

qihangzp

unread,
Sep 28, 2010, 10:42:01 AM9/28/10
to AmFast
I have install the Macrosoft VC++ 2008 , but I still can't install
Amfast .Here is the cmd print:



D:\Program Files\python26\AmFast-0.5.1>python setup.py install
running install
running bdist_egg
running egg_info
writing requirements to AmFast.egg-info\requires.txt
writing AmFast.egg-info\PKG-INFO
writing top-level names to AmFast.egg-info\top_level.txt
writing dependency_links to AmFast.egg-info\dependency_links.txt
reading manifest file 'AmFast.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'demos'
no previously-included directories found matching 'examples'
writing manifest file 'AmFast.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
running build_ext
building 'amfast.encode' extension
D:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /
Ox /MD /W
3 /GS- /DNDEBUG "-ID:\Program Files\python26\include" "-ID:\Program
Files\python
26\PC" /Tcamfast\ext_src\encoder.c /Fobuild\temp.win32-2.6\Release
\amfast\ext_sr
c\encoder.obj
encoder.c
amfast\ext_src\encoder.c(5) : fatal error C1083: 无法打开包括文件
(Chinese,mean:Can not open this file):“amf.h”: No su
ch file or directory
error: command '"D:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\cl.exe"' fa
iled with exit status 2



waitting help~

limscoder

unread,
Sep 28, 2010, 4:07:53 PM9/28/10
to AmFast
There is an error in the setup.py file. You can either checkout and
install the version in trunk, or you can modify the setup.py file. To
modify the setup.py file, remove the header files ('*.h') from the
'sources' attribute of each Extension definition.

-Dave

qihangzp

unread,
Sep 29, 2010, 8:27:27 AM9/29/10
to AmFast
hi:

First,Thanks for Dave's help
and then,I check out and install the version in trunk,but----new
problems come:I do follow the install-guide in this page(
http://code.google.com/p/amfast/wiki/Faq#How_do_I_get_the_encoder/decoder_extensions_to_compile_in_Window),
cmd print a lot of C grammar error.such as:
amfast\ext_src\encoder.c(390) : error C2065: "source": Undeclared
identifier

what should I do~
> > waitting help~- Hide quoted text -
>
> - Show quoted text -

qihangzp

unread,
Oct 4, 2010, 12:12:46 AM10/4/10
to AmFast
hi:
I have installed the Amfast with MinGW successfully.
I think ,maybe, VS2008's grammar do not same as Amfast use.
And , I will never use Microsoft's ide to deal with open source
problems.

On 9月29日, 下午8时27分, qihangzp <qihan...@gmail.com> wrote:
> hi:
>
> First,Thanks for Dave's help
> and then,I check out and install the version in trunk,but----new
> problems come:I do follow the install-guide in this page(http://code.google.com/p/amfast/wiki/Faq#How_do_I_get_the_encoder/dec...),
> > - Show quoted text -- 隐藏被引用文字 -
>
> - 显示引用的文字 -
Reply all
Reply to author
Forward
0 new messages