Skip to content

Updating or Resetting wxWidgets

Ravbug edited this page May 13, 2019 · 6 revisions

This template project is designed to make changing the wxWidgets folder easy. You can do this if you want to update the version of wxWidgets you are using, or if compiles don't work.

  1. Delete the wxWidgets folder in the template project root.
  2. Download the latest Source Code archive (NOT installer!) that matches your platform.
  3. Extract the compressed archive.
  4. Rename the extracted folder to wxWidgets
  5. Copy wxWidgets into the template project root.
  6. The provided .gitignore file present in the TIFF library will cause issues with compilation because it excludes important files from the repository. Navigate to wxWidgets/src/tiff/ and open .gitignore
    1. Remove the following lines, if they are present:
    libtiff-4.pc		
    libtiff/mkg3states		
    libtiff/stamp-h1		
    libtiff/stamp-h2		
    libtiff/tif_config.h		
    libtiff/tif_config.h.in		
    libtiff/tiffconf.h
    m4/libtool.m4		
    m4/ltoptions.m4		
    m4/ltsugar.m4		
    m4/ltversion.m4		
    m4/lt~obsolete.m4
  7. Save the file and commit changes.

After you finish these steps, follow these instructions to build the projects. Then you should be good to go.