Compiling with Digital Mars

I have built and used wxHatch and 2.4.2 release of wxWidgets with Digital Mars version 8.34 and later - get the CD or download the Compiler and basic tools (for implib).

1) Build the wxWidgets library if required

Modify your c:\autoexec.bat file to include lines like this: (check if the wxWidgets installer has done it for you)
set wxwin=c:\wxWidgets

To build with Digital Mars, run a command window, go to the %WXWIN%\src\mswdirectory and type:
make -f makefile.sc clean
make -f makefile.sc
You should find that the%WXWIN%\lib directory now has a set of .lib files.

To build the Styled text system, go to the %WXWIN%\contrib\src\stcdirectory and type:
make -f makefile.sc clean
make -f makefile.sc
You should find that the%WXWIN%\contrib\lib directory now includes a stc_sc.lib file.
 

2) Build wxHatch

To build the wxHatch.exe, go to the wxhatch directory and type
make -f makefile.sc clean
make -f makefile.sc

This will generate wxhatch.exe

On to using the program