Open Watcom error cannot execute(wpp): No such file or directory*

1.1k views Asked by At

So I'm trying to create a 16bit MSDOS applcation with Open Watcom FORTRAN.

I created a new project and made a simple hello world cpp file but when I'm trying to build by hitting f4 it slams me in the face with the error:

Error(E14): Cannot execute(wpp): No such file or directory

I googled it several times but couldn't find any answers to my problem.
P.S: I'm using Watcom with the gui not in commandline

*This continues from the preceding discussion here, which was left unanswered
How do I write a c++ console exe which I can run on msdos?

1

There are 1 answers

2
bta On

What do you mean by "hitting F4"? Is this a shortcut in your IDE or editor? If so, what IDE/editor are you using?

Regarding OpenWatcom, their wiki contains a wealth of information. I recommend making that your first stop when you run into problems. For your particular case, the Reference Manuals page will be useful. See chapter 3 of the "Getting Started Guide" for a walkthrough of creating and building a program using OpenWatcom's IDE. If you are building your code using your own makefiles or build scripts, see the "User's Guide" for details on calling the compiler directly from the command line.

The "Programmer's Guide" contains sample projects (including compilation instructions). The "samples" folder inside your OpenWatcom install directory contains a number of sample projects, all with makefiles or build instructions. You can probably use one of these as a template for your project.