First of all, you have a very strange path setup of wxWidgets, it seems like you have set the prefix to /usr/wx3.0.5 and a custom lib location of wx-dynamic-build/lib. Now that you are self-building wxWidgets, why do you build that old version instead of the current release? Anyway, it looks like your include path to the main includes is wrong, i have only a recent wxWidgets 3.1 snapshot, but i don't think they changed the path setup. The proper include path should be /usr/wx3.0.5/include/wx-3.0.