Alan,

I tried it again with release building. Here is what I
did and what's going on.

1) I unpacked the plplot5.7.3 package into folder
D:\plplot-5.7.3

2) I launched the command-line window, ran the batch
file which set up the VC command env. And then typed
in:

cd plplot-5.7.3
mkdir vcxx
cd vcxx
cmake -G "Visual Studio 8 2005"
-DCMAKE_INSTALL_PREFIX=install ..

cmake proceeded to make the project files for VC++
2005, and no error message. 

3) I launched VC++ 2005, and opened the project file
created by cmake in folder D:\plplot-5.7.3\vcxx.

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 
 

--- "Alan W. Irwin" <[EMAIL PROTECTED]> wrote:

> On 2007-04-06 19:43-0700 winson wrote:
> 
> > Alan,
> >
> > Thanks for the suggestion. I tried again as you
> > suggested by only doing the debug build. The same
> > thing still happens.
> 
> Thanks for that additional testing.  My impression
> is that debug builds are
> not well tested for CMake.  For example, even for
> Linux I have recently
> found some CMake bugs for that case. These are not
> showstoppers but instead
> minor issues for certain compiler flags. 
> Nevertheless, these bugs indicate
> a certain lack of CMake testing for the debug case.
> 
> Do you get the same bad result for the pure "no
> debug" case?
> 
> 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
> __________________________
> 



 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

-------------------------------------------------------------------------
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

Reply via email to