Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-14 Thread David Aldrich
Hi I'm sorry, but I am still unable to build the PLplot wxPLplotDemo example. I have built wxWidgets libraries for shared, unicode, release and I configure CMake with: C:\plplot-5.9.5\buildnmake>cmake -G "NMake Makefiles" -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DDEFAULT_NO_BINDINGS

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-14 Thread David Aldrich
Hi Werner Thanks for your reply. So, to summarise, if I use PLplot with wxWidgets, I must use wxWidgets shared (not static) libraries and I must build PLplot shared (not static) libraries. Am I correct please? Best regards David ---

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-14 Thread Werner Smekal
Hi David, > No, I used the .dsw project files supplied with wxWidgets. These > build static libs, not dlls. In fact I want to work with static libs > so that I don't have to distribute many dlls. > > Can I configure PLplot to use, and build, static libraries? That is not possible for wxWidget

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-14 Thread Arjen Markus
Hi David, yes, you can. It is not a thoroughly tested configuration though, and therefore you may run into trouble, but with the option -DBUILD_SHARED_LIBS:BOOL=OFF you will get static PLplot libraries. Whether the dependencies are static or dynamic is another matter. I would assume that (at leas

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-14 Thread David Aldrich
Werner wrote: > just another question: How did you build wxWidgets? Are the wxwidgets > dlls in C:\wxWidgets-2.8.10\lib\vc_dll ? No, I used the .dsw project files supplied with wxWidgets. These build static libs, not dlls. In fact I want to work with static libs so that I don't have to distribu

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-11 Thread Werner Smekal
Hi David, just another question: How did you build wxWidgets? Are the wxwidgets dlls in C:\wxWidgets-2.8.10\lib\vc_dll ? Regards, Werner On Sep 11, 2009, at 4:10 PM, David Aldrich wrote: > Hi > > I am still struggling with building PLplot 5.9.5 under Visual C++ > 2005, for wxWidgets. > > I

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-11 Thread Werner Smekal
On Sep 10, 2009, at 6:19 PM, David Aldrich wrote: > Hi Werner > > I will shortly try to link PLplot to my wxWidgets app. I built > wxPLplotDemo on linux with VERBOSE=1 as you suggested and saw: > > === > > Linking CXX executable wxPLplotDemo >

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-11 Thread Werner Smekal
Hi David, as Alan wrote we would need the complete output of cmake. Regards, Werner On Sep 11, 2009, at 4:10 PM, David Aldrich wrote: > Hi > > I am still struggling with building PLplot 5.9.5 under Visual C++ > 2005, for wxWidgets. > > I specify: > > C:\plplot-5.9.5\buildnmake>nmake clean > C

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-11 Thread Alan W. Irwin
On 2009-09-11 15:10+0100 David Aldrich wrote: > Hi > > I am still struggling with building PLplot 5.9.5 under Visual C++ 2005, for > wxWidgets. > > I specify: > > C:\plplot-5.9.5\buildnmake>nmake clean > C:\plplot-5.9.5\buildnmake>set WXWIN=C:\wxWidgets-2.8.10 > C:\plplot-5.9.5\buildnmake>cmake -

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-11 Thread David Aldrich
Hi I am still struggling with building PLplot 5.9.5 under Visual C++ 2005, for wxWidgets. I specify: C:\plplot-5.9.5\buildnmake>nmake clean C:\plplot-5.9.5\buildnmake>set WXWIN=C:\wxWidgets-2.8.10 C:\plplot-5.9.5\buildnmake>cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=install -DBUILD_TES

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-10 Thread Alan W. Irwin
On 2009-09-10 11:48+0100 David Aldrich wrote: > Hi Werner > >> Most likely relative paths don't work (don't know for sure). > Yes, that was the problem, thanks. I changed to an absolute path and nmake succeeded. Perhaps it would be good to update: http://www.miscdebris.net/plplot_wiki/index.php?t

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-10 Thread David Aldrich
Hi Werner I will shortly try to link PLplot to my wxWidgets app. I built wxPLplotDemo on linux with VERBOSE=1 as you suggested and saw: === Linking CXX executable wxPLplotDemo cd /home/MyDir/plplot-5.9.5/buildnmake/examples/c++ && /home/ MyDir

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-10 Thread David Aldrich
Hi Werner The only mention of wxWidgets in the CMake output is: Language Bindings: ENABLE_f77: OFF ENABLE_f95: OFF ENABLE_cxx: ON ENABLE_java:OFF ENABLE_python: OFF ENABLE_octave: OFF ENABLE_tc

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-10 Thread Werner Smekal
Hi David, > Yes, I have previously built wxWidgets-2.8.10 (without unicode) so I > set: > > WXWIN=C:\wxWidgets-2.8.10 Do you have any other built of wxWidgets lying around, maybe installed with an installer before? cmake looks first in the registry, maybe there are some old entries? Or is t

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-10 Thread David Aldrich
Hi Werner > Did you already compile wxWidgets on Windows Yes, I have previously built wxWidgets-2.8.10 (without unicode) so I set: WXWIN=C:\wxWidgets-2.8.10 I then executed: cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=install -DBUILD_TEST=ON .. path=c:\plplot-5.9.5\buildnmake\dll;%PATH%

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-10 Thread Werner Smekal
Hi David, > Yes, that was the problem, thanks. I changed to an absolute path and > nmake = > succeeded. Perhaps it would be good to update: > > http://www.miscdebris.net/plplot_wiki/index.php?title=3DConfigure_PLplot_fo= > r_Visual_CXX will do. > > to reflect this. > > I then tried to build the

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-10 Thread Arjen Markus
Hi David, good that that has been solved. Yes, relative paths ... the problem is that the build process runs in different directories, hence a single relative path is not enough. You can specify the device via the -dev command-line option or select it from the list of devices if you do not specif

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-10 Thread David Aldrich
Hi Werner > Most likely relative paths don't work (don't know for sure). Yes, that was the problem, thanks. I changed to an absolute path and nmake succeeded. Perhaps it would be good to update: http://www.miscdebris.net/plplot_wiki/index.php?title=Configure_PLplot_for_Visual_CXX to reflect th

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-10 Thread Werner Smekal
Hi David, > [ 87%] Generating test_dyndrivers_dir/null.rc NMAKE : fatal error > U1077: '.\test-drv-info.exe' : return code '0xc135' > Stop. > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual > Studio 8\VC\BIN\nmake.exe"' : return code '0x2' > Stop. > NMAKE : fatal error U1077

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-10 Thread David Aldrich
Hi Werner Thanks for your reply. > Which version of Visual C++ do you have, which version of cmake? I am running Visual Studio 2005 Prof, but also have Visual Studio 2008 Express available. CMake is 2.6.4. My problem was caused by my path referencing an old version of CMake that was on my ma

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-09 Thread Alan W. Irwin
On 2009-09-09 14:04+0100 David Aldrich wrote: > Hi Arjen > Understood. But -G "NMake Makefiles" is specified on the wiki page. Hi David: My apologies in advance for entering late into your conversation with Arjen especially since I have no Windows experience (although I do have lots of CMake ex

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-09 Thread Werner Smekal
Hi David, > I want to build PLplot on Windows using Visual C++ 2005, for use > with wxWidgets. > > I am following the instructions on PLplot wiki page 'Configure > PLplot for Visual CXX' but get the following error: > > C:\plplot-5.9.5\buildnmake>cmake -G "NMake Makefiles" - > DCMAKE_INSTALL_

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-09 Thread David Aldrich
Hi Arjen > you will need to create an MSVC++ solution. I do not know what the > correct generator name is for that type of output. Understood. But -G "NMake Makefiles" is specified on the wiki page. > (gcc is one of the fallback compilers. Make sure your environment > variables are set to find t

Re: [Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-09 Thread Arjen Markus
Hi David, you will need to create an MSVC++ solution. I do not know what the correct generator name is for that type of output. (gcc is one of the fallback compilers. Make sure your environment variables are set to find the MSVC++ compilers - run vcvars32 or something first.) Regards, Arjen On

[Plplot-general] Getting started with PLplot on Windows using Visual C++

2009-09-09 Thread David Aldrich
Hi I want to build PLplot on Windows using Visual C++ 2005, for use with wxWidgets. I am following the instructions on PLplot wiki page 'Configure PLplot for Visual CXX' but get the following error: C:\plplot-5.9.5\buildnmake>cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=install .. CMake E