Solved

masm611  using pwb

Posted on 1998-06-01
5
622 Views
Last Modified: 2008-02-01
I used pwb to create a new project

when I do "rebuild all" the sample .asm file is not
assembled or linked - the results file displays the
pwb generated line that runs nmake, and then
displays  "loading makefile"

If I run nmake from the dos prompt and add the /d switch,
I get the error messages:
    sample.asm  target does not exist
    FATAL ERROR U1073  Dont know how to make     sample.asm

Any ideas about What I am doing wrong?

Thanks,

David


0
Comment
Question by:dav90
  • 2
  • 2
5 Comments
 
LVL 11

Expert Comment

by:alexo
ID: 1165101
You have to define a "custom build" command for the ASM file.
Go to the project settings (build/settings menu), select the ASM file and enter the assembled command on the "custom build" tab.  See the online help of that tab (especially "filename macros" and "directory macros") for more info.
0
 

Author Comment

by:dav90
ID: 1165102


There is no project settings "custom build" tab on my
PWB (programmers workbench) menus.

PWB is the environment that comes with MASM 6.11.

Your comments seem to refer to  Visual C++ 5.0 menus.
0
 
LVL 11

Expert Comment

by:alexo
ID: 1165103
Oh, I misunderstood your question.  Please reopen the question for other people since I have no significant experience with the PWB.

However, if you post your makefile here, I can take a look at it.

Meanwhile, are the other .ASM files get correctly built?  Are they all in the same directory?

0
 
LVL 2

Expert Comment

by:kinkajou
ID: 1165104
Dav90,

What is you current situation? I may be able to help...
0
 
LVL 2

Accepted Solution

by:
kinkajou earned 100 total points
ID: 1165105
sample.asm is not in the directories that nmake/masm is looking for source files. You need to include this directory. masm needs an option -Idirectory where directory is the location of your sample.asm source.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now