Monthly Archives: October 2008

build wxWidgets 2.8.9 via VC++ 2008

4 commands are needed in order to build multibyte/unicde and debug/release combinations. D:\src\wxWidgets-2.8.9\build\msw>nmake -f makefile.vc MONOLITHIC=1 SHARED=0 CFG=vc90 BUILD=debug USE_OPENGL=1 USE_ODBC=1 UNICODE=0 D:\src\wxWidgets-2.8.9\build\msw>nmake -f makefile.vc MONOLITHIC=1 SHARED=0 CFG=vc90 BUILD=release USE_OPENGL=1 USE_ODBC=1 UNICODE=0 D:\src\wxWidgets-2.8.9\build\msw>nmake -f makefile.vc MONOLITHIC=1 SHARED=0 CFG=vc90 BUILD=debug USE_OPENGL=1 … Continue reading

Posted in GUI | Leave a comment

regular expression snippets

find file name from path: first find the last back slash, then the rest part is file name .*\\([^\\]*) Find compile error in VC++ 2008 output window :berror:bC:z Find build error in VC++ 2008 output window :b[^0]:berror\(s\) Replace enum definition … Continue reading

Posted in regex | Leave a comment