Re: [Plplot-general] some error in GUI app

2013-11-03 Thread hubin
HI Arjen, I have learn plplot almost a week,I find some problem ,my APP is WIN32 GUI APP,plplot seem to unfriendly with GUI app.The first problem is the func "plio_fgets" in \src\plstdio.c;the func "plio_fgets" use "stdin";"stdin" can work fine in a CUI app.But in a GUI APP,how can i send my

Re: [Plplot-general] plInitDispatchTable error in my own project

2013-10-23 Thread hubin
i'm sorry that i reply the message too late ;I have solved the problem,Now i'm learning the API and the example;when i finish my project.I want to write a simple tutorials for people those who first use plplotin windows;if i do that ;may i ask your help if i do need ?thank you againregards;

[Plplot-general] plInitDispatchTable error in my own project

2013-10-20 Thread hubin
Hello,Arjen,When i want use the plplot in my own project,I get plInitDispatchTable: Could not open drivers directory, aborting operation in my own Win32 console App;my own app is simple;i just copy x00c.c into my test"test.cpp";and i copy all the "C:\build-plplot\dll" directory files into my o

Re: [Plplot-general] cmake bulid for .sln error

2013-10-20 Thread hubin
Thank you;thank-you;I see the math graph;oh my god,I do see it !I use NMake, The IDE is too hard for me,Nmake work fine,now i want to share my experience with you ;i got some error with nmake ,and I try solve some,I'm a Chinese college student, When i use Nmake just like you show in wiki;i got

Re: [Plplot-general] cmake bulid for .sln error

2013-10-18 Thread hubin
oh, I really found that i for a space before"-DBUILD_SHARED_LIBS=OFF";after i add a space before it , i edit command line twice ,then i see:-- Configuring done-- Generating done-- Build files have been written to: D:/plplot_staticbuild_releasejust you show in wiki,i think i got the right .slnI

Re: [Plplot-general] cmake bulid for .sln error

2013-10-18 Thread hubin
you know that I have got the .sln(vs2010),when i open the .sln ,click the INSTALL project then select build ,oh my god,I see 58 errors,i can't get the many useful info from the errors,the most important errors i think is" can't open file ..\..\dll\Debug-DBUILD_SHARED_LIBS=OFF\plplotsudd.lib";yo

Re: [Plplot-general] cmake bulid for .sln error

2013-10-17 Thread hubin
Hello,Alan W.Irwin,I have noticed that I should use "Visual Studio 10" instead of " Visual Studio 10 2010";Arjen Markus help me solve the problem;But thank you anyway;Arjen Markus say that he find some question about the plplot 5.9.10(build for .sln);and I wait for his result;oh, I like plplot,T

Re: [Plplot-general] cmake bulid for .sln error

2013-10-17 Thread hubin
d for .sln error Date: Thu, 17 Oct 2013 12:35:43 + Hi Hubin, (off list) Yes, I agree �C but first I want to check that all works fine with VS 2010. On the CMake list I have seen some questions about the newer versions. egards, Arjen From: hubin [mailto:flyskill...@outlook.com]

Re: [Plplot-general] cmake bulid for .sln error

2013-10-17 Thread hubin
hello, thank you ,I suggest that we should add notes for VS2010 or later ,you know,when people first time use cmake,and they install VS2010 or later,They will just change VS 9 2008 to VS 10 2010 like me,Then they find cmakeshow error,people will feel confused,so we should add notes"if you use V

Re: [Plplot-general] cmake bulid for .sln error

2013-10-17 Thread hubin
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"DCMAK

Re: [Plplot-general] cmake bulid for .sln error

2013-10-17 Thread hubin
hello,I will show all my step :First,I click Start memu->MVS2010->VS tools->Visual Studio Command Prompt(2010)->RUN as Administrator,Then show :D:\Software\Vs2010\VC>(I install VS2010 in D:\Software\Vs2010)Because the release directory is in D:\plplot_staticbuild_release,Then i edit cd D:\plpl

[Plplot-general] cmake bulid for .sln error

2013-10-16 Thread hubin
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_IDEI follow the way,but when i use: cmake "C:/USE