Hi Winson,

one thing you do wrong is, that you must set up the command line 
interface correctly for Visual C++ 2005. You must run the batch file 
vcvars.bat which is somewhere in the bin directory where the compiler is 
installed "program files\Microsoft Visual Studio 8\VC\bin" or similar. 
Than everything is set and if you run nmake or cl this must succeed. 
Than you must run cmake and it will find everything and a subsequent 
nmake will compile plplot.

I will go through the instructions and improve them, but not this 
weekend, but hopefully next week. I'll let you know.

Werner

winson wrote:
> Werner,
> 
> Thanks for the response. I was using the project files
> created by cmake. I did not use "NMake Makefiles". 
> 
> I am using VC++ 2005 Express on Windows XP. I was
> totally lost with cmake. When I used command-line
> version of cmake, just as described on plplot wiki, it
> just does not work. It sometimes looks for the free
> version of VC++ (VC++ 2003), which I have never
> installed. Or sometimes, it looks my system as a 64bit
> system which is also wrong. I could not figure out
> what the problem is. 
> 
> Then I decided to try the GUI-version of cmake. When I
> choose building for "NMake Makefiles", it just could
> not find "cl" and "rc", even after I have explicitly
> selected the cl.exe and rc.exe in options. When I
> switch to building for VC++ 2005, it works oddly: When
> I clicked on the "config" button the 1st time, it gave
> the error message. But when I clicked on "config"
> button again, the "Ok" button would be enabled. I
> clicked on "OK", and got all the project files for
> VC++ 2005. So I compiled these project files with
> VC++. The major part of the build seems fine except
> the one fail. It seems to me that cmake is problematic
> with VC++ 2005.       
> 
> I am still confused... Thanks for your help anyway.
> 
> 
> Winson

-- 
Dipl. Ing. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web:   http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
        +43-(0)1-58801-13469 (laboratory)
fax:   +43-(0)1-58801-13499

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to