From: winson <roa...@ya...> - 2007-04-06 15:53:45
|
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 --- Werner Smekal <sm...@ia...> wrote: > Hi, > > could you run "nmake VERBOSE=1" and send the output > to the list? And do > you use the "NMake Makefiles" Generator or are you > using the project > files? The latter was never tested and very likely > not to work at all. > > Regards, > Werner > > winson wrote: > > Hello there, > > > > I used VC++ 2005 Express to build plplot library > from > > files created by cmake. I got 8 succeeded and 1 > > failed. Error message is as following. > > > > Generating plhershey-unicode.h > > 'plhershey-unicode-gen.exe' is not recognized as > an > > internal or external command, > > operable program or batch file. > > Project : error PRJ0019: A tool returned an error > code > > from "Generating plhershey-unicode.h" > > > > The build log is attached. How could I fix it? > Thanks > > in advance. > > > > Winson > > > > -------------------------------------------------- > > Build Log > > Build started: Project: plhershey-unicode.h_built, > > Configuration: Debug|Win32 > > > > Command Lines > > Creating temporary file > > "E:\APPLIC~1\Temp\BAT0000512968340.bat" with > contents > > [ > > @echo off > > > > plhershey-unicode-gen.exe "E:/My > > > Documents/Downloads/plplot-5.7.3/fonts/plhershey-unicode.csv" > > plhershey-unicode.h > > > > if errorlevel 1 goto VCReportError > > > > goto VCEnd > > > > :VCReportError > > > > echo Project : error PRJ0019: A tool returned an > error > > code from "Generating plhershey-unicode.h" > > > > exit 1 > > > > :VCEnd > > ] > > Creating command line > > "E:\APPLIC~1\Temp\BAT0000512968340.bat" > > > > Output Window > > Generating plhershey-unicode.h > > 'plhershey-unicode-gen.exe' is not recognized as > an > > internal or external command, > > operable program or batch file. > > Project : error PRJ0019: A tool returned an error > code > > from "Generating plhershey-unicode.h" > > > > Results > > Build log was saved at "file://e:\My > > > Documents\Downloads\plPlot\include\plhershey-unicode.h_built.dir\Debug\BuildLog.htm" > > plhershey-unicode.h_built - 1 error(s), 0 > warning(s) > > > > > > > > > ____________________________________________________________________________________ > > The fish are biting. > > Get more visitors on your site using Yahoo! Search > Marketing. > > > http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php > > > > > ------------------------------------------------------------------------- > > 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 > > Plp...@li... > > > https://lists.sourceforge.net/lists/listinfo/plplot-general > > > > > > ------------------------------------------------------------------------- > 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 > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general > ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091 |