Monthly Archives: September 2008

Redirect python stdout/stderr via boost.python

It is desirable to redirect python stdout/stderr when embedding python scripts in a GUI application. The following is a simple class that can achieve the goal. First step is declaring a C++ class to simulate python stdio class PythonStdIoRedirect {public:    … Continue reading

Posted in Python | Leave a comment

abbreviations on phone

P911 – Parent Alert KIT –  Keep in Touch ILU –  I Love You CYR PA – Call your Father H&K – Hug and Kiss DBL84DNR – Don’t be late for Dinner EM? – Excuse Me *VIN – Starving RUNGL8 … Continue reading

Posted in Phone | Leave a comment

wxWidgets-2.8.8 under Cygwin

/cygdrive/d/src/wxWidgets-2.8.8/cygwin-rel$ ../configure –with-msw –disable-shared –without-subdirs –enable-monolithic –disable-debug CXXFLAGS="-mthreads" –build=i686-pc-cygwin/cygdrive/d/src/wxWidgets-2.8.8/cygwin-dbg$ ../configure –with-msw –enable-debug –enable-debug_gdb –disable-shared –without-subdirs –enable-monolithic CXXFLAGS="-mthreads" –build=i686-pc-mingw32

Posted in GUI | Leave a comment