Hello Hubin,
the proper name for the generator is "Visual Studio 10". You need to run CMake
with the MS Visual Studio environment correctly set up. That is: select the MS
Visual Studio Command Prompt from the Start menu, go to the correct directory
and then run the CMake command.
Regards,
Arjen
From: hubin [mailto:flyskill...@outlook.com]
Sent: Thursday, October 17, 2013 8:00 AM
To: Plplot-general@lists.sourceforge.net
Subject: [Plplot-general] cmake bulid for .sln error
Hello,I'm a newcomers for plplot,I use vs2010,my PC is win7 x64,I want use the
cmake(It's my first time use it) to bulid for .sln. I have read the article
http://www.miscdebris.net/plplot_wiki/index.phptitle=Configure_PLplot_for_the_Visual_Studio_IDE<http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_the_Visual_Studio_IDE>
I follow the way,but when i use:
cmake "C:/USERS/BIN/DESKTOP/plplot" -G "VisualStudio 10 2010" -DPL_DOUBLE=ON
-DLIB_TAG="sud" -DBUILD_TEST=ON
-DCMAKE_INSTALL_PREFIX="C:\USERS\BIN\DESKTOP\plplotinstall"
DCMAKE_CONFIGURATION_TYPES="Debug"
-DBUILD_SHARED_LIBS=OFF -DSTATIC_RUNTIME=ON
cmake show error :
CMake Error: Could not create named generator Visual Studio 10 2010
The I google,people say I can ignore -G "Visual Studio 10 2010",The cmake will
correctly detect the local(my
computer) compiler;so I do that :
cmake "C:/USERS/BIN/DESKTOP/plplot" -DPL_DOUBLE=ON -DLIB_TAG="sud"
-DBUILD_TEST=ON -DCMAKE_INSTALL_PREFIX="C:\USERS\BIN\DESKTOP\plplotinstall"
DCMAKE_CONFIGURATION_TYPES="Debug"-DBUILD_SHARED_LIBS=OFF -DSTATIC_RUNTIME=ON
The cmake run ,about 1 minutes,cmake run over,The last info is:
-- Configuring incomplete, errors occurred!
I know i fail.
so I want to ask for help, I use cmake 2.8.11.2,and plplot 5.9.10 in SVN;
Fly
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.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general