View Full Version : Compile DGDecode 2008
jj30
29th July 2009, 23:04
I've been up and down the forum. I'm trying to compile DGDecode in Visual Studio 2008. The problem is idctmmx.asm.
Advice given for 2005 isn't working (eg. get the correct version of ml.exe). I tried three versions 1) masm32's version 2) MS Visual Studio 8's version 3) MS Visual Studio 9.0's version. I tried to install VC2008FeaturePack.exe, but wouldn't you know it, it does not want to deploy on top of Visual C++ Express.
Right now a friend is helping me change the assembler code, but this is turning out to be a little painful (we don't know assembler).
Does anyone have any suggestions? I struggle with C/C++, so this assembler stuff ... feels like being in an operating room without any med school.
neuron2
29th July 2009, 23:12
I use the one from VC++ 6.0:
Microsoft (R) Macro Assembler Version 6.15.8803
The command is:
"D:\Microsoft Visual Studio\VC98\Bin\ml" /c /coff /Cx /nologo $(InputName).asm
jj30
30th July 2009, 22:30
I didn't want to leave anyone hanging ... We couldn't bring it into 2008. Just not enough assembler knowledge.
I installed VC6 (just the build tools), but still got errors on compile when I pointed it to the corresponding ML.exe. The other guy has the same issues (he has a full installation of VC6).
VC++ 6.0 Processor Pack (vcpp5.exe) wont install on his machine because it says he has Visual Studio 2003 on it. Wont install on mine (says it needs VC++ 6.0 SP 5), I can only find SP6 (or at least vs6sp6.exe), and then it says the same thing.
What I'm going to try to do is just use DLLImport to call it from my managed code. I just need to figure out the marshalling ... is all... and how hard could THAT be ? ;)
neuron2
30th July 2009, 22:58
I installed VC6 (just the build tools), but still got errors on compile when I pointed it to the corresponding ML.exe. I can't help if you won't tell me the errors you got!
I have a build working with Visual Studio 8.
jj30
31st July 2009, 14:59
No way! That's great ... I'll post the errors in a few minutes.
Fizick
31st July 2009, 18:58
you can unpack vccp5.exe with 7-zip instead of "install" it ;)
jj30
31st July 2009, 19:55
Ok, I got it to compile in Visual Studio 2005 by pointing to the ML in my VC98 folder. I don't actually know which ML that pertains to (6, 8, or neither).
In fact, after installing VC6 and then sp5 and then the processor pack vcpp5.exe, I couldn't find a newly-created ML.exe.
So I guess that there is some "beef" (technical term) that Visual Studio 2008 has with that ML, because I tried the exact same thing two days ago and it didn't work.
Thanks you guys, JJ.
PS, if I look at vccp5.exe w/7-zip (thx Fizick), I can see that it's the ml.exe that WAS deployed to my VC98/bin. So that's def. the patch for 2005.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.