From: hubin <fly...@ou...> - 2013-10-17 10:56:33
|
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 "VisualStudio 10"-DPL_DOUBLE=ON -DLIB_TAG="sud" -DBUILD_TEST=ONDCMAKE_INSTALL_PREFIX="C:\USERS\BIN\DESKTOP\plplotinstall"DCMAKE_CONFIGURATION_TYPES="Debug"-DBUILD_SHARED_LIBS=OFF -DSTATIC_RUNTIME=ON 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 "VisualStudio 10"-DPL_DOUBLE=ON -DLIB_TAG="sud" -DBUILD_TEST=ONDCMAKE_INSTALL_PREFIX="C:\USERS\BIN\DESKTOP\plplotinstall"DCMAKE_CONFIGURATION_TYPES="Debug"-DBUILD_SHARED_LIBS=OFF -DSTATIC_RUNTIME=ONThen it show :-- Generating done-- Build files have been written to: D:/plplot_staticbuild_releaseI 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=ONshould 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 |