News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

directory problem

Started by mostafa xx, October 13, 2008, 06:20:39 AM

Previous topic - Next topic

mostafa xx

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

hutch--

Just change directory to where the batch file is and it works fine.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

mostafa xx

which patch file?????????????

Vortex

It's not a patch file. It's a batch file wit the .bat extension.

mostafa xx

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:

mostafa xx

Vortex he meant the source where you written your code

hutch--

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.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php