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! --- In [email protected], Brian Sidebotham <brian.sidebot...@...> wrote: > > > ----- Original Message ----- > > From: "bkanobe" <bkan...@...> > > To: [email protected] > > Sent: Monday, August 10, 2009 7:45:42 AM (GMT-0500) Auto-Detected > > Subject: [kicad-users] Re: cmake and wxwidgets > > > > It certainly would appear so: > > > > C:\msys\1.0\local\wxMSW-2.8.10>dir > > Volume in drive C has no label. > > Volume Serial Number is D04E-AB3B > > > > Directory of C:\msys\1.0\local\wxMSW-2.8.10 > > > > 08/10/2009 05:23 PM <DIR> . > > 08/10/2009 05:23 PM <DIR> .. > > 08/10/2009 07:37 PM <DIR> bin > > 08/10/2009 05:23 PM <DIR> include > > 08/10/2009 07:37 PM <DIR> lib > > 08/10/2009 05:23 PM <DIR> share > > 0 File(s) 0 bytes > > 6 Dir(s) 339,789,967,360 bytes free > > > > I eventually used the "--prefix=C:\msys\1.0\local\wxMSW-2.8.10" option with > > configure, since the first time I configured and make (installed) the > > wxwigets it didn't seem to install them in a separate directory, as the > > COMPILING.txt implied. Rather, I think it was installed in the > > /usr/local/bin and /lib directories (and cmake could not find them there > > either.) So I added the --prefix so it would install in a specific place > > that I was certain of, and included that location in the > > -DwxWidgets_ROOT_DIR option of cmake. > > > > I hope that makes sense. > > > > Anyway, I'll keep plugging away. :( > > Normally, if you do not include a --prefix option to wxWdigets on > windows, it will install to /usr/local under MSYS and this is what you > should pass to cmake. i.e. cmake -G "MSYS Makefiles" > -DCMAKE_BUILD_TYPE=Release -DwxWidgets_ROOT_DIR=/usr/local ../.../ > > I did this on a fresh machine yesterday so I know this is the case. > > When using MSYS you should "think" you are in the linux world. Stay > away from c:\ type paths. It is likely the path structure you've given > that is mucking up cmake. You can instead try passing > -DwxWidgets_ROOT_DIR=/usr/local/wxMSW-2.8.10 and see if that gets you > any luck. > > With the boost libraries, you'll need to unzip the boost libraries > into a directory called "C:\Program Files\Boost". To find boost, cmake > only looks in a few certain directories on windows. > > Best Regards, > > Brian. >
