From: Miguel A. Figueroa-V. <mi...@ie...> - 2007-10-01 10:07:52
|
On 9/30/07, Yves Lemay wrote: > I checked and VGUI_USE_WX was in fact turned off. The problem is when I turn > it on it will not compile because it does not find wx/frame.h. My folders > for wxWidet are oranised the following way: > > Source: C:\lib\wx\wxWidgets-2.8.5 > > Binary: C:\lib\wx\bin\2.8.5\release\static > > In CMAKE I have tried at least different way to set the variables > WXWIDGETS_LIB_DIR and WXWIDGETS_ROOT_DIR > > I have tried the following combinations: > > Combination 1: > 1) WXWIDGETS_LIB_DIR = C:\lib\wx\bin\2.8.5\release\static\lib > 1) WXWIDGETS_ROOT_DIR = C:\lib\wx\bin\2.8.5\release\static > > Combination 2: > 2) WXWIDGETS_LIB_DIR = C:\lib\wx\bin\2.8.5\release\static\lib > 2) WXWIDGETS_ROOT_DIR = C:\lib\wx\wxWidgets-2.8.5 > > There might be something I do wrong when I configure wxWidget: > > ../../../configure --prefix=/c/lib/wx/bin/2.8.5/release/static > --disable-shared --with-msw --enable-gui --with-odbc --with-opengl > > I' also building the thing on MSYS system so It might be the reasin why I do > not see the VGUI_USE_MFC. Unfortunately I don't use MSYS, so I'm not sure about the details on compiling/installing wxWidgets using MSYS. However, I believe you should not need to set the WXWIDGETS_ROOT_DIR variable. Use the attached FindwxWidgets module (go to your .../vxl/config/cmake/Modules/NewCMake/ folder) and replace the FindwxWidgets.cmake with the attached file. This is the newest version. If this works, then I'll make an update to the vxl code repository. Let me know if this helps or not. > > Once again thank you it is very appreciate (I thing we can say that in > English) Your welcome. > Yves Lemay --Miguel |