Log in

View Full Version : ffdshow


leo77
25th November 2004, 18:41
Hi all...
Ive just downloaded the ffdshow source code, I tryed to build it with vc++ but I got an error Ive never seen before :confused:

ffdshow error PRJ0019: A tool returned an error code from "Assembling c:\Documents and Settings\leo\Desktop\ffdshow\src\xvid\image\x86_asm\yv12_to_yuyv_mmx.asm"

Can you help me fix it?

thanks in advance

DaveEL
25th November 2004, 19:11
install nasm and put it in your path normally does the trick

milan
26th November 2004, 13:15
I'd suggest you to download ffdshow source code from CVS. It still needs nasm, but when you'll finally compile it, you'll get binary containing newest features.

celtic_druid
26th November 2004, 13:44
Might also need to rename nasm. If I recall correctly it comes as nasmw.exe, but some project files use just nasm.exe. I have two copies, so no problems either way.

milan
26th November 2004, 13:58
I just tried to use || operator:

nasm -f win32 -DPREFIX -o $(IntDir)\$(InputName).obj $(InputPath) || nasmw -f win32 -DPREFIX -o $(IntDir)\$(InputName).obj $(InputPath)

and it worked. I'm about to change all nasm calls in ffdshow this way. However, I tested it only on Windows 2000 and I'm not sure if it will work on Windows 98 too.

leo77
26th November 2004, 15:05
I downloaded nasm, Ive put the nasmw.exe in the path (I also tryed to rename it to nasm.exe) and it didnt work... this operator (nasm -f win32 -DPREFIX -o $(IntDir)\$(InputName).obj $(InputPath) || nasmw -f win32 -DPREFIX -o $(IntDir)\$(InputName).obj $(InputPath) ) I try added in the project as a Module to assembly (it was just a gess to see if it would work) but didnt work...
How do I link nasm with vc++ (.NEt or 6, i have both)? I gess it should not be hard...

celtic_druid
26th November 2004, 16:11
For .NET options-->Projects-->VC++ Directories-->Executables. Add the directory containing nasm/nasmw. For VC6 it is basically the same. Tools-->Options--Directories.

For mingw, just put the EXE's in the bin directory. You are going to want mingw as some stuff doesn't get compiled with assembly at all without it, plus the ICL libavcodec project uses gcc.

leo77
26th November 2004, 17:10
I did it...
didnt work...

diehardii
27th November 2004, 02:08
Hi leo77,

Move your ffdshow directory to a path that does not have spaces in it. For instance
C:\FFDShow

For some reason, NASM really doesn't like having spaces in the path name.

~Steve

leo77
29th November 2004, 19:18
:confused: :confused: :confused:
didnt work either.
the error was the same...
ffdshow error PRJ0019: A tool returned an error code from "Assembling c:\ffdshow\src\xvid\image\x86_asm\yv12_to_yuyv_mmx.asm"