From: Arjen M. <arj...@wl...> - 2006-09-06 06:39:39
|
Alan W. Irwin wrote: > > First, you don't need all those ":BOOL" strings in the cmake command > line. > (They don't hurt, but why type extra? For example, -DBUILD_TEST=ON > should > work fine.) > This command line is stored in a small script, so the actual typing is minimal :). > Second, BUILD_SHARED_LIBS is ON by default. So the above should reduce > to > > /cygdrive/c/arjen/cmake-cygwin/CMake/bin/cmake -DBUILD_TEST=ON \ > -DDEFAULT_NO_DEVICES=ON -DPLD_ps=ON -G "Unix Makefiles" ../plplot > Well, it is a leftover from the days this did not seem to work > Third, the above error message is extremely specific and should tell you > pretty much what the problem is. As is often the case with cmake, it is > simply a find problem. Look in the vicinity of line 115 of > plplot.cmake to > confirm that. It is looking for various combinations of header files > on Unix > (including Cygwin) systems. Any one of those header file combinations > will > do. Set the appropriate environment variables to help CMake find what > it needs on your Cygwin platform. > I checked the mail just a few minutes before leaving for work and did this one experiment. I did not have time to look at the source code. Yes, I have two scripts/batch files to help me experimenting with the CBS. So far I have not had a need to instruct CMake via environment variables, which is a good thing, IMHO. I will check the file in question and try again. Regards, Arjen |