Hi Hubin,


I think the generator “Visual Studio 10 2010” has been changed in recent versions of CMake to “Visual Studio 10”. (I found the generator “Visual Studio 9 2008” in one of my batch files, so at some point that must have been valid.)


Anyway we will change the example in the Wiki. Thanks for reporting that.


On the other hand, your report about your success surprises me a bit: the two command-lines look identical. It is rather strange that you should run CMake twice in succession. I will have a look at this myself later.







From: hubin [mailto:flyskillers@outlook.com]
Sent: Thursday, October 17, 2013 12:57 PM
To: Arjen Markus; plplot-general@lists.sourceforge.net
Subject: RE: [Plplot-general] cmake bulid for .sln error


oh, thank you ,I should use "Visual Studio 10" rather than " Visual Studio 10 2010";

but when i use  "Visual Studio 10" ,

so I use

 cmake "C:/USERS/BIN/DESKTOP/plplot"  -G "Visual




1 minutes later , it still show

-- Configuring incomplete, errors occurred!

I ignore the error,and i continue edit

 cmake "C:/USERS/BIN/DESKTOP/plplot"  -G "Visual




Then it show :

-- Generating done

-- Build files have been written to: D:/plplot_staticbuild_release

I know I success,but i  edit  the command line twice,BTW ,I think we should update our wiki website http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_the_Visual_Studio_IDE 

the sample command line 

 "D:/SourceCode/Libraries/plplot trunk" -G "Visual Studio 9 2008" -DPL_DOUBLE=ON -DLIB_TAG="sud" -DBUILD_TEST=ON -DCMAKE_INSTALL_PREFIX="D:\SourceCode\Libraries\plplotinstall" -DCMAKE_CONFIGURATION_TYPES="Debug" -DBUILD_SHARED_LIBS=OFF -DSTATIC_RUNTIME=ON

should fix by 


"D:/SourceCode/Libraries/plplot trunk" -G "Visual Studio 9 " -DPL_DOUBLE=ON -DLIB_TAG="sud" -DBUILD_TEST=ON -DCMAKE_INSTALL_PREFIX="D:\SourceCode\Libraries\plplotinstall" -DCMAKE_CONFIGURATION_TYPES="Debug" -DBUILD_SHARED_LIBS=OFF -DSTATIC_RUNTIME=ON


DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail.