error: wx/wxprec.h: No such file or directory
1. Make sure you installed wxWidgets headers on the computer. Sometimes under Linux, this requires installing a package with dev in its name, sometime like wxWidgets-devel or wxGTK-dev.
2. Make sure that the include search directory is set correctly. I can not help you with how to do this, windows user here.
Note, if you have multiple versions of wxWidgets installed you must do special things which escape my memory right now.
Tim S