Compiling with Digital Mars

I have built and used wxHatch with Digital Mars 8.49 and wxwidgets 2.8.6 (older versions of wxWidgets, eg  2.6.0 - 2.6.2 wiill work 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%\build\msw directory and type:
make -f makefile.dmc clean
make -f makefile.dmc
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\build\stc directory and type:
make -f makefile.dmc clean
make -f makefile.dmc
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.dmc clean
make -f makefile.dmc

This will generate wxhatch.exe
 

On to using the program

wxHatch Home link to wxhatch help index