Alan, Thank you for the help. I just have replied to Werner's message with a little bit more testing results. So far I have managed to create the library files with no error message from either cmake or VC++, although with some cheating. I feel that the compiled library files should be all right this time. I will find it out soon in coding.
Winson --- "Alan W. Irwin" <[EMAIL PROTECTED]> wrote: > On 2007-04-07 10:26-0700 winson wrote: > > > 4) Build the library with release configuration, > and I > > got the same fail: > > > > Generating plhershey-unicode.h > > 'plhershey-unicode-gen.exe' is not recognized as > an > > internal or external command, > > operable program or batch file. > > > > I searched the file 'plhershey-unicode-gen.exe'. > It is > > located at "D:\plplot-5.7.3\VCXX\include\release" > on > > my computer. I used it to generate > > 'plhershey-unicode-gen.h' on command-line, and > again > > it worked. It seems that the compiler could not > find > > the file 'plhershey-unicode-gen.exe' with the > settings > > in CMakeList.txt. > > > > 5) Other than this fail, the compilation of other > > library files seems okay although with some > warnings. > > > > One question I have now is that how I should > change > > the configuration so that the compiler can find > > 'plhershey-unicode-gen.exe' on my computer and do > the > > header file generation? Perhaps add a couple of > lines > > in CMakeLists.txt, but which one and what shall I > add? > > Thanks, winson, for your continued tests and clear > report of the problem you > are encountering. I don't have any windows > experience myself, but hopefully > other members of the PLplot development team with > such experience can figure > out what is wrong from your report and adjust our > CMake-based build system > to do the correct thing for your particular > combination of build tools. In > any case, I have never been particularly happy with > the brute-force approach > I authored to establish the dependency of the custom > command on the > plhershey-unicode-gen executable, and I will ask if > there is a better way to > establish such a dependency on the CMake mailing > list. > > Alan > __________________________ > Alan W. Irwin > > Astronomical research affiliation with Department of > Physics and Astronomy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the FreeEOS > equation-of-state implementation > for stellar interiors (freeeos.sf.net); PLplot > scientific plotting software > package (plplot.org); the Yorick front-end to PLplot > (yplot.sf.net); the > Loads of Linux Links project (loll.sf.net); and the > Linux Brochure Project > (lbproject.sf.net). > __________________________ > > Linux-powered Science > __________________________ > ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general