From: Joachim W. <wu...@cr...> - 2002-11-22 15:37:56
|
Hi Olof, I am trying to install plplot under W2000 (with Cygwin). In a first step, I did ./configure, make, make install in the plplot main directory (btw: which configure options are recommended if I only want to use the W2000 port ?). In a second step I went into the sys/win32/msdev directory, and I followed your instructions until step 5, which fails with the following message: -------------------------------------------------------------------------= -------- /D/Downloads/plplot-5.1.0/sys/win32/msdev/plplib $ nmake plplib.mak Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. No configuration specified. Defaulting to plplib - Win32 Debug. Warning: cannot find "plplib.dep" if not exist ".\Release/" mkdir ".\Release" cl.exe /nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" = /D "_LI B" /Fo".\Release\\" /Fd".\Release\\" /FD /c ..\..\..\..\tmp\plcore.cpp plcore.cpp ..\..\..\..\tmp\plplot/plplotP.h(94) : fatal error C1034: ctype.h: no = include pa th set NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' Stop. -------------------------------------------------------------------------= --------- Thank you for any help - Joachim |
From: Olof S. <sve...@es...> - 2002-11-22 16:02:37
|
Hi Joachim, Joachim Wuttke wrote: > > Hi Olof, > > I am trying to install plplot under W2000 (with Cygwin). > In a first step, I did ./configure, make, make install in > the plplot main directory (btw: which configure options are > recommended if I only want to use the W2000 port ?). I managed to compile plplot under cygwin even with the X11 device working on Cygwin XFree86 with the following command: > command: /cygdrive/c/Docume~1/svensson/develop/plplot/plplot-5.1.0/configure --with-gcc > system: CYGWIN_NT-5.0-1.3.12(0.54/3/2) > prefix: /usr/local/plplot > CC: gcc -c -O > LDC: gcc > CXX: g++ -c -O > LDCXX: g++ > F77: g77 -c -O > LDF: g77 > INCS: -I. -I/usr/X11R6/include > LIBS: -L/usr/X11R6/lib -lX11 -lm > LIB_TAG: > devices: plmeta null xterm tek4010 tek4010f tek4107 tek4107f mskermit conex vlt versaterm dg300 ps psc xfig ljii hp7470 hp7580 lj_hpgl ljiip imp xwin pbm pstex > > Available device drivers > static: plmeta null tek dg300 ps xfig ljii hpgl ljiip impress xwin pbm > pstex > dynamic: > > with_shlib: no with_double: no > with_debug: no with_opt: yes > with_warn: no with_profile: no > with_gcc: yes with_rpath: yes > > enable_xwin: yes enable_tcl: no > enable_tk: no enable_itcl: no > enable_cxx: yes enable_python: no > enable_f77: yes enable_java: no > enable_octave: no enable_gnome: no I can then compile and run all the examples with the xwin device, I haven't tested all the other devices. > In a second step I went into the sys/win32/msdev directory, > and I followed your instructions until step 5, which fails > with the following message: > > --------------------------------------------------------------------------------- > /D/Downloads/plplot-5.1.0/sys/win32/msdev/plplib $ nmake plplib.mak > > Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 > Copyright (C) Microsoft Corp 1988-1998. All rights reserved. > > No configuration specified. Defaulting to plplib - Win32 Debug. > Warning: cannot find "plplib.dep" > if not exist ".\Release/" mkdir ".\Release" > cl.exe /nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LI > B" /Fo".\Release\\" /Fd".\Release\\" /FD /c ..\..\..\..\tmp\plcore.cpp > plcore.cpp > ..\..\..\..\tmp\plplot/plplotP.h(94) : fatal error C1034: ctype.h: no include pa > th set > NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' > Stop. > ---------------------------------------------------------------------------------- I got exactly the same question from another person who found the solution himself: > Wayne Richardson wrote: > > Dear Sir, > > I am able to compile and run PLPLOT !! Thanks very much for your > help. > > You actually gave the solution to the problem in the readme.txt file. > The relevent part reads `` make sure that you can execute the `` > nmake'' command on a MS-DOS prompt command line.'' Running nmake from > the command line requires the setting of many more environmental > variables than I had set and in fact the issue was addressed in a note > on MS Knowledge base. More importantly, the settings to run nmake are > contained in the file Vcvars32.bat which is in the VC98\bin > directory. Hence by either first executing Vcvars32.bat, or placing > it in the autoexec.bat file, it is possible to make nmake work > properly. > > Again, thanks very much for you help. > > Respectfully, > W. Richardson I hope this helps! Regards, Olof |