From: li C. <wil...@gm...> - 2008-10-07 02:46:23
|
Hello David, I had built VXL 1.11 under the system of wxWidgets 2.8.9+CMake 2.6.2+Visual Studio 2005(express edition). Acutally it didn't work at beginning, the trouble is vgui.lib can't be generated. After several days debugging, it past in the all. I would like to introduce some notes for your reference. 1.To complie vgui_wx_adaptor.cxx, you need enable macro wxUSE_GLCANVAS, which is defined in "C:\wxWidgets-2.8.9\include\wx\msw\setup.h". Please change "#define wxUSE_GLCANVAS 0" to "#define wxUSE_GLCANVAS 1", then compile wxWidgets again. 2.I had installed CMake 2.6.2, but I found that wxWidgets-2.8.9 isn't listed in "PATH_SUFFIXES" item of command "FIND_PATH(wxWidgets_ROOT_DIR ...", which you can find in "...\CMake 2.6\share\cmake-2.6\Modules\FindwxWidgets.cmake" file. I am not familar with CMake, so I just add a "wxWidgets-2.8.9". 3.When you config VXL value by CMake, please set wxWidgets lib directory with "C:/wxWidgets-2.8.9/lib/vc_lib" instead of "C:/wxWidgets-2.8.9/lib". That's all I have. Good lucky. |