Re: [Plplot-devel] troubles using LIB_TAG under Windows with msvc

2009-04-24 Thread Arjen Markus
Hello Vadim, On 2009-04-23 18:42, Vadim Zeitlin wrote: Hello, I noticed that plplot build supported optionally appending a suffix to all the libraries being built via the setting of LIB_TAG option. This seemed to be exactly what I needed to make it possible to use both debug and release

Re: [Plplot-devel] troubles using LIB_TAG under Windows with msvc

2009-04-24 Thread Arjen Markus
On 2009-04-24 09:16, Alan W. Irwin wrote: Hi Vadim: Thanks for your LIB_TAG bug report which was caused by some of our visibility logic assuming LIB_TAG was always d. I have now fixed that bug (revision 9843). Please try out that revision to make sure it works for you (with an

Re: [Plplot-devel] The PLplot API is now accessible from Qt GUI applications

2009-04-24 Thread Werner Smekal
Hi Alan, My tests indicate the normal qt devices and this important additional ability to access the PLPlot API from Qt applications are now in good shape for our early May release. However, it's a good idea to broaden the tests to additional platforms and configurations so I ask the

Re: [Plplot-devel] troubles using LIB_TAG under Windows with msvc

2009-04-24 Thread Andrew Ross
On Fri, Apr 24, 2009 at 12:16:05AM -0700, Alan Irwin wrote: I would prefer the following logic instead: if(PL_DOUBLE AND NOT DEFINED LIB_TAG) set(LIB_TAG d) endif(PL_DOUBLE AND NOT DEFINED LIB_TAG) In other words, if somebody specifies a library name suffix on the command line including

Re: [Plplot-devel] troubles using LIB_TAG under Windows with msvc

2009-04-24 Thread Alan W. Irwin
On 2009-04-24 09:32+0200 Werner Smekal wrote: I would prefer the following logic instead: if(PL_DOUBLE AND NOT DEFINED LIB_TAG) set(LIB_TAG d) endif(PL_DOUBLE AND NOT DEFINED LIB_TAG) In other words, if somebody specifies a library name suffix on the command line including the null

Re: [Plplot-devel] The PLplot API is now accessible from Qt GUI applications

2009-04-24 Thread Alban Rochel
Werner Smekal wrote: Mac OS X * I installed the latest Qt SDK 4.5.1 and added the instructions to the wiki (http://www.miscdebris.net/plplot_wiki/index.php?title=Qt). * Everything compiles without troubles. * If I run an example (qtwidget) with one plot a window pops up which

Re: [Plplot-devel] patch: disable tons of mostly harmless warnings in msvc build

2009-04-24 Thread Vadim Zeitlin
On Fri, 24 Apr 2009 02:29:33 +0200 I wrote: VZ src\ltdl_win32.c(67) : warning C4133: 'function' : incompatible types - from 'char *' to 'LPCWSTR' Sorry for yet another false alert, this was due to a local modification to CMakeLists.txt and not a PLplot problem at all. To summarize, the current

Re: [Plplot-devel] patch: disable tons of mostly harmless warnings in msvc build

2009-04-24 Thread Arjen Markus
On 2009-04-24 16:40, Vadim Zeitlin wrote: On Fri, 24 Apr 2009 02:29:33 +0200 I wrote: VZ src\ltdl_win32.c(67) : warning C4133: 'function' : incompatible types - from 'char *' to 'LPCWSTR' Sorry for yet another false alert, this was due to a local modification to CMakeLists.txt and not

Re: [Plplot-devel] cmake troubles, user error?

2009-04-24 Thread Geoffrey Furnish
Woops, one part badly worded, correction below. Geoffrey Furnish writes: BTW #2: It doesn't seem to me like you should have to set CMAKE_LIBRARY_PATH if you want something other than xx unless CMAKE_INSTALL_PREFIX/lib. Why isn't CMAKE_INSTALL_PREFIX/lib the default

Re: [Plplot-devel] cmake troubles, user error?

2009-04-24 Thread Andrew Ross
On Fri, Apr 24, 2009 at 12:58:53PM -0500, Geoffrey Furnish wrote: Hi guys, I'm having some problems building. Trying not to look too stupid here... I've built Tcl and Tk and installed them to $HOME/plplot/t4/install. Then I configure plplot thusly: % cmake

Re: [Plplot-devel] The PLplot API is now accessible from Qt GUI applications

2009-04-24 Thread Alan W. Irwin
On 2009-04-24 09:35+0200 Werner Smekal wrote: Hi Alan, My tests indicate the normal qt devices and this important additional ability to access the PLPlot API from Qt applications are now in good shape for our early May release. However, it's a good idea to broaden the tests to additional

Re: [Plplot-devel] patch: disable tons of mostly harmless warnings in msvc build

2009-04-24 Thread Werner Smekal
Hi Vadim, Sorry for not thinking to check the latest svn, I did update to r9840 and most of the warnings are indeed gone. The remaining ones are Yes, I also found the numerous warnings of VC++ 2005/2008 annoying so I fixed them. Except the warnings below, since the qsastime library was/is

Re: [Plplot-devel] cmake troubles, user error?

2009-04-24 Thread Werner Smekal
Hi Geoffrey, Geoffrey Furnish wrote: Werner Smekal writes: make VERBOSE=1 I found a cmake var for this too. true, but then you've always verbose output. Using VERBOSE=1 for the make command only prints out verbose information when you want without reconfiguring. Well, I go to the

Re: [Plplot-devel] cmake troubles, user error?

2009-04-24 Thread Geoffrey Furnish
Werner Smekal writes: I usually debug in the build tree. Add the -DBUILD_TEST=ON to the cmake options and all examples will be compiled in the built tree. Well, I must be missing something. When I add this, I don't find the tk examples in the build tree. There is an examples/tk directory,

Re: [Plplot-devel] cmake troubles, user error?

2009-04-24 Thread Andrew Ross
On Fri, Apr 24, 2009 at 02:36:16PM -0500, Geoffrey Furnish wrote: Content-Description: message body text Werner Smekal writes: make VERBOSE=1 I found a cmake var for this too. Well, I go to the installed examples dir, and run xtk01 under gdb, and it tells me there is no debugging

Re: [Plplot-devel] cmake troubles, user error?

2009-04-24 Thread Alan W. Irwin
On 2009-04-24 14:36-0500 Geoffrey Furnish wrote: Werner Smekal writes: make VERBOSE=1 I found a cmake var for this too. Well, I go to the installed examples dir, and run xtk01 under gdb, and it tells me there is no debugging info available. I usually debug in the build tree. Add

Re: [Plplot-devel] cmake troubles, user error?

2009-04-24 Thread Andrew Ross
On Fri, Apr 24, 2009 at 01:49:25PM -0700, Alan Irwin wrote: On 2009-04-24 20:58+0100 Andrew Ross wrote: On Fri, Apr 24, 2009 at 02:36:16PM -0500, Geoffrey Furnish wrote: Content-Description: message body text Werner Smekal writes: make VERBOSE=1 I found a cmake var for this too.

Re: [Plplot-devel] cmake troubles, user error?

2009-04-24 Thread Alan W. Irwin
On 2009-04-24 22:00+0100 Andrew Ross wrote: Andrew, that change should be reverted. I tried the same thing here until I realized exit is very different from call exit(status). Done. Actually a large part of my change was converting calls to exit to setting the error flag and return. This

Re: [Plplot-devel] cmake troubles, user error?

2009-04-24 Thread Geoffrey Furnish
Werner Smekal writes: Geoffrey Furnish wrote: Werner Smekal writes: make VERBOSE=1 I found a cmake var for this too. true, but then you've always verbose output. Using VERBOSE=1 for the make command only prints out verbose information when you want without

Re: [Plplot-devel] cmake troubles, user error?

2009-04-24 Thread Geoffrey Furnish
Andrew Ross writes: On Fri, Apr 24, 2009 at 02:54:43PM -0500, Geoffrey Furnish wrote: Werner Smekal writes: I usually debug in the build tree. Add the -DBUILD_TEST=ON to the cmake options and all examples will be compiled in the built tree. Well, I must be missing

Re: [Plplot-devel] cmake troubles, user error?

2009-04-24 Thread Geoffrey Furnish
Alan W. Irwin writes: When running into a component problem like this where you are not interested in the component (and also for speed) just disable the componenent, e.g., -DENABLE_f95=OFF I did, and kept going. Thanks for that fortran 95 error report. However, I don't think we