The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: mostafa xx on October 13, 2008, 06:20:39 AM

Title: directory problem
Post by: mostafa xx on October 13, 2008, 06:20:39 AM
hi every one i had a problem with masm32 i wants to tell you about

i start my cmd prompt at a different directory than the default
i installed  masm on c:\ but it wasn't working i try to use makelibs.bat but it wasn't working always getting "can't find file..."

till i redirect cmd to default reuse makelibs.bat it was working ok  :cheekygreen:
so i think you should fix that

i also can't compile(assemble) any example till now getting error


LINK : fatal error LNK1181: cannot open input file "C:\masm32\examples\exampl01\
3dframes\3dframes.obj"
_
Link error
Press any key to continue . . .


it's about obj file but i searched for it and found it put it with the .asm but it getting deleted every time i try to compile it
Title: Re: directory problem
Post by: hutch-- on October 13, 2008, 09:44:05 AM
Just change directory to where the batch file is and it works fine.
Title: Re: directory problem
Post by: mostafa xx on October 13, 2008, 08:36:26 PM
which patch file?????????????
Title: Re: directory problem
Post by: Vortex on October 13, 2008, 08:47:05 PM
It's not a patch file. It's a batch file wit the .bat extension.
Title: Re: directory problem
Post by: mostafa xx on October 13, 2008, 08:49:15 PM
yes it work's finally  :cheekygreen: :cheekygreen: :cheekygreen: :cheekygreen: :cheekygreen: :cheekygreen: :cheekygreen: :cheekygreen: :cheekygreen: :cheekygreen: :cheekygreen: :cheekygreen:

hutch man why you didn't say to change the cmd prompt to the source code file or say the .asm file
and why you didn't use system environment like hla it gives a bad impression about the assembler :naughty: :naughty: :naughty: :naughty:
Title: Re: directory problem
Post by: mostafa xx on October 13, 2008, 08:52:02 PM
Vortex he meant the source where you written your code
Title: Re: directory problem
Post by: hutch-- on October 13, 2008, 11:19:34 PM
Mostafa,

> and why you didn't use system environment like hla it gives a bad impression about the assembler

Because after the first thousand enquiries or so I changed it so that most beginners did not make a mess of using it. My generation grew up using the environment for paths and the like but most of the young guys didn't and made endless mistakes with anything set up that way.

The other factor is absolute paths allow you to run multiple programming environments without one effecting the other.