Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-25 Thread Miguel A. Figueroa-Villanueva
On Sat, May 24, 2008 at 10:52 AM, Bill Hoffman wrote: Bill Hoffman wrote: Mathieu Malaterre wrote: Hum... I tried again today and I cannot reproduce it. So to properly find wxWidgets on my machine I need to get rid of all entries in the PATH_SUFFIXES section. I would love to get rid it of

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-25 Thread Bill Hoffman
Miguel A. Figueroa-Villanueva wrote: On Sat, May 24, 2008 at 10:52 AM, Bill Hoffman wrote: Bill Hoffman wrote: Mathieu Malaterre wrote: Hum... I tried again today and I cannot reproduce it. So to properly find wxWidgets on my machine I need to get rid of all entries in the PATH_SUFFIXES

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-24 Thread Mathieu Malaterre
Hum... I tried again today and I cannot reproduce it. So to properly find wxWidgets on my machine I need to get rid of all entries in the PATH_SUFFIXES section. I would love to get rid it of that nasty bug before the next release of cmake, so could the maintainer of wxWidgets stand up and tell

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-24 Thread Bill Hoffman
Mathieu Malaterre wrote: Hum... I tried again today and I cannot reproduce it. So to properly find wxWidgets on my machine I need to get rid of all entries in the PATH_SUFFIXES section. I would love to get rid it of that nasty bug before the next release of cmake, so could the maintainer of

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-24 Thread Bill Hoffman
Bill Hoffman wrote: Mathieu Malaterre wrote: Hum... I tried again today and I cannot reproduce it. So to properly find wxWidgets on my machine I need to get rid of all entries in the PATH_SUFFIXES section. I would love to get rid it of that nasty bug before the next release of cmake, so could

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-20 Thread Mathieu Malaterre
On Tue, May 20, 2008 at 3:02 AM, Bill Hoffman [EMAIL PROTECTED] wrote: Werner Smekal wrote: Hi Mathieu, first I would use the standard Windows CLI and not cygwin, if you intend to use VC++ and NMake. I normally tell cmake where to find the correct version of wxWidgets via

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-20 Thread Werner Smekal
Hi Mathieu, which cmake version are you using, the cygwin one or the native? The responsible code in FindwxWidgets.cmake is FIND_PATH(wxWidgets_ROOT_DIR NAMES include/wx/wx.h PATHS $ENV{wxWidgets_ROOT_DIR} $ENV{WXWIN}

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-20 Thread Mathieu Malaterre
Hi all, So here is the actual problem: FIND_PATH(wxWidgets_ROOT_DIR NAMES include/wx/wx.h PATHS $ENV{wxWidgets_ROOT_DIR} $ENV{WXWIN} [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\wxWidgets_is1;Inno Setup: App Path] # WX 2.6.x

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-20 Thread Mathieu Malaterre
On Tue, May 20, 2008 at 10:07 AM, Werner Smekal [EMAIL PROTECTED] wrote: Hi Mathieu, which cmake version are you using, the cygwin one or the native? The responsible code in FindwxWidgets.cmake is FIND_PATH(wxWidgets_ROOT_DIR NAMES include/wx/wx.h PATHS

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-20 Thread Bill Hoffman
Mathieu Malaterre wrote: Hi all, So here is the actual problem: FIND_PATH(wxWidgets_ROOT_DIR NAMES include/wx/wx.h PATHS $ENV{wxWidgets_ROOT_DIR} $ENV{WXWIN} [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\wxWidgets_is1;Inno Setup:

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-20 Thread Mathieu Malaterre
On Tue, May 20, 2008 at 4:30 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Mathieu Malaterre wrote: Hi all, So here is the actual problem: FIND_PATH(wxWidgets_ROOT_DIR NAMES include/wx/wx.h PATHS $ENV{wxWidgets_ROOT_DIR} $ENV{WXWIN}

[CMake] wxWidgets on Win32 (MSW)

2008-05-19 Thread Mathieu Malaterre
Hi there, Hi there anyone using FindwxWidgets on Win32 ? I have the following CMakeLists.txt file: FIND_PACKAGE(wxWidgets COMPONENTS base core gl adv) INCLUDE( ${wxWidgets_USE_FILE} ) I compiled wxWidgets 2.8.7 using the installer. Then compiled using nmake + FreeVCToolkit2003, following

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-19 Thread Werner Smekal
Hi Mathieu, first I would use the standard Windows CLI and not cygwin, if you intend to use VC++ and NMake. I normally tell cmake where to find the correct version of wxWidgets via -DwxWidgets_LIB_DIR=path_to_lib_dir -DwxWidgets_CONFIGURATION=msw In addition regarding your output, this line

Re: [CMake] wxWidgets on Win32 (MSW)

2008-05-19 Thread Bill Hoffman
Werner Smekal wrote: Hi Mathieu, first I would use the standard Windows CLI and not cygwin, if you intend to use VC++ and NMake. I normally tell cmake where to find the correct version of wxWidgets via -DwxWidgets_LIB_DIR=path_to_lib_dir -DwxWidgets_CONFIGURATION=msw In addition regarding