Re: [CMake] How to find wxWidgets with cmake under Windows?

2008-07-08 Thread Werner Smekal
Hi Miguel, Well, Bob is setting wxWidgets_LIB_DIR in the GUI and this should then work for him (it's the same that you are doing with the -D param). And from the listing Bob sent me it seems that after we find wxWidgets_LIB_DIR correctly the rest is good to go. Have you tried it with static

Re: [CMake] How to find wxWidgets with cmake under Windows?

2008-07-07 Thread Werner Smekal
Hi Bob, I'm also using wxWidgets 2.8.7 with MinGW/CLI and as Miguel wrote, you need to pass some extra parameters so that cmake can find wxWidgets. I usually use the zipped wxWidgets package, set the WXWIN environment variable, then compile it, and then pass the following to cmake: cmake

Re: [CMake] How to find wxWidgets with cmake under Windows?

2008-07-06 Thread Miguel A. Figueroa-Villanueva
On Sat, Jul 5, 2008 at 9:17 PM, Bob Paddock wrote: Ok, the problem is that you are finding wxWidgets Unix Style... I started with a CMakeLists.txt file from Linux, where it works fine. Is that bad? I'm trying to build with Mingw32-gcc. This part of what I have: # Find package for

[CMake] How to find wxWidgets with cmake under Windows?

2008-07-05 Thread Bob Paddock
I need to build wxWidgets, under Windows XP with MingW. I have a Linux CMakeLists.txt that works fine under Linux, but cmake 2.6 under Windows tells me wxWidgets not found. I have installed wx288.exe that should have set the registry key, and I have set wxwin to point at C:\wxwidgets-2.8.8

Re: [CMake] How to find wxWidgets with cmake under Windows?

2008-07-05 Thread Miguel A. Figueroa-Villanueva
On Sat, Jul 5, 2008 at 6:58 PM, Bob Paddock wrote: The FindwxWidgets module just finds the already built wxWidgets libs to use in your app. That said, I need to add the wxWidgets-2.8.8 prefix to the search locations. I don't use the installer, Normally I don't either. I only did it because

Re: [CMake] How to find wxWidgets with cmake under Windows?

2008-07-05 Thread Bob Paddock
Ok, the problem is that you are finding wxWidgets Unix Style... I started with a CMakeLists.txt file from Linux, where it works fine. Is that bad? I'm trying to build with Mingw32-gcc. This part of what I have: # Find package for wxWidgets is required: FIND_PACKAGE( wxWidgets COMPONENTS