Log in

View Full Version : Problem compiling dgdecode


Audionut
1st November 2005, 15:10
Using visual studio .net 2003 I get this error message.

Build Log


------- Build started: Project: DGDecode, Configuration: Release|Win32 -------

Command Lines


Creating temporary file "c:\Documents and Settings\Administrator\Desktop\dgmpgdec145src\dgdecode145src\Release\BAT000001.bat" with contents
[
@echo off
d:\Dosbin\nasm -f win32 -DPREFIX -DWIN32 -o ".\Release"\"skl_dct_sse".obj "c:\Documents and Settings\Administrator\Desktop\dgmpgdec145src\dgdecode145src\skl_dct_sse.asm"

if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "Performing Custom Build Step"
exit 1
:VCEnd
]
Creating command line ""c:\Documents and Settings\Administrator\Desktop\dgmpgdec145src\dgdecode145src\Release\BAT000001.bat""
Creating temporary file "c:\Documents and Settings\Administrator\Desktop\dgmpgdec145src\dgdecode145src\Release\BAT000002.bat" with contents
[
@echo off
d:\Dosbin\nasm -f win32 -DPREFIX -o ".\Release"\"simple_idct_mmx".obj "c:\Documents and Settings\Administrator\Desktop\dgmpgdec145src\dgdecode145src\simple_idct_mmx.asm"

if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "Performing Custom Build Step"
exit 1
:VCEnd
]
Creating command line ""c:\Documents and Settings\Administrator\Desktop\dgmpgdec145src\dgdecode145src\Release\BAT000002.bat""
Creating temporary file "c:\Documents and Settings\Administrator\Desktop\dgmpgdec145src\dgdecode145src\Release\BAT000003.bat" with contents
[
@echo off
d:\Dosbin\nasm -f win32 -DPREFIX -o ".\Release"\"mcsse".obj "c:\Documents and Settings\Administrator\Desktop\dgmpgdec145src\dgdecode145src\mcsse.asm"

if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "Assembling c:\Documents and Settings\Administrator\Desktop\dgmpgdec145src\dgdecode145src\mcsse.asm"
exit 1
:VCEnd
]
Creating command line ""c:\Documents and Settings\Administrator\Desktop\dgmpgdec145src\dgdecode145src\Release\BAT000003.bat""

Output Window


Performing Custom Build Step
The system cannot find the path specified.
Project : error PRJ0019: A tool returned an error code from "Performing Custom Build Step"

Results


Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\dgmpgdec145src\dgdecode145src\Release\BuildLog.htm"
DGDecode - 1 error(s), 0 warning(s)


If I knew what path it was trying to find, I'm sure that would help.

Leak
1st November 2005, 18:21
Using visual studio .net 2003 I get this error message.
[snip]
If I knew what path it was trying to find, I'm sure that would help.
Well, the only path I can see in there is d:\Dosbin, where it's looking for NASM. Are you sure it exists and NASM is installed there?

np: Atom - Jazz (Replicant Rumba Rockers (remixed by Burnt Friedman))

Audionut
1st November 2005, 23:28
Thanks, that fixed that problem.

Now it's saying, "nasm: error: more than one input file specified"

I've searched through all the code files, but can't seem to find where/how to adjust the command line.

Moitah
1st November 2005, 23:47
You should be able to change the command line by right clicking on the .asm file in the Solution Explorer and selecting Properties. Then click on Custom Build Step in the tree on the left, and you can now edit the Command Line to the right. It looks like the quoting is messed up:

d:\Dosbin\nasm -f win32 -DPREFIX -o ".\Release"\"mcsse".obj "c:\Documents and Settings\Administrator\Desktop\dgmpgdec145src\dgdecode145src\mcsse.asm"

I assume should read:

d:\Dosbin\nasm -f win32 -DPREFIX -o ".\Release\mcsse.obj" "c:\Documents and Settings\Administrator\Desktop\dgmpgdec145src\dgdecode145src\mcsse.asm"

I think this was caused when you converted the project to work in VS2003. You will have to edit the command line for all the .asm files to fix this (hint: you can select multiple items in the Solution Explorer to edit the properties all at once :)).

Audionut
2nd November 2005, 01:23
Thankyou very much, both of you.

The command line should read like this.

d:\Dosbin\nasm -f win32 -DPREFIX -o ".\Release"\mcsse.obj "c:\Documents and Settings\Administrator\Desktop\dgmpgdec145src\dgdecode145src\mcsse.asm"


Thanks again.