Problem solved. I did not have the path environment variable set to c:/msys/1.0/bin, so cmake could not launch sh.exe. wxWidgets was there all along, but cmake could not run wx-config with EXECUTE_PROCESS(COMMAND sh wx-config ...) so it was returning an error, and accordingly setting exWidgets_FOUND to false.
--- In [email protected], Brian Sidebotham <brian.sidebot...@...> wrote: > > 2009/8/10 bkanobe <bkan...@...>: > > That was actually the first thing that I did, which did not work for the > > same reason (cmake could not seem to locate wxwidget.) So I tried the > > --prefix...just to try something. > > > > Otherwise, nothing so far has worked. > > > > BTW, I'm doing this on Windows Vista (cringe at will) and I don't know if > > this makes a difference or not compared to XP. > > > > I've been trying to read up on cmake so see how the find_package() function > > works. So far, more confused than ever! > > Well what I wrote worked correctly yesterday, so there must be a > difference between XP and Vista. > > You can try adding --debug-output and/or --trace as options to the > cmake line to see if you get any further clues > > Best Regards, > > Brian. >
