Solved

masm611  using pwb

Posted on 1998-06-01
5
648 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
TTimer no longer functioning 7 91
Why would downloading El capitan OSX update be troublesome e.g timeout many many times?? 11 583
C++ question 3 67
max float value 3 42
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

831 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