You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(14) |
Jun
(1) |
Jul
(3) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(16) |
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(13) |
Feb
(22) |
Mar
(7) |
Apr
(8) |
May
(8) |
Jun
(11) |
Jul
(2) |
Aug
|
Sep
(5) |
Oct
(31) |
Nov
(23) |
Dec
(3) |
2002 |
Jan
(1) |
Feb
(17) |
Mar
(10) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
(11) |
Oct
(5) |
Nov
(21) |
Dec
(20) |
2003 |
Jan
(27) |
Feb
(13) |
Mar
(20) |
Apr
(11) |
May
(12) |
Jun
(7) |
Jul
(16) |
Aug
(21) |
Sep
(9) |
Oct
(28) |
Nov
(24) |
Dec
(30) |
2004 |
Jan
(31) |
Feb
(5) |
Mar
|
Apr
(8) |
May
(12) |
Jun
(7) |
Jul
(13) |
Aug
(12) |
Sep
(2) |
Oct
(14) |
Nov
(42) |
Dec
(14) |
2005 |
Jan
|
Feb
|
Mar
(20) |
Apr
(17) |
May
(9) |
Jun
|
Jul
(7) |
Aug
(3) |
Sep
(17) |
Oct
(14) |
Nov
(9) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
(13) |
Apr
(2) |
May
(46) |
Jun
(2) |
Jul
(20) |
Aug
(26) |
Sep
(31) |
Oct
(5) |
Nov
(9) |
Dec
(13) |
2007 |
Jan
(24) |
Feb
(22) |
Mar
(13) |
Apr
(25) |
May
(25) |
Jun
(9) |
Jul
(20) |
Aug
(9) |
Sep
(26) |
Oct
(3) |
Nov
(4) |
Dec
(3) |
2008 |
Jan
(92) |
Feb
(35) |
Mar
(39) |
Apr
(15) |
May
|
Jun
|
Jul
(18) |
Aug
(5) |
Sep
(5) |
Oct
(7) |
Nov
(10) |
Dec
(27) |
2009 |
Jan
(35) |
Feb
(34) |
Mar
(13) |
Apr
(9) |
May
(18) |
Jun
(9) |
Jul
(15) |
Aug
(13) |
Sep
(64) |
Oct
(7) |
Nov
(43) |
Dec
|
2010 |
Jan
(75) |
Feb
(22) |
Mar
(44) |
Apr
(34) |
May
(47) |
Jun
(77) |
Jul
(28) |
Aug
(7) |
Sep
(45) |
Oct
(1) |
Nov
(19) |
Dec
(7) |
2011 |
Jan
(14) |
Feb
|
Mar
(6) |
Apr
(12) |
May
(19) |
Jun
(3) |
Jul
(8) |
Aug
(4) |
Sep
(3) |
Oct
(21) |
Nov
(11) |
Dec
(4) |
2012 |
Jan
(2) |
Feb
(9) |
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
(5) |
Sep
(5) |
Oct
(1) |
Nov
(18) |
Dec
(2) |
2013 |
Jan
(15) |
Feb
(16) |
Mar
(8) |
Apr
(5) |
May
|
Jun
(1) |
Jul
(17) |
Aug
(3) |
Sep
(17) |
Oct
(43) |
Nov
(25) |
Dec
(9) |
2014 |
Jan
(4) |
Feb
(8) |
Mar
(20) |
Apr
(14) |
May
(49) |
Jun
(1) |
Jul
|
Aug
(18) |
Sep
(2) |
Oct
(1) |
Nov
(22) |
Dec
(3) |
2015 |
Jan
(41) |
Feb
(2) |
Mar
(34) |
Apr
(30) |
May
(14) |
Jun
(17) |
Jul
(29) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(7) |
Dec
(4) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
(4) |
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
(25) |
Oct
(9) |
Nov
(14) |
Dec
(13) |
2017 |
Jan
(11) |
Feb
(8) |
Mar
(12) |
Apr
(4) |
May
(25) |
Jun
(2) |
Jul
|
Aug
(5) |
Sep
(10) |
Oct
(25) |
Nov
|
Dec
(6) |
2018 |
Jan
(18) |
Feb
(6) |
Mar
(6) |
Apr
(1) |
May
(7) |
Jun
(13) |
Jul
(8) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(17) |
Dec
(3) |
2019 |
Jan
(11) |
Feb
(4) |
Mar
(13) |
Apr
(19) |
May
(1) |
Jun
(2) |
Jul
(8) |
Aug
(4) |
Sep
(32) |
Oct
(51) |
Nov
(1) |
Dec
(9) |
2020 |
Jan
(9) |
Feb
(6) |
Mar
|
Apr
|
May
(3) |
Jun
(2) |
Jul
(5) |
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(7) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
(3) |
Dec
|
2022 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Alan W. I. <ir...@be...> - 2013-10-30 17:33:43
|
On 2013-10-30 07:41-0000 Arjen Markus wrote: > Hi Alan, James, > >> -----Original Message----- >> From: Alan W. Irwin [mailto:ir...@be...] >> >> Of course, the important question s why we support two styles in that sed script? I >> am sure we did that deliberately with the motivation of wanting to support a wide >> range of Fortran compilers. In other words we were worried that some of them might >> complain about >> >> integer, parameter :: PL_FCI_SANS = z'0' >> > ... >> >> @Arjen: are we being too cautious here? I note from >> http://gcc.gnu.org/wiki/Fortran2003 that gfortran already has almost complete support >> for Fortran 2003 (and certainly the general BOZ support), and I wonder if other >> fortran compilers are typically also compliant with Fortran 2003, at least to the extent >> of general support for integer parameter style above for BOZ constants? >> > > I just checked the overview regularly provided by the ACS Fortran Forum about the > support for the features in the various standards by 11 different Fortran compilers and > binary, octal and hexadecimal constants have been supported for quite some time now > by these compilers. While I am not entirely sure this entry extends to the use in PARAMETER > statements, I think we can safely assume that this is the case. > > My suggestion therefore is that we adjust the code and use the "integer, parameter" form > exclusively. I have made (revision 12640) that change to the svn trunk version of PLplot (what will become the next release of PLplot). Thanks, Arjen, for your expert Fortran guidance about the best thing to do here. More on the PLplot devel list about other implications of this change. 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); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Arjen M. <Arj...@de...> - 2013-10-30 07:42:04
|
Hi Alan, James, > -----Original Message----- > From: Alan W. Irwin [mailto:ir...@be...] > > Of course, the important question s why we support two styles in that sed script? I > am sure we did that deliberately with the motivation of wanting to support a wide > range of Fortran compilers. In other words we were worried that some of them might > complain about > > integer, parameter :: PL_FCI_SANS = z'0' > ... > > @Arjen: are we being too cautious here? I note from > http://gcc.gnu.org/wiki/Fortran2003 that gfortran already has almost complete support > for Fortran 2003 (and certainly the general BOZ support), and I wonder if other > fortran compilers are typically also compliant with Fortran 2003, at least to the extent > of general support for integer parameter style above for BOZ constants? > I just checked the overview regularly provided by the ACS Fortran Forum about the support for the features in the various standards by 11 different Fortran compilers and binary, octal and hexadecimal constants have been supported for quite some time now by these compilers. While I am not entirely sure this entry extends to the use in PARAMETER statements, I think we can safely assume that this is the case. My suggestion therefore is that we adjust the code and use the "integer, parameter" form exclusively. Should some one come up and complain about this, we will of course have to consider that issue, but constants should be constants in my opinion. Regards, Arjen 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. |
From: Alan W. I. <ir...@be...> - 2013-10-30 00:22:32
|
On 2013-10-29 21:59-0000 James Tappin wrote: > It appears that in the Fortran 95 binding in 5.9.10, the font setting > constants (PL_FCI_SANS etc.) have become variables. In > bindings/f95/plplot_parameters.h we now have > > integer :: PL_FCI_SANS > data PL_FCI_SANS / z'0' / > in place of > > integer, parameter :: PL_FCI_SANS = z'0' > > Which cannot be used in a data initialization such as: > > integer, parameter, dimension(*) :: font_list = [PL_FCI_SANS, > PL_FCI_SERIF, & > & PL_FCI_MONO, PL_FCI_SCRIPT, PL_FCI_SYMBOL] > > Is there a good reason for this or is it a regression? bindings/f95/plplot_parameters.h is generated automatically by a sed script that has been deliberately designed to create two styles in the results. One of those styles is the data style that you don't like, and the other the parameter style you prefer. The script uses the data style for all hexadecimal (e.g., z'0') constants and the parameter style for all normal integers. What happened in the above change was that we changed to hexadecimal constants for all bit fields in our API. All such data are powers of two so the hexadecimal form is a lot easier to understand. Of course, the important question s why we support two styles in that sed script? I am sure we did that deliberately with the motivation of wanting to support a wide range of Fortran compilers. In other words we were worried that some of them might complain about integer, parameter :: PL_FCI_SANS = z'0' but the data form that we use now should work for all of them. The gfortran info documentation says something about this. <quote> Up to Fortran 95, BOZ literals [i.e., constants started with b', o', or z'] were only allowed to initialize integer variables in DATA statements. Since Fortran 2003 BOZ literals are also allowed as argument of REAL', DBLE', INT' and CMPLX'; the result is the same as if the integer BOZ literal had been converted by TRANSFER' to, respectively, real', double precision', integer' or complex'. As GNU Fortran extension the intrinsic procedures FLOAT', DFLOAT', COMPLEX' and DCMPLX' are treated alike. </quote> They then go on to say they support BOZ constants generally as an extension to the Fortran standards prior to Fortran 2003. So I assume the above statement would work with gfortran, but because of the uncertainty about whether it would work with other fortran compilers we went with the conservative approach of sticking with the data style for BOZ constants. @Arjen: are we being too cautious here? I note from http://gcc.gnu.org/wiki/Fortran2003 that gfortran already has almost complete support for Fortran 2003 (and certainly the general BOZ support), and I wonder if other fortran compilers are typically also compliant with Fortran 2003, at least to the extent of general support for integer parameter style above for BOZ constants? 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); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: James T. <jt...@gm...> - 2013-10-29 21:59:27
|
It appears that in the Fortran 95 binding in 5.9.10, the font setting constants (PL_FCI_SANS etc.) have become variables. In bindings/f95/plplot_parameters.h we now have integer :: PL_FCI_SANS data PL_FCI_SANS / z'0' / in place of integer, parameter :: PL_FCI_SANS = z'0' Which cannot be used in a data initialization such as: integer, parameter, dimension(*) :: font_list = [PL_FCI_SANS, PL_FCI_SERIF, & & PL_FCI_MONO, PL_FCI_SCRIPT, PL_FCI_SYMBOL] Is there a good reason for this or is it a regression? James |
From: Arjen M. <Arj...@de...> - 2013-10-23 09:16:10
|
Hi Hubin, congratulations, that is good to hear! Of course we are all quite prepared to help out and the project could definitely use a simple tutorial :). Us developers focus so much on the build aspects, that we often do not pay attention to the aspects of simply learning to use it. The Wiki may be a good place to put it once it is in a decent shape. Regards, Arjen From: hubin [mailto:fly...@ou...] Sent: Wednesday, October 23, 2013 11:08 AM To: Arjen Markus; plp...@li... Subject: RE: plInitDispatchTable error in my own project 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 plplot in windows;if i do that ;may i ask your help if i do need ?thank you again regards; 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. |
From: hubin <fly...@ou...> - 2013-10-23 09:08:02
|
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; |
From: Arjen M. <Arj...@de...> - 2013-10-21 10:48:22
|
Hi Hubin, this is due to your program not being located in the build tree. PLplot uses a fixed directory structure to locate the drivers, but you can influence that via the environment variable PLPLOT_DRV_DIR. Set it to the directory containing the driver info files (*.info). Regards, Arjen From: hubin [mailto:fly...@ou...] Sent: Sunday, October 20, 2013 6:53 PM To: Arjen Markus; plp...@li... Subject: plInitDispatchTable error in my own project 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 own app directory,and i copy "drive.h","plcdemos.h","plconfig.h","pldevs.h","pldll.h","plhershey-unicode.h","plplot.h" into my app directory.Then i add all "lib" files in my VS project; 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. |
From: Alan W. I. <ir...@be...> - 2013-10-20 18:14:02
|
On 2013-10-20 10:17-0000 hubin wrote: > 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 error with"..... examples\c\x18c.c line 82(I use notepad++ open it ),the fourth parameter "." is error,I think because I come from china ,so the character"." show error in my PC when i open it with notepad++,the character"." turn into "口",I edit it to ".", so it's build fine,work fine; > the second error is x24c.c,it's a word "peace" use different language; in my PC,I can't see some language "peace ";they just show"口" ;because i use windows;so i change the code char * peace[]->wchar_t *peace[];and i use API WideCharToMultiByte change UNICODE to Utf-8,So it build fine ,but work error, It can't show non-English character; > the third error is "x33c.c",you define some "special_symbols",It's wrong when nmake build ; > I got a warning and a error with each of the three ".c" files in nmake ,the warning is c4819 and the error is c2001I find if I open ".c" files and save them with "Unicode",Then all three files build fine.but just get a warning c4566;Then i find ".cc" files is same as the ".c",Now ,How do you think about it?and I want to know why don't use Unicode to replace of ASCII,Unicode have big bugs? Hi Fly: I am glad to hear you have been making good progress with Arjen's help. But I thought I would jump in here with an answer to your unicode questions. PLplot's design is that _all_ strings in our API are interpreted as the UTF-8 encoding of unicode when we translate those results into our internal representation of unicode. We chose the UTF-8 encoding over all the other encoding alternatives for the strings in our API because UTF-8 has a huge advantage over the others; ordinary ascii characters are a subset. So such strings can contain just single-byte ascii characters or a mixture of those and multi-byte UTF-8 characters to give complete access to all of unicode. So adjust your unicode encoding to UTF-8 for all strings you use for PLplot, and all our code should just build without issues. Also, you should note that most of our standard examples just use the ascii subset of UTF-8. And example 23 demonstrates you can work exclusively in ascii if you are willing to input a lot of numerical escape codes. But ultimately that is a rather clumsy approach to get access to unicode so some of our examples (18, 24, 26, and 33) are written to take advantage of the multi-byte subset of UTF-8. I notice it is those examples where you are having trouble. For them, you should not change anything other than to convince Windows that the encoding is UTF-8, and then all builds of all our libraries, devices, and examples should proceed smoothly with no changes in the code required. Once, everything has been built properly, then the further question is which of our device drivers can properly use our unicode technology. The answer is only our modern unicode-aware device drivers (svg, psttf, cairo, qt, and wxwidgets) can render the results correctly for examples 18, 23, 24, 26, and 33 with appropriate system font glyphs. (The wxwidgets device has some unicode limitations we are currently trying to overcome, but the rest are fine.) Note that all the unicode-aware devices other than svg requre certain external libraries be installed. (The psttf device driver requires the libLASi, Pango, and Cairo external libraries; the cairo device driver requires the Pango and Cairo external libraries; the qt device driver requires the Qt4 external libraries, and the wxwidgets device requires the external wxwidgets library.) Those libraries are readily available on Linux and Mac OS X, but can be an issue on Windows. One excellent option to get access to a lot of this unicode PLplot functionality on Windows is to use Cygwin since that distribution of software does contain the Pango, Cairo, and Qt4 external libraries required by our cairo and qt device drivers, which are our two best unicode-aware device drivers with many different devices to use. Arjen has recently tested that platform in detail, and largely gotten good results with it. See his recent comments in our Wiki. However, if you prefer not to install Cygwin on Windows, and still want access to the unicode part of PLplot (i.e., be able to use the functionality that is presented for examples 18, 23, 24, 26, and 33) then one good choice is the svg device which does not depend on any external library. However, for that case you will need good svg viewing software (e.g., the firefox browser) to view the svg results. Another possibility is to build libLASi, Pango, Cairo, Qt4, and/or the external wxwidgets library yourself. Normally, that is difficult, but I am working on a project (see cmake/build_projects) whose long-term goal is to make such builds convenient on all platforms. The build_projects project is not ready at the moment but watch this space for future announcements concerning it. A final Windows possibility, of course, is simply to stick with the ascii subset of UTF-8 and ignore the additional PLplot string capabilities that are demonstrated by examples 18, 23, 24, 26, and 33. But in my opinion that is a defeatist attitude, and I would advise instead to (1) look carefully at the svg device results for those examples with the firefox browser or some other good svg viewer to see what you are missing, (2) install Cygwin to take advantage of the many unicode-aware cairo and qt devices, or (3) in the long-term wait for a convenient building solution from build_projects for all the external libraries that are required by our unicode-aware devices. 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); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: hubin <fly...@ou...> - 2013-10-20 16:53:33
|
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 own app directory,and i copy "drive.h","plcdemos.h","plconfig.h","pldevs.h","pldll.h","plhershey-unicode.h","plplot.h" into my app directory.Then i add all "lib" files in my VS project; |
From: hubin <fly...@ou...> - 2013-10-20 10:17:32
|
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 error with"..... examples\c\x18c.c line 82(I use notepad++ open it ),the fourth parameter "." is error,I think because I come from china ,so the character"." show error in my PC when i open it with notepad++,the character"." turn into "口",I edit it to ".", so it's build fine,work fine; the second error is x24c.c,it's a word "peace" use different language; in my PC,I can't see some language "peace ";they just show"口" ;because i use windows;so i change the code char * peace[]->wchar_t *peace[];and i use API WideCharToMultiByte change UNICODE to Utf-8,So it build fine ,but work error, It can't show non-English character; the third error is "x33c.c",you define some "special_symbols",It's wrong when nmake build ; I got a warning and a error with each of the three ".c" files in nmake ,the warning is c4819 and the error is c2001I find if I open ".c" files and save them with "Unicode",Then all three files build fine.but just get a warning c4566;Then i find ".cc" files is same as the ".c",Now ,How do you think about it?and I want to know why don't use Unicode to replace of ASCII,Unicode have big bugs? |
From: Arjen M. <Arj...@de...> - 2013-10-19 19:25:20
|
Hi Fly, could you try again WITHOUT the option -DLIB_TAG=sud I have tested VS 2010 and while some strange things do occur, they did not interfer with the build process, (One thing: I did set the number of threads in the build to 1 - Tools/Options/Projects and Solution/Build and Run - having bad experiences with parallel builds before) An alternative is to use the “Nmake Makefile” generator together with nmake. Regards, Arjen From: hubin [mailto:fly...@ou...] Sent: Friday, October 18, 2013 5:11 PM To: Arjen Markus; plp...@li... Subject: RE: [Plplot-general] cmake bulid for .sln error 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_release just you show in wiki,i think i got the right .sln I build in vs2010 again I Find the error "can't open file..\..\src\release\plplotsudd.lib "again. 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. |
From: Arjen M. <Arj...@de...> - 2013-10-18 15:16:29
|
Hi Fly, I will have to have a closer look at this. Hopefully this weekend. Regards, Arjen From: hubin [mailto:fly...@ou...] Sent: Friday, October 18, 2013 5:11 PM To: Arjen Markus; plp...@li... Subject: RE: [Plplot-general] cmake bulid for .sln error 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_release just you show in wiki,i think i got the right .sln I build in vs2010 again I Find the error "can't open file..\..\src\release\plplotsudd.lib "again. 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. |
From: hubin <fly...@ou...> - 2013-10-18 15:10:52
|
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 build in vs2010 againI Find the error "can't open file..\..\src\release\plplotsudd.lib "again. |
From: Arjen M. <Arj...@de...> - 2013-10-18 14:03:39
|
Hi Fly, it looks to me you forgot a space in the command line. Now the configuration that was created is "Debug-DBUILD_SHARED_LIBS=OFF'. And that would lead to a subdirectory of that name. Add a space in the command-line just before -DBUILD_SHARED_LIBS=OFF and try again. Regards, Arjen From: hubin [mailto:fly...@ou...] Sent: Friday, October 18, 2013 4:00 PM To: Arjen Markus; plp...@li... Subject: RE: [Plplot-general] cmake bulid for .sln error 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";you know i edit the command line twice,Then I got the .sln;you say you are also shocked by the fact,so I think I got the wrong .sln;Any idea? Regards 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. |
From: hubin <fly...@ou...> - 2013-10-18 14:00:35
|
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";you know i edit the command line twice,Then I got the .sln;you say you are also shocked by the fact,so I think I got the wrong .sln;Any idea?Regards |
From: Arjen M. <Arj...@de...> - 2013-10-18 06:32:57
|
Hi Fly, well, good to hear that. I have not had a chance to check this myself yet, but it does sound promising. I will adapt the Wiki page today. Regards, Arjen From: hubin [mailto:fly...@ou...] Sent: Thursday, October 17, 2013 4:36 PM To: Arjen Markus; plp...@li... Subject: RE: [Plplot-general] cmake bulid for .sln error When you check all works fine with VS2010;please add into wiki; I will complete the compilation just like you do in your tutorial in wiki; it's time for sleep;See you tomorrow; Regards; Fly ________________________________ From: Arj...@de...<mailto:Arj...@de...> To: fly...@ou...<mailto:fly...@ou...> Subject: RE: [Plplot-general] cmake bulid for .sln error Date: Thu, 17 Oct 2013 12:35:43 +0000 Hi Hubin, (off list) Yes, I agree - 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:fly...@ou...]<mailto:[mailto:fly...@ou...]> Sent: Thursday, October 17, 2013 2:29 PM To: Arjen Markus; plp...@li...<mailto:plp...@li...> Subject: RE: [Plplot-general] cmake bulid for .sln error 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 cmake show error,people will feel confused,so we should add notes "if you use VS2010 or later,you should use "-G VS 10 "rather than "-G VS 10 2010" 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. 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. |
From: hubin <fly...@ou...> - 2013-10-18 04:37:18
|
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,The beautiful mathematics graph attract me;and I can't wait to show it in my windows PC;Regards |
From: Ferrell, S. <sfe...@ya...> - 2013-10-17 21:13:55
|
I think I may have found your problem. Remove the check mark for ENABLE_DYNDRIVERS and re-build. If that doesn't work then JPEG must be dependent on the wxWidgets. You shouldn't have to delete the source directory. I normally clear out the build folder though before generating a new VS solution to avoid any issues with VS and CMAKE in regard to left over files that my might cause problems from a previous build. Much of this pain could be avoided if the plplot maintainers would host binary images of the libraries for Windows and Linux. This has been brought up in the past without any results. You're welcome to my libraries if you think they will help. Currently my libs are built for static linking under VS2008 but I can kick out the DLLs too if you want them. They should work under VS2010 as well. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 3:41 PM Subject: Re: [Plplot-general] Device selection problems PLD_wingcc gets de-selected just like PLD_jpeg when I hit configure. In fact, the same is true for most PLD options. The ones checked by default stay, but only one or two I've tried actually stay once I hit configure. By the way, there is no reason why I would have to delete everything and start over for this to work, is there? I've been doing it every time I try something new, but it's getting a bit old. -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Thursday, October 17, 2013 4:34 PM To: Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Well, you're making progress. But it is odd that jpeg still isn't showing up as an option. When CMAKE unchecks a box of its own accord, it means there's a dependency that isn't being met. I have a sneaky suspicion that this is happening because you haven't included a video driver in your build which is preventing the jpeg driver from being selected and built. Add the PLD_wingcc driver to you build as well as PLD_jpeg and see what happens. The PLD_wingcc driver is the Windows display driver coded for GCC but it compiles and works just fine under Visual Studio as well. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 2:47 PM Subject: Re: [Plplot-general] Device selection problems Ok, I did exactly that, but jpeg (or any options, for that matter) is still not showing up in my program. I ran PLplot's example x00, and it seems to be working fine with the exception that jpeg is not showing up as an option. When I run x00, this is the output: Plotting Options: < 1> ps PostScript File (monochrome) < 2> psc PostScript File (color) < 3> xfig Fig file < 4> null Null device < 5> mem User-supplied memory device < 6> svg Scalable Vector Graphics (SVG 1.1) Enter device number or keyword (stream 1): Why is jpeg not showing up? There were no red lines, and I configured with the PLD_jpeg, BUILD_TEST, and BUILD_TESTING boxes checked. Strangely, whenever I have PLD_jpeg checked and hit Configure it gets un-checked. I tried hitting Generate after it was unchecked by Configure then running the program as well as simply checking it, hitting Generate, and running the program. Both yield the same results. Sorry for being such a pain. I just can't figure this out. -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Thursday, October 17, 2013 3:16 PM To: Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Yes, I'm referring to the upper window. After running CMAKE, all options in the upper windows will show red until you hit the Configure button. You may or may not have to point it to the correct compiler again on your system. If it asks again, just select the proper compiler and hit Configure again. You should see most of the red lines disappear at this point. Press Configure again, if there are any other items still listed in red in the upper window, deselect them if they are for an API/SDK that you don't use, such as wxWdigets or QT, and hit Configure again. Keep doing that until all the red items in the upper windows are gone and you're left with nothing but white. Then make sure you've placed a check mark in PLD_jpeg and any other output formats that you want, such as SVG or TIFF and hit Configure again. At this point, if there are no more red items to deal with, hit the Generate button to create the VS solution and then load and run the solution in VS. I always make sure to place a check in the BUILD_TEST and BUILD_TESTING boxs so that the examples get compiled and linked too. That way I can quickly test an example exe and validate that everything is working as selected under CMAKE. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 12:27 PM Subject: Re: [Plplot-general] Device selection problems I'm still a bit confused. Your instructions are very clear, but in my CMake window, EVERY line is red. First, a clarification: You are talking about the upper window with all the options, not the lower output window, correct? Both have red items. Immediately after my step 4 (once the files are generated) every single option line is red. Obviously it would be pointless to go through and de-select everything, and I highly doubt that my computer lacks support for every part of PLplot. I've attached a screenshot as well as the complete output, if you think it will help. -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Thursday, October 17, 2013 11:57 AM To: Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Do not select the PLD_jpgqt driver unless you have the QT SDK installed and plan to use QT to develop for plplot. Same goes for FreeType, antigrain, wxWidgets, and a few other libraries. If you don't have these libraries, do not select them. You are also missing a couple steps in your list. Step 5a) Look for any items marked in red in the CMAKE window. If any items are marked in red, it means that you are either missing some components needed for the build you've selected, such as wxWidgets, QT, FreeType, etc..or that you've chosen some build options that conflict with one another. Step 5b) Resolve the options in red by either adding missing libraries and their respective paths and pressing configure again. Or resolve them by removing check marks for conflicting build options and pressing configure. Continue 5a and 5b until all the red lines are gone. Set 5c) After you've performed steps 5a and 5b and there are no more red items, then click Generate, allow CMAKE to create the new VS solution file and then open it in VS and run it per Step 7. After running the "build_all solution", you won't see anything special and the jpeg driver will be added to the plplot DLL or the static plplot link-time lib file. Once your examples are properly compiled and linked, the driver is embedded in the exe itself, so you won't see a separate or discrete jpeg driver-file or any other type of driver file. Upon running your exe, if everything worked properly, you should see "jpeg" listed as an output option when you run the example. Below is a text grab of Example X01c from my system set to use postscript, wxWidgets, SVG and DXF driver output. Your examples, based on selecting PLD_jpeg should show at least the jpeg file driver if the build went properly. c:\build-plplot\examples\c\release\x01c.exe [Enter] PLplot library version: 5.9.10 Plotting Options: < 1> ps PostScript File (monochrome) < 2> psc PostScript File (color) < 3> wxwidgets wxWidgets DC < 4> svg Scalable Vector Graphics (SVG 1.1) < 5> dxf AutoCAD 2D DXF File Enter device number or keyword: Hope this helps. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 9:29 AM Subject: Re: [Plplot-general] Device selection problems I tried, but it doesn't seem to be working. Here's what I did: 1. Open CMake 2.8.11.2 GUI. 2. Select source and build directories (source is freshly updated from PLPlot's SVN trunk). 3. Click "Configure." 4. Select "Microsoft Visual Studio 11" from the drop-down tab, then hit Ok. 5. Once CMake generates the files, scroll down to PLD_jpeg and check its box (as well as PLD_jpgqt for good measure). 6. Click "Generate." 7. Go to the build directory, open plplot.sln, right-click "ALL_BUILD" and tell it to build. After I did that, I searched the file for "jpg." The only things that showed up were cmake files, which aren't what I'm looking for, correct? I also did a search for "driver" and none of them had to do with jpegs, from what I could tell. I looked in the lib, dll, and driver folders and didn't see anything mentioned jpegs either. I also tried running my program again and got the same error as before. What am I doing wrong? -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Wednesday, October 16, 2013 5:53 PM To: Ferrell, Stephen; Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Oh, and when you used CMAKE to initiate the building of plplot, did you make sure that you put checkmark in the box for PLD_jpeg? That tells CMAKE to add JPEG drivers to your lib/dll. ________________________________ From: "Ferrell, Stephen" <sfe...@ya...> To: "Lampman, Adam J" <ajl...@ba...>; "plp...@li..." <plp...@li...> Sent: Wednesday, October 16, 2013 4:38 PM Subject: Re: [Plplot-general] Device selection problems The initial 3 errors are due to your program looking for color palette files that it requires and not finding them. They're located under the plplot\bindings\tk\ folder of the plplot source tree. There are also a number of palette files located in the plplot\data\ Copy the palette files to the folder where your exe is located and run it again. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Wednesday, October 16, 2013 3:00 PM Subject: [Plplot-general] Device selection problems Hi! I’m completely new to PLplot. I’ve been trying to get it working for a while now, but I keep having problems with it. My goal is to use it to create plots in jpeg format. I’m not looking for interactive plots, a user interface, command line args, or anything fancy. I’m using Microsoft Visual Studio 2012 and I’m writing the code in C++. I’ve copied the x00 C++ example from the PLplot Examples page (nearly) word for word, and this is the output I get: *** PLPLOT WARNING *** Unable to open cmap0 file cmap0_default.pal *** PLPLOT WARNING *** Unable to open cmap0 file cmap0_default.pal *** PLPLOT WARNING *** Unable to open cmap1 .pal file cmap1_default.pal *** PLPLOT ERROR, ABORTING OPERATION *** plInitDispatchTable: Could not open drivers directory, aborting operation Plotting Options: Enter device number or keyword (stream 1): According to the documentation I’ve seen, it should be listing output options for me. Of course, the fact it can’t find the drivers directory may have something to do with that. I’ve tried putting in “JPEG” and many other keywords I’ve seen ,but nothing works. What do I need to do to get this to output jpegs? Do I need some sort of special jpeg driver? Thanks! Adam Lampman ajl...@ba... ________________________________ This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you. ------------------------------------------------------------------------------ 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 <http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk> <http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk> _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general <https://lists.sourceforge.net/lists/listinfo/plplot-general> <https://lists.sourceforge.net/lists/listinfo/plplot-general> ------------------------------------------------------------------------------ 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 <http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk> <http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk> _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general <https://lists.sourceforge.net/lists/listinfo/plplot-general> <https://lists.sourceforge.net/lists/listinfo/plplot-general> ----------------------------------------- This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you. ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general |
From: Lampman, A. J <ajl...@ba...> - 2013-10-17 20:41:23
|
PLD_wingcc gets de-selected just like PLD_jpeg when I hit configure. In fact, the same is true for most PLD options. The ones checked by default stay, but only one or two I've tried actually stay once I hit configure. By the way, there is no reason why I would have to delete everything and start over for this to work, is there? I've been doing it every time I try something new, but it's getting a bit old. -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Thursday, October 17, 2013 4:34 PM To: Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Well, you're making progress. But it is odd that jpeg still isn't showing up as an option. When CMAKE unchecks a box of its own accord, it means there's a dependency that isn't being met. I have a sneaky suspicion that this is happening because you haven't included a video driver in your build which is preventing the jpeg driver from being selected and built. Add the PLD_wingcc driver to you build as well as PLD_jpeg and see what happens. The PLD_wingcc driver is the Windows display driver coded for GCC but it compiles and works just fine under Visual Studio as well. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 2:47 PM Subject: Re: [Plplot-general] Device selection problems Ok, I did exactly that, but jpeg (or any options, for that matter) is still not showing up in my program. I ran PLplot's example x00, and it seems to be working fine with the exception that jpeg is not showing up as an option. When I run x00, this is the output: Plotting Options: < 1> ps PostScript File (monochrome) < 2> psc PostScript File (color) < 3> xfig Fig file < 4> null Null device < 5> mem User-supplied memory device < 6> svg Scalable Vector Graphics (SVG 1.1) Enter device number or keyword (stream 1): Why is jpeg not showing up? There were no red lines, and I configured with the PLD_jpeg, BUILD_TEST, and BUILD_TESTING boxes checked. Strangely, whenever I have PLD_jpeg checked and hit Configure it gets un-checked. I tried hitting Generate after it was unchecked by Configure then running the program as well as simply checking it, hitting Generate, and running the program. Both yield the same results. Sorry for being such a pain. I just can't figure this out. -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Thursday, October 17, 2013 3:16 PM To: Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Yes, I'm referring to the upper window. After running CMAKE, all options in the upper windows will show red until you hit the Configure button. You may or may not have to point it to the correct compiler again on your system. If it asks again, just select the proper compiler and hit Configure again. You should see most of the red lines disappear at this point. Press Configure again, if there are any other items still listed in red in the upper window, deselect them if they are for an API/SDK that you don't use, such as wxWdigets or QT, and hit Configure again. Keep doing that until all the red items in the upper windows are gone and you're left with nothing but white. Then make sure you've placed a check mark in PLD_jpeg and any other output formats that you want, such as SVG or TIFF and hit Configure again. At this point, if there are no more red items to deal with, hit the Generate button to create the VS solution and then load and run the solution in VS. I always make sure to place a check in the BUILD_TEST and BUILD_TESTING boxs so that the examples get compiled and linked too. That way I can quickly test an example exe and validate that everything is working as selected under CMAKE. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 12:27 PM Subject: Re: [Plplot-general] Device selection problems I'm still a bit confused. Your instructions are very clear, but in my CMake window, EVERY line is red. First, a clarification: You are talking about the upper window with all the options, not the lower output window, correct? Both have red items. Immediately after my step 4 (once the files are generated) every single option line is red. Obviously it would be pointless to go through and de-select everything, and I highly doubt that my computer lacks support for every part of PLplot. I've attached a screenshot as well as the complete output, if you think it will help. -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Thursday, October 17, 2013 11:57 AM To: Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Do not select the PLD_jpgqt driver unless you have the QT SDK installed and plan to use QT to develop for plplot. Same goes for FreeType, antigrain, wxWidgets, and a few other libraries. If you don't have these libraries, do not select them. You are also missing a couple steps in your list. Step 5a) Look for any items marked in red in the CMAKE window. If any items are marked in red, it means that you are either missing some components needed for the build you've selected, such as wxWidgets, QT, FreeType, etc..or that you've chosen some build options that conflict with one another. Step 5b) Resolve the options in red by either adding missing libraries and their respective paths and pressing configure again. Or resolve them by removing check marks for conflicting build options and pressing configure. Continue 5a and 5b until all the red lines are gone. Set 5c) After you've performed steps 5a and 5b and there are no more red items, then click Generate, allow CMAKE to create the new VS solution file and then open it in VS and run it per Step 7. After running the "build_all solution", you won't see anything special and the jpeg driver will be added to the plplot DLL or the static plplot link-time lib file. Once your examples are properly compiled and linked, the driver is embedded in the exe itself, so you won't see a separate or discrete jpeg driver-file or any other type of driver file. Upon running your exe, if everything worked properly, you should see "jpeg" listed as an output option when you run the example. Below is a text grab of Example X01c from my system set to use postscript, wxWidgets, SVG and DXF driver output. Your examples, based on selecting PLD_jpeg should show at least the jpeg file driver if the build went properly. c:\build-plplot\examples\c\release\x01c.exe [Enter] PLplot library version: 5.9.10 Plotting Options: < 1> ps PostScript File (monochrome) < 2> psc PostScript File (color) < 3> wxwidgets wxWidgets DC < 4> svg Scalable Vector Graphics (SVG 1.1) < 5> dxf AutoCAD 2D DXF File Enter device number or keyword: Hope this helps. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 9:29 AM Subject: Re: [Plplot-general] Device selection problems I tried, but it doesn't seem to be working. Here's what I did: 1. Open CMake 2.8.11.2 GUI. 2. Select source and build directories (source is freshly updated from PLPlot's SVN trunk). 3. Click "Configure." 4. Select "Microsoft Visual Studio 11" from the drop-down tab, then hit Ok. 5. Once CMake generates the files, scroll down to PLD_jpeg and check its box (as well as PLD_jpgqt for good measure). 6. Click "Generate." 7. Go to the build directory, open plplot.sln, right-click "ALL_BUILD" and tell it to build. After I did that, I searched the file for "jpg." The only things that showed up were cmake files, which aren't what I'm looking for, correct? I also did a search for "driver" and none of them had to do with jpegs, from what I could tell. I looked in the lib, dll, and driver folders and didn't see anything mentioned jpegs either. I also tried running my program again and got the same error as before. What am I doing wrong? -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Wednesday, October 16, 2013 5:53 PM To: Ferrell, Stephen; Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Oh, and when you used CMAKE to initiate the building of plplot, did you make sure that you put checkmark in the box for PLD_jpeg? That tells CMAKE to add JPEG drivers to your lib/dll. ________________________________ From: "Ferrell, Stephen" <sfe...@ya...> To: "Lampman, Adam J" <ajl...@ba...>; "plp...@li..." <plp...@li...> Sent: Wednesday, October 16, 2013 4:38 PM Subject: Re: [Plplot-general] Device selection problems The initial 3 errors are due to your program looking for color palette files that it requires and not finding them. They're located under the plplot\bindings\tk\ folder of the plplot source tree. There are also a number of palette files located in the plplot\data\ Copy the palette files to the folder where your exe is located and run it again. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Wednesday, October 16, 2013 3:00 PM Subject: [Plplot-general] Device selection problems Hi! I’m completely new to PLplot. I’ve been trying to get it working for a while now, but I keep having problems with it. My goal is to use it to create plots in jpeg format. I’m not looking for interactive plots, a user interface, command line args, or anything fancy. I’m using Microsoft Visual Studio 2012 and I’m writing the code in C++. I’ve copied the x00 C++ example from the PLplot Examples page (nearly) word for word, and this is the output I get: *** PLPLOT WARNING *** Unable to open cmap0 file cmap0_default.pal *** PLPLOT WARNING *** Unable to open cmap0 file cmap0_default.pal *** PLPLOT WARNING *** Unable to open cmap1 .pal file cmap1_default.pal *** PLPLOT ERROR, ABORTING OPERATION *** plInitDispatchTable: Could not open drivers directory, aborting operation Plotting Options: Enter device number or keyword (stream 1): According to the documentation I’ve seen, it should be listing output options for me. Of course, the fact it can’t find the drivers directory may have something to do with that. I’ve tried putting in “JPEG” and many other keywords I’ve seen ,but nothing works. What do I need to do to get this to output jpegs? Do I need some sort of special jpeg driver? Thanks! Adam Lampman ajl...@ba... ________________________________ This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you. ------------------------------------------------------------------------------ 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 <http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk> <http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk> _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general <https://lists.sourceforge.net/lists/listinfo/plplot-general> <https://lists.sourceforge.net/lists/listinfo/plplot-general> ------------------------------------------------------------------------------ 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 <http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk> <http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk> _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general <https://lists.sourceforge.net/lists/listinfo/plplot-general> <https://lists.sourceforge.net/lists/listinfo/plplot-general> ----------------------------------------- This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you. ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general |
From: Ferrell, S. <sfe...@ya...> - 2013-10-17 20:34:01
|
Well, you're making progress. But it is odd that jpeg still isn't showing up as an option. When CMAKE unchecks a box of its own accord, it means there's a dependency that isn't being met. I have a sneaky suspicion that this is happening because you haven't included a video driver in your build which is preventing the jpeg driver from being selected and built. Add the PLD_wingcc driver to you build as well as PLD_jpeg and see what happens. The PLD_wingcc driver is the Windows display driver coded for GCC but it compiles and works just fine under Visual Studio as well. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 2:47 PM Subject: Re: [Plplot-general] Device selection problems Ok, I did exactly that, but jpeg (or any options, for that matter) is still not showing up in my program. I ran PLplot's example x00, and it seems to be working fine with the exception that jpeg is not showing up as an option. When I run x00, this is the output: Plotting Options: < 1> ps PostScript File (monochrome) < 2> psc PostScript File (color) < 3> xfig Fig file < 4> null Null device < 5> mem User-supplied memory device < 6> svg Scalable Vector Graphics (SVG 1.1) Enter device number or keyword (stream 1): Why is jpeg not showing up? There were no red lines, and I configured with the PLD_jpeg, BUILD_TEST, and BUILD_TESTING boxes checked. Strangely, whenever I have PLD_jpeg checked and hit Configure it gets un-checked. I tried hitting Generate after it was unchecked by Configure then running the program as well as simply checking it, hitting Generate, and running the program. Both yield the same results. Sorry for being such a pain. I just can't figure this out. -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Thursday, October 17, 2013 3:16 PM To: Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Yes, I'm referring to the upper window. After running CMAKE, all options in the upper windows will show red until you hit the Configure button. You may or may not have to point it to the correct compiler again on your system. If it asks again, just select the proper compiler and hit Configure again. You should see most of the red lines disappear at this point. Press Configure again, if there are any other items still listed in red in the upper window, deselect them if they are for an API/SDK that you don't use, such as wxWdigets or QT, and hit Configure again. Keep doing that until all the red items in the upper windows are gone and you're left with nothing but white. Then make sure you've placed a check mark in PLD_jpeg and any other output formats that you want, such as SVG or TIFF and hit Configure again. At this point, if there are no more red items to deal with, hit the Generate button to create the VS solution and then load and run the solution in VS. I always make sure to place a check in the BUILD_TEST and BUILD_TESTING boxs so that the examples get compiled and linked too. That way I can quickly test an example exe and validate that everything is working as selected under CMAKE. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 12:27 PM Subject: Re: [Plplot-general] Device selection problems I'm still a bit confused. Your instructions are very clear, but in my CMake window, EVERY line is red. First, a clarification: You are talking about the upper window with all the options, not the lower output window, correct? Both have red items. Immediately after my step 4 (once the files are generated) every single option line is red. Obviously it would be pointless to go through and de-select everything, and I highly doubt that my computer lacks support for every part of PLplot. I've attached a screenshot as well as the complete output, if you think it will help. -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Thursday, October 17, 2013 11:57 AM To: Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Do not select the PLD_jpgqt driver unless you have the QT SDK installed and plan to use QT to develop for plplot. Same goes for FreeType, antigrain, wxWidgets, and a few other libraries. If you don't have these libraries, do not select them. You are also missing a couple steps in your list. Step 5a) Look for any items marked in red in the CMAKE window. If any items are marked in red, it means that you are either missing some components needed for the build you've selected, such as wxWidgets, QT, FreeType, etc..or that you've chosen some build options that conflict with one another. Step 5b) Resolve the options in red by either adding missing libraries and their respective paths and pressing configure again. Or resolve them by removing check marks for conflicting build options and pressing configure. Continue 5a and 5b until all the red lines are gone. Set 5c) After you've performed steps 5a and 5b and there are no more red items, then click Generate, allow CMAKE to create the new VS solution file and then open it in VS and run it per Step 7. After running the "build_all solution", you won't see anything special and the jpeg driver will be added to the plplot DLL or the static plplot link-time lib file. Once your examples are properly compiled and linked, the driver is embedded in the exe itself, so you won't see a separate or discrete jpeg driver-file or any other type of driver file. Upon running your exe, if everything worked properly, you should see "jpeg" listed as an output option when you run the example. Below is a text grab of Example X01c from my system set to use postscript, wxWidgets, SVG and DXF driver output. Your examples, based on selecting PLD_jpeg should show at least the jpeg file driver if the build went properly. c:\build-plplot\examples\c\release\x01c.exe [Enter] PLplot library version: 5.9.10 Plotting Options: < 1> ps PostScript File (monochrome) < 2> psc PostScript File (color) < 3> wxwidgets wxWidgets DC < 4> svg Scalable Vector Graphics (SVG 1.1) < 5> dxf AutoCAD 2D DXF File Enter device number or keyword: Hope this helps. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 9:29 AM Subject: Re: [Plplot-general] Device selection problems I tried, but it doesn't seem to be working. Here's what I did: 1. Open CMake 2.8.11.2 GUI. 2. Select source and build directories (source is freshly updated from PLPlot's SVN trunk). 3. Click "Configure." 4. Select "Microsoft Visual Studio 11" from the drop-down tab, then hit Ok. 5. Once CMake generates the files, scroll down to PLD_jpeg and check its box (as well as PLD_jpgqt for good measure). 6. Click "Generate." 7. Go to the build directory, open plplot.sln, right-click "ALL_BUILD" and tell it to build. After I did that, I searched the file for "jpg." The only things that showed up were cmake files, which aren't what I'm looking for, correct? I also did a search for "driver" and none of them had to do with jpegs, from what I could tell. I looked in the lib, dll, and driver folders and didn't see anything mentioned jpegs either. I also tried running my program again and got the same error as before. What am I doing wrong? -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Wednesday, October 16, 2013 5:53 PM To: Ferrell, Stephen; Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Oh, and when you used CMAKE to initiate the building of plplot, did you make sure that you put checkmark in the box for PLD_jpeg? That tells CMAKE to add JPEG drivers to your lib/dll. ________________________________ From: "Ferrell, Stephen" <sfe...@ya...> To: "Lampman, Adam J" <ajl...@ba...>; "plp...@li..." <plp...@li...> Sent: Wednesday, October 16, 2013 4:38 PM Subject: Re: [Plplot-general] Device selection problems The initial 3 errors are due to your program looking for color palette files that it requires and not finding them. They're located under the plplot\bindings\tk\ folder of the plplot source tree. There are also a number of palette files located in the plplot\data\ Copy the palette files to the folder where your exe is located and run it again. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Wednesday, October 16, 2013 3:00 PM Subject: [Plplot-general] Device selection problems Hi! I’m completely new to PLplot. I’ve been trying to get it working for a while now, but I keep having problems with it. My goal is to use it to create plots in jpeg format. I’m not looking for interactive plots, a user interface, command line args, or anything fancy. I’m using Microsoft Visual Studio 2012 and I’m writing the code in C++. I’ve copied the x00 C++ example from the PLplot Examples page (nearly) word for word, and this is the output I get: *** PLPLOT WARNING *** Unable to open cmap0 file cmap0_default.pal *** PLPLOT WARNING *** Unable to open cmap0 file cmap0_default.pal *** PLPLOT WARNING *** Unable to open cmap1 .pal file cmap1_default.pal *** PLPLOT ERROR, ABORTING OPERATION *** plInitDispatchTable: Could not open drivers directory, aborting operation Plotting Options: Enter device number or keyword (stream 1): According to the documentation I’ve seen, it should be listing output options for me. Of course, the fact it can’t find the drivers directory may have something to do with that. I’ve tried putting in “JPEG” and many other keywords I’ve seen ,but nothing works. What do I need to do to get this to output jpegs? Do I need some sort of special jpeg driver? Thanks! Adam Lampman ajl...@ba... ________________________________ This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you. ------------------------------------------------------------------------------ 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 <http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk> _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general <https://lists.sourceforge.net/lists/listinfo/plplot-general> ------------------------------------------------------------------------------ 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 <http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk> _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general <https://lists.sourceforge.net/lists/listinfo/plplot-general> ----------------------------------------- This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you. ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general |
From: Lampman, A. J <ajl...@ba...> - 2013-10-17 19:48:03
|
Ok, I did exactly that, but jpeg (or any options, for that matter) is still not showing up in my program. I ran PLplot's example x00, and it seems to be working fine with the exception that jpeg is not showing up as an option. When I run x00, this is the output: Plotting Options: < 1> ps PostScript File (monochrome) < 2> psc PostScript File (color) < 3> xfig Fig file < 4> null Null device < 5> mem User-supplied memory device < 6> svg Scalable Vector Graphics (SVG 1.1) Enter device number or keyword (stream 1): Why is jpeg not showing up? There were no red lines, and I configured with the PLD_jpeg, BUILD_TEST, and BUILD_TESTING boxes checked. Strangely, whenever I have PLD_jpeg checked and hit Configure it gets un-checked. I tried hitting Generate after it was unchecked by Configure then running the program as well as simply checking it, hitting Generate, and running the program. Both yield the same results. Sorry for being such a pain. I just can't figure this out. -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Thursday, October 17, 2013 3:16 PM To: Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Yes, I'm referring to the upper window. After running CMAKE, all options in the upper windows will show red until you hit the Configure button. You may or may not have to point it to the correct compiler again on your system. If it asks again, just select the proper compiler and hit Configure again. You should see most of the red lines disappear at this point. Press Configure again, if there are any other items still listed in red in the upper window, deselect them if they are for an API/SDK that you don't use, such as wxWdigets or QT, and hit Configure again. Keep doing that until all the red items in the upper windows are gone and you're left with nothing but white. Then make sure you've placed a check mark in PLD_jpeg and any other output formats that you want, such as SVG or TIFF and hit Configure again. At this point, if there are no more red items to deal with, hit the Generate button to create the VS solution and then load and run the solution in VS. I always make sure to place a check in the BUILD_TEST and BUILD_TESTING boxs so that the examples get compiled and linked too. That way I can quickly test an example exe and validate that everything is working as selected under CMAKE. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 12:27 PM Subject: Re: [Plplot-general] Device selection problems I'm still a bit confused. Your instructions are very clear, but in my CMake window, EVERY line is red. First, a clarification: You are talking about the upper window with all the options, not the lower output window, correct? Both have red items. Immediately after my step 4 (once the files are generated) every single option line is red. Obviously it would be pointless to go through and de-select everything, and I highly doubt that my computer lacks support for every part of PLplot. I've attached a screenshot as well as the complete output, if you think it will help. -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Thursday, October 17, 2013 11:57 AM To: Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Do not select the PLD_jpgqt driver unless you have the QT SDK installed and plan to use QT to develop for plplot. Same goes for FreeType, antigrain, wxWidgets, and a few other libraries. If you don't have these libraries, do not select them. You are also missing a couple steps in your list. Step 5a) Look for any items marked in red in the CMAKE window. If any items are marked in red, it means that you are either missing some components needed for the build you've selected, such as wxWidgets, QT, FreeType, etc..or that you've chosen some build options that conflict with one another. Step 5b) Resolve the options in red by either adding missing libraries and their respective paths and pressing configure again. Or resolve them by removing check marks for conflicting build options and pressing configure. Continue 5a and 5b until all the red lines are gone. Set 5c) After you've performed steps 5a and 5b and there are no more red items, then click Generate, allow CMAKE to create the new VS solution file and then open it in VS and run it per Step 7. After running the "build_all solution", you won't see anything special and the jpeg driver will be added to the plplot DLL or the static plplot link-time lib file. Once your examples are properly compiled and linked, the driver is embedded in the exe itself, so you won't see a separate or discrete jpeg driver-file or any other type of driver file. Upon running your exe, if everything worked properly, you should see "jpeg" listed as an output option when you run the example. Below is a text grab of Example X01c from my system set to use postscript, wxWidgets, SVG and DXF driver output. Your examples, based on selecting PLD_jpeg should show at least the jpeg file driver if the build went properly. c:\build-plplot\examples\c\release\x01c.exe [Enter] PLplot library version: 5.9.10 Plotting Options: < 1> ps PostScript File (monochrome) < 2> psc PostScript File (color) < 3> wxwidgets wxWidgets DC < 4> svg Scalable Vector Graphics (SVG 1.1) < 5> dxf AutoCAD 2D DXF File Enter device number or keyword: Hope this helps. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 9:29 AM Subject: Re: [Plplot-general] Device selection problems I tried, but it doesn't seem to be working. Here's what I did: 1. Open CMake 2.8.11.2 GUI. 2. Select source and build directories (source is freshly updated from PLPlot's SVN trunk). 3. Click "Configure." 4. Select "Microsoft Visual Studio 11" from the drop-down tab, then hit Ok. 5. Once CMake generates the files, scroll down to PLD_jpeg and check its box (as well as PLD_jpgqt for good measure). 6. Click "Generate." 7. Go to the build directory, open plplot.sln, right-click "ALL_BUILD" and tell it to build. After I did that, I searched the file for "jpg." The only things that showed up were cmake files, which aren't what I'm looking for, correct? I also did a search for "driver" and none of them had to do with jpegs, from what I could tell. I looked in the lib, dll, and driver folders and didn't see anything mentioned jpegs either. I also tried running my program again and got the same error as before. What am I doing wrong? -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Wednesday, October 16, 2013 5:53 PM To: Ferrell, Stephen; Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Oh, and when you used CMAKE to initiate the building of plplot, did you make sure that you put checkmark in the box for PLD_jpeg? That tells CMAKE to add JPEG drivers to your lib/dll. ________________________________ From: "Ferrell, Stephen" <sfe...@ya...> To: "Lampman, Adam J" <ajl...@ba...>; "plp...@li..." <plp...@li...> Sent: Wednesday, October 16, 2013 4:38 PM Subject: Re: [Plplot-general] Device selection problems The initial 3 errors are due to your program looking for color palette files that it requires and not finding them. They're located under the plplot\bindings\tk\ folder of the plplot source tree. There are also a number of palette files located in the plplot\data\ Copy the palette files to the folder where your exe is located and run it again. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Wednesday, October 16, 2013 3:00 PM Subject: [Plplot-general] Device selection problems Hi! I’m completely new to PLplot. I’ve been trying to get it working for a while now, but I keep having problems with it. My goal is to use it to create plots in jpeg format. I’m not looking for interactive plots, a user interface, command line args, or anything fancy. I’m using Microsoft Visual Studio 2012 and I’m writing the code in C++. I’ve copied the x00 C++ example from the PLplot Examples page (nearly) word for word, and this is the output I get: *** PLPLOT WARNING *** Unable to open cmap0 file cmap0_default.pal *** PLPLOT WARNING *** Unable to open cmap0 file cmap0_default.pal *** PLPLOT WARNING *** Unable to open cmap1 .pal file cmap1_default.pal *** PLPLOT ERROR, ABORTING OPERATION *** plInitDispatchTable: Could not open drivers directory, aborting operation Plotting Options: Enter device number or keyword (stream 1): According to the documentation I’ve seen, it should be listing output options for me. Of course, the fact it can’t find the drivers directory may have something to do with that. I’ve tried putting in “JPEG” and many other keywords I’ve seen ,but nothing works. What do I need to do to get this to output jpegs? Do I need some sort of special jpeg driver? Thanks! Adam Lampman ajl...@ba... ________________________________ This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you. ------------------------------------------------------------------------------ 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 <http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk> _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general <https://lists.sourceforge.net/lists/listinfo/plplot-general> ------------------------------------------------------------------------------ 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 <http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk> _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general <https://lists.sourceforge.net/lists/listinfo/plplot-general> ----------------------------------------- This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you. ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general |
From: Ferrell, S. <sfe...@ya...> - 2013-10-17 19:15:42
|
Yes, I'm referring to the upper window. After running CMAKE, all options in the upper windows will show red until you hit the Configure button. You may or may not have to point it to the correct compiler again on your system. If it asks again, just select the proper compiler and hit Configure again. You should see most of the red lines disappear at this point. Press Configure again, if there are any other items still listed in red in the upper window, deselect them if they are for an API/SDK that you don't use, such as wxWdigets or QT, and hit Configure again. Keep doing that until all the red items in the upper windows are gone and you're left with nothing but white. Then make sure you've placed a check mark in PLD_jpeg and any other output formats that you want, such as SVG or TIFF and hit Configure again. At this point, if there are no more red items to deal with, hit the Generate button to create the VS solution and then load and run the solution in VS. I always make sure to place a check in the BUILD_TEST and BUILD_TESTING boxs so that the examples get compiled and linked too. That way I can quickly test an example exe and validate that everything is working as selected under CMAKE. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 12:27 PM Subject: Re: [Plplot-general] Device selection problems I'm still a bit confused. Your instructions are very clear, but in my CMake window, EVERY line is red. First, a clarification: You are talking about the upper window with all the options, not the lower output window, correct? Both have red items. Immediately after my step 4 (once the files are generated) every single option line is red. Obviously it would be pointless to go through and de-select everything, and I highly doubt that my computer lacks support for every part of PLplot. I've attached a screenshot as well as the complete output, if you think it will help. -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Thursday, October 17, 2013 11:57 AM To: Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Do not select the PLD_jpgqt driver unless you have the QT SDK installed and plan to use QT to develop for plplot. Same goes for FreeType, antigrain, wxWidgets, and a few other libraries. If you don't have these libraries, do not select them. You are also missing a couple steps in your list. Step 5a) Look for any items marked in red in the CMAKE window. If any items are marked in red, it means that you are either missing some components needed for the build you've selected, such as wxWidgets, QT, FreeType, etc..or that you've chosen some build options that conflict with one another. Step 5b) Resolve the options in red by either adding missing libraries and their respective paths and pressing configure again. Or resolve them by removing check marks for conflicting build options and pressing configure. Continue 5a and 5b until all the red lines are gone. Set 5c) After you've performed steps 5a and 5b and there are no more red items, then click Generate, allow CMAKE to create the new VS solution file and then open it in VS and run it per Step 7. After running the "build_all solution", you won't see anything special and the jpeg driver will be added to the plplot DLL or the static plplot link-time lib file. Once your examples are properly compiled and linked, the driver is embedded in the exe itself, so you won't see a separate or discrete jpeg driver-file or any other type of driver file. Upon running your exe, if everything worked properly, you should see "jpeg" listed as an output option when you run the example. Below is a text grab of Example X01c from my system set to use postscript, wxWidgets, SVG and DXF driver output. Your examples, based on selecting PLD_jpeg should show at least the jpeg file driver if the build went properly. c:\build-plplot\examples\c\release\x01c.exe [Enter] PLplot library version: 5.9.10 Plotting Options: < 1> ps PostScript File (monochrome) < 2> psc PostScript File (color) < 3> wxwidgets wxWidgets DC < 4> svg Scalable Vector Graphics (SVG 1.1) < 5> dxf AutoCAD 2D DXF File Enter device number or keyword: Hope this helps. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 9:29 AM Subject: Re: [Plplot-general] Device selection problems I tried, but it doesn't seem to be working. Here's what I did: 1. Open CMake 2.8.11.2 GUI. 2. Select source and build directories (source is freshly updated from PLPlot's SVN trunk). 3. Click "Configure." 4. Select "Microsoft Visual Studio 11" from the drop-down tab, then hit Ok. 5. Once CMake generates the files, scroll down to PLD_jpeg and check its box (as well as PLD_jpgqt for good measure). 6. Click "Generate." 7. Go to the build directory, open plplot.sln, right-click "ALL_BUILD" and tell it to build. After I did that, I searched the file for "jpg." The only things that showed up were cmake files, which aren't what I'm looking for, correct? I also did a search for "driver" and none of them had to do with jpegs, from what I could tell. I looked in the lib, dll, and driver folders and didn't see anything mentioned jpegs either. I also tried running my program again and got the same error as before. What am I doing wrong? -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Wednesday, October 16, 2013 5:53 PM To: Ferrell, Stephen; Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Oh, and when you used CMAKE to initiate the building of plplot, did you make sure that you put checkmark in the box for PLD_jpeg? That tells CMAKE to add JPEG drivers to your lib/dll. ________________________________ From: "Ferrell, Stephen" <sfe...@ya...> To: "Lampman, Adam J" <ajl...@ba...>; "plp...@li..." <plp...@li...> Sent: Wednesday, October 16, 2013 4:38 PM Subject: Re: [Plplot-general] Device selection problems The initial 3 errors are due to your program looking for color palette files that it requires and not finding them. They're located under the plplot\bindings\tk\ folder of the plplot source tree. There are also a number of palette files located in the plplot\data\ Copy the palette files to the folder where your exe is located and run it again. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Wednesday, October 16, 2013 3:00 PM Subject: [Plplot-general] Device selection problems Hi! I’m completely new to PLplot. I’ve been trying to get it working for a while now, but I keep having problems with it. My goal is to use it to create plots in jpeg format. I’m not looking for interactive plots, a user interface, command line args, or anything fancy. I’m using Microsoft Visual Studio 2012 and I’m writing the code in C++. I’ve copied the x00 C++ example from the PLplot Examples page (nearly) word for word, and this is the output I get: *** PLPLOT WARNING *** Unable to open cmap0 file cmap0_default.pal *** PLPLOT WARNING *** Unable to open cmap0 file cmap0_default.pal *** PLPLOT WARNING *** Unable to open cmap1 .pal file cmap1_default.pal *** PLPLOT ERROR, ABORTING OPERATION *** plInitDispatchTable: Could not open drivers directory, aborting operation Plotting Options: Enter device number or keyword (stream 1): According to the documentation I’ve seen, it should be listing output options for me. Of course, the fact it can’t find the drivers directory may have something to do with that. I’ve tried putting in “JPEG” and many other keywords I’ve seen ,but nothing works. What do I need to do to get this to output jpegs? Do I need some sort of special jpeg driver? Thanks! Adam Lampman ajl...@ba... ________________________________ This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you. ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general ----------------------------------------- This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you. ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general |
From: Lampman, A. J <ajl...@ba...> - 2013-10-17 17:41:50
|
I'm still a bit confused. Your instructions are very clear, but in my CMake window, EVERY line is red. First, a clarification: You are talking about the upper window with all the options, not the lower output window, correct? Both have red items. Immediately after my step 4 (once the files are generated) every single option line is red. Obviously it would be pointless to go through and de-select everything, and I highly doubt that my computer lacks support for every part of PLplot. I've attached the complete output, if you think it will help. -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Thursday, October 17, 2013 11:57 AM To: Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Do not select the PLD_jpgqt driver unless you have the QT SDK installed and plan to use QT to develop for plplot. Same goes for FreeType, antigrain, wxWidgets, and a few other libraries. If you don't have these libraries, do not select them. You are also missing a couple steps in your list. Step 5a) Look for any items marked in red in the CMAKE window. If any items are marked in red, it means that you are either missing some components needed for the build you've selected, such as wxWidgets, QT, FreeType, etc..or that you've chosen some build options that conflict with one another. Step 5b) Resolve the options in red by either adding missing libraries and their respective paths and pressing configure again. Or resolve them by removing check marks for conflicting build options and pressing configure. Continue 5a and 5b until all the red lines are gone. Set 5c) After you've performed steps 5a and 5b and there are no more red items, then click Generate, allow CMAKE to create the new VS solution file and then open it in VS and run it per Step 7. After running the "build_all solution", you won't see anything special and the jpeg driver will be added to the plplot DLL or the static plplot link-time lib file. Once your examples are properly compiled and linked, the driver is embedded in the exe itself, so you won't see a separate or discrete jpeg driver-file or any other type of driver file. Upon running your exe, if everything worked properly, you should see "jpeg" listed as an output option when you run the example. Below is a text grab of Example X01c from my system set to use postscript, wxWidgets, SVG and DXF driver output. Your examples, based on selecting PLD_jpeg should show at least the jpeg file driver if the build went properly. c:\build-plplot\examples\c\release\x01c.exe [Enter] PLplot library version: 5.9.10 Plotting Options: < 1> ps PostScript File (monochrome) < 2> psc PostScript File (color) < 3> wxwidgets wxWidgets DC < 4> svg Scalable Vector Graphics (SVG 1.1) < 5> dxf AutoCAD 2D DXF File Enter device number or keyword: Hope this helps. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 9:29 AM Subject: Re: [Plplot-general] Device selection problems I tried, but it doesn't seem to be working. Here's what I did: 1. Open CMake 2.8.11.2 GUI. 2. Select source and build directories (source is freshly updated from PLPlot's SVN trunk). 3. Click "Configure." 4. Select "Microsoft Visual Studio 11" from the drop-down tab, then hit Ok. 5. Once CMake generates the files, scroll down to PLD_jpeg and check its box (as well as PLD_jpgqt for good measure). 6. Click "Generate." 7. Go to the build directory, open plplot.sln, right-click "ALL_BUILD" and tell it to build. After I did that, I searched the file for "jpg." The only things that showed up were cmake files, which aren't what I'm looking for, correct? I also did a search for "driver" and none of them had to do with jpegs, from what I could tell. I looked in the lib, dll, and driver folders and didn't see anything mentioned jpegs either. I also tried running my program again and got the same error as before. What am I doing wrong? -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Wednesday, October 16, 2013 5:53 PM To: Ferrell, Stephen; Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Oh, and when you used CMAKE to initiate the building of plplot, did you make sure that you put checkmark in the box for PLD_jpeg? That tells CMAKE to add JPEG drivers to your lib/dll. ________________________________ From: "Ferrell, Stephen" <sfe...@ya...> To: "Lampman, Adam J" <ajl...@ba...>; "plp...@li..." <plp...@li...> Sent: Wednesday, October 16, 2013 4:38 PM Subject: Re: [Plplot-general] Device selection problems The initial 3 errors are due to your program looking for color palette files that it requires and not finding them. They're located under the plplot\bindings\tk\ folder of the plplot source tree. There are also a number of palette files located in the plplot\data\ Copy the palette files to the folder where your exe is located and run it again. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Wednesday, October 16, 2013 3:00 PM Subject: [Plplot-general] Device selection problems Hi! I’m completely new to PLplot. I’ve been trying to get it working for a while now, but I keep having problems with it. My goal is to use it to create plots in jpeg format. I’m not looking for interactive plots, a user interface, command line args, or anything fancy. I’m using Microsoft Visual Studio 2012 and I’m writing the code in C++. I’ve copied the x00 C++ example from the PLplot Examples page (nearly) word for word, and this is the output I get: *** PLPLOT WARNING *** Unable to open cmap0 file cmap0_default.pal *** PLPLOT WARNING *** Unable to open cmap0 file cmap0_default.pal *** PLPLOT WARNING *** Unable to open cmap1 .pal file cmap1_default.pal *** PLPLOT ERROR, ABORTING OPERATION *** plInitDispatchTable: Could not open drivers directory, aborting operation Plotting Options: Enter device number or keyword (stream 1): According to the documentation I’ve seen, it should be listing output options for me. Of course, the fact it can’t find the drivers directory may have something to do with that. I’ve tried putting in “JPEG” and many other keywords I’ve seen ,but nothing works. What do I need to do to get this to output jpegs? Do I need some sort of special jpeg driver? Thanks! Adam Lampman ajl...@ba... ________________________________ This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you. ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general ----------------------------------------- This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you. ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general |
From: Lampman, A. J <ajl...@ba...> - 2013-10-17 17:27:19
|
I'm still a bit confused. Your instructions are very clear, but in my CMake window, EVERY line is red. First, a clarification: You are talking about the upper window with all the options, not the lower output window, correct? Both have red items. Immediately after my step 4 (once the files are generated) every single option line is red. Obviously it would be pointless to go through and de-select everything, and I highly doubt that my computer lacks support for every part of PLplot. I've attached a screenshot as well as the complete output, if you think it will help. -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Thursday, October 17, 2013 11:57 AM To: Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Do not select the PLD_jpgqt driver unless you have the QT SDK installed and plan to use QT to develop for plplot. Same goes for FreeType, antigrain, wxWidgets, and a few other libraries. If you don't have these libraries, do not select them. You are also missing a couple steps in your list. Step 5a) Look for any items marked in red in the CMAKE window. If any items are marked in red, it means that you are either missing some components needed for the build you've selected, such as wxWidgets, QT, FreeType, etc..or that you've chosen some build options that conflict with one another. Step 5b) Resolve the options in red by either adding missing libraries and their respective paths and pressing configure again. Or resolve them by removing check marks for conflicting build options and pressing configure. Continue 5a and 5b until all the red lines are gone. Set 5c) After you've performed steps 5a and 5b and there are no more red items, then click Generate, allow CMAKE to create the new VS solution file and then open it in VS and run it per Step 7. After running the "build_all solution", you won't see anything special and the jpeg driver will be added to the plplot DLL or the static plplot link-time lib file. Once your examples are properly compiled and linked, the driver is embedded in the exe itself, so you won't see a separate or discrete jpeg driver-file or any other type of driver file. Upon running your exe, if everything worked properly, you should see "jpeg" listed as an output option when you run the example. Below is a text grab of Example X01c from my system set to use postscript, wxWidgets, SVG and DXF driver output. Your examples, based on selecting PLD_jpeg should show at least the jpeg file driver if the build went properly. c:\build-plplot\examples\c\release\x01c.exe [Enter] PLplot library version: 5.9.10 Plotting Options: < 1> ps PostScript File (monochrome) < 2> psc PostScript File (color) < 3> wxwidgets wxWidgets DC < 4> svg Scalable Vector Graphics (SVG 1.1) < 5> dxf AutoCAD 2D DXF File Enter device number or keyword: Hope this helps. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Thursday, October 17, 2013 9:29 AM Subject: Re: [Plplot-general] Device selection problems I tried, but it doesn't seem to be working. Here's what I did: 1. Open CMake 2.8.11.2 GUI. 2. Select source and build directories (source is freshly updated from PLPlot's SVN trunk). 3. Click "Configure." 4. Select "Microsoft Visual Studio 11" from the drop-down tab, then hit Ok. 5. Once CMake generates the files, scroll down to PLD_jpeg and check its box (as well as PLD_jpgqt for good measure). 6. Click "Generate." 7. Go to the build directory, open plplot.sln, right-click "ALL_BUILD" and tell it to build. After I did that, I searched the file for "jpg." The only things that showed up were cmake files, which aren't what I'm looking for, correct? I also did a search for "driver" and none of them had to do with jpegs, from what I could tell. I looked in the lib, dll, and driver folders and didn't see anything mentioned jpegs either. I also tried running my program again and got the same error as before. What am I doing wrong? -----Original Message----- From: Ferrell, Stephen [mailto:sfe...@ya...] Sent: Wednesday, October 16, 2013 5:53 PM To: Ferrell, Stephen; Lampman, Adam J; plp...@li... Subject: EXTERNAL:Re: [Plplot-general] Device selection problems Oh, and when you used CMAKE to initiate the building of plplot, did you make sure that you put checkmark in the box for PLD_jpeg? That tells CMAKE to add JPEG drivers to your lib/dll. ________________________________ From: "Ferrell, Stephen" <sfe...@ya...> To: "Lampman, Adam J" <ajl...@ba...>; "plp...@li..." <plp...@li...> Sent: Wednesday, October 16, 2013 4:38 PM Subject: Re: [Plplot-general] Device selection problems The initial 3 errors are due to your program looking for color palette files that it requires and not finding them. They're located under the plplot\bindings\tk\ folder of the plplot source tree. There are also a number of palette files located in the plplot\data\ Copy the palette files to the folder where your exe is located and run it again. ________________________________ From: "Lampman, Adam J" <ajl...@ba...> To: "plp...@li..." <plp...@li...> Sent: Wednesday, October 16, 2013 3:00 PM Subject: [Plplot-general] Device selection problems Hi! I’m completely new to PLplot. I’ve been trying to get it working for a while now, but I keep having problems with it. My goal is to use it to create plots in jpeg format. I’m not looking for interactive plots, a user interface, command line args, or anything fancy. I’m using Microsoft Visual Studio 2012 and I’m writing the code in C++. I’ve copied the x00 C++ example from the PLplot Examples page (nearly) word for word, and this is the output I get: *** PLPLOT WARNING *** Unable to open cmap0 file cmap0_default.pal *** PLPLOT WARNING *** Unable to open cmap0 file cmap0_default.pal *** PLPLOT WARNING *** Unable to open cmap1 .pal file cmap1_default.pal *** PLPLOT ERROR, ABORTING OPERATION *** plInitDispatchTable: Could not open drivers directory, aborting operation Plotting Options: Enter device number or keyword (stream 1): According to the documentation I’ve seen, it should be listing output options for me. Of course, the fact it can’t find the drivers directory may have something to do with that. I’ve tried putting in “JPEG” and many other keywords I’ve seen ,but nothing works. What do I need to do to get this to output jpegs? Do I need some sort of special jpeg driver? Thanks! Adam Lampman ajl...@ba... ________________________________ This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you. ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general ----------------------------------------- This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you. ------------------------------------------------------------------------------ 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 Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general |
From: Alan W. I. <ir...@be...> - 2013-10-17 16:24:08
|
On 2013-10-17 06:00-0000 hubin wrote: > 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:/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 You have not specified the correct generator string (which has to be exact). To see the possibilities look at the bottom of what you get from the command cmake --help I notice for 2.8.11.2, that list of generators includes "Visual Studio 10" (not "Visual Studio 10 2010"). I have no experience with that generator myself, but it appears from the way you describe your system as "vs2010", it is that generator that you want. Good luck, and thanks for your interest in PLplot. 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); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |