Build libSWT from source

 

Before you start, make sure you have a working MinGW environment!

 

Download

 

Extract

  • Extract the source of SWT and the build script in the same directory

 

Build

  • Execute the script, wait until it’s done and then copy libswt.a to the library directory of MinGW

 

You should now able to compile a simple SWT example