Solved

masm611  using pwb

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

  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 …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

910 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

26 Experts available now in Live!

Get 1:1 Help Now