I installed the compiler "Open watcom" on my OS Win XP, which I run under Virtual Box.
I installed program in automode: full package and with auto changes to autoexec and config files, where all needed info for environment variables was inserted during installation.
I can`t compile C project for DOS 16 bits, I get the error :
WxD WDEBUG.386 not present.
I tried to modify "system.init" file and inserted "device=c:\watcom\binw\wdebug.386 " in [386enh] directory (it was adviced in FAQ in one of the sites related to open watcom), but that gave no effect.
I need help! What should I do to make c projects compile and resolve issue with wdebug.386 Thanks in advance!
I have never had such issues with OW.
I have installed it either using the default configuration or choosing the host OS as Windows. With that configuration OW by default creates Win32 apps. If you want to create DOS apps, you need to invoke the compiler in a special way.
This is what works for me on Windows 7 64-bit:
And then I can successfully run
hw.exe
in DosBox using the commanddosbox hw.exe
. In Windows XP you can runhw.exe
directly.If it's of any help, these are the environment variables related to OW on my system: