Werner, I did try to set up the command line interface first by running the batch file with the content:
set CMAKEDIR=C:\Program Files\CMake 2.4 set PATH=D:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin;;%PATH% set INCLUDE=D:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include;%INCLUDE% set LIB=D:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib;%LIB% rem run setup for Visual C++ 2005 compiler "%VS80COMNTOOLS%vsvars32.bat" This batch file was modified, according to the specific settings on my computer, from what you suggested a couple of weeks ago. It does not seem to help the command-line version of cmake. But I believe that it does help the GUI version of cmake somehow, because I could not get anything from both versions of cmake without running this batch file a couple of weeks ago. I tweaked the build a little bit this morning. The file "plhershey-unicode-gen.exe" was found to be in the folder $CMAKE_CURRENT_BINARY_DIR/include/debug instead of CMAKE_CURRENT_BINARY_DIR. This may be due to the fact that, when I built the library, my compiler was in debug build mode. I copied the file into CMAKE_CURRENT_BINARY_DIR, and rebuild the library again (kind of cheat the compiler?). Then, I got no error message, 9 succeeded and 3 skipped. By building the INSTALL again, which I believe was skipped due to debug mode, it seems that I got all the header files, .lib files, .dll files and so on in the installation folder. I have not used makefiles for a couple of years, so I get headache with it now, although I know it's not really difficult. Thanks a lot for the help. I will soon write some code to test the library files I got so far, and see how it goes. Hope it works. Winson --- Werner Smekal <[EMAIL PROTECTED]> wrote: > 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 > ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html ------------------------------------------------------------------------- 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