PDA

View Full Version : Modifying Huffyuv. Need VC++ Help


Mark Fredrickson
22nd December 2001, 21:37
Huffyuv crashes when I try to capture blank portions of my 8mm home videos. I thought I would debug it to see where it is crashing and hopefully fix it. I'm not a VC++ developer (VB is my speciality) but do have Visual Studio loaded with VC++.

However I'm running into a problem that I hope someone can shed some light on. In the Huffyuv source there is a file called 'Huffyuv_a.asm' that has a Custom Build Setting with a command of 'ml /c /Zd /coff /nologo /Fo$(IntDir)\$(InputName).obj $(InputPath)'.

When I try to compile it, I get an error that 'ml' is not a recognized command. When I create a makefile for the project, I see that the output of 'ml' is the .obj file that is fed into nmake. So I'm guessing that 'ml' is either a batch file or custom program written by Ben that is not included in the source. If it's something else, I can't find it on MSDN.

Any help would be greatly appreciated. I would very much like to fix this bug as it's causing me a ton of grief trying to capture my home videos.

You can get the Huffyuv source at http://www.math.berkeley.edu/~benrg/huffyuv-source-2.1.1.zip

Thanks,

Mark.

frigginjerk
23rd December 2001, 16:30
you should probably ask for help in the developers secton of this forum. I'm sure somebody there will know.

mpucoder
23rd December 2001, 16:49
The Frigginjerk is right, but occasionally someone wanders by. ML is MASM, since it is missing that means you do not have VC++ 6.0, but 5.0 or earlier. However you can get ml by downloading any service pack for Visual Studio 6.0

Here's the latest one Service Pack 5 (http://support.microsoft.com/default.aspx?scid=http://msdn.microsoft.com/vstudio/sp/vs6sp5/default.asp)

Either unzip it into another folder and move what you need, or use WinZip to extract the parts you need

Mark Fredrickson
23rd December 2001, 16:50
You're right frigginjerk. I didn't see the Developer's forum way down at the bottom. I'm just so use to coming here.

Mpucoder, I have SP5 for VB but forgot to load it for VC++. When you mentioned MASM, I searched MSDN and saw that I also needed the Visual C++ 6.0 Processor Pack which I'm downloading and installing now. Looks like that should do the trick.

Thanks guys.