The DLL problem
If you have compiled wxWidgets to be "shared" and you are on windows (you have not followed my wxWidgets compilation instructions), then all your programs will need certain DLLs from the wxWidgets to run.
Find the .dll files (most likely in $WXWIN/build or $WXWIN/lib)
Copy these to the same location as your .exe (for example your debug folder in your project)