우분투에서 빌드를 시도해 본 결과 다음과 같은 에러가 발생하였습니다.
(빌드를 위해 먼저 libwxgtk2.8-dev와 libboost-dev 패키지를 설치하였습니다.)
namhyung@leonhard:mygdb-dev-20100722$ make
g++ -c -W -Wno-write-strings -I. -g `wx-config --cxxflags` -o treelistctrl.o treelistctrl.cpp
treelistctrl.cpp: In member function ‘void wxTreeListMainWindow::PaintItem(wxTreeListItem*, wxDC&)’:
treelistctrl.cpp:3082: error: operands to ?: have different types ‘const wxString’ and ‘const char [2]’
treelistctrl.cpp: In member function ‘void wxTreeListMainWindow::PaintLevel(wxTreeListItem*, wxDC&, int, int&, int)’:
treelistctrl.cpp:3356: warning: enumeral and non-enumeral type in conditional expression
treelistctrl.cpp: In member function ‘void wxTreeListMainWindow::CalculateSize(wxTreeListItem*, wxDC&)’:
treelistctrl.cpp:4068: error: operands to ?: have different types ‘const wxString’ and ‘const char [2]’
make: ***
[treelistctrl.o] 오류 1
제 환경은 다음과 같습니다.
namhyung@leonhard:mygdb-dev-20100722$ uname -a
Linux leonhard 2.6.32-23-generic
#37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 GNU/Linux
namhyung@leonhard:mygdb-dev-20100722$
namhyung@leonhard:mygdb-dev-20100722$ wx-config --list
Default config is gtk2-unicode-release-2.8
Default config will be used for output
Alternate matches:
base-unicode-release-2.8