From: Dumm, J. J. <Jef...@jh...> - 2004-10-29 14:33:12
|
-----Original Message----- From: Olof Svensson [mailto:sve...@es...] Sent: Friday, October 29, 2004 2:59 AM To: Dumm, Jeffrey J. Subject: Re: Trouble with Makefile Dear Jeffery, I'm sorry but I'm no longer involved in the plplot development. Please=20 contact Arjen Markus (arj...@wl...) or send your question to=20 the plplot development list (plp...@li...). Best regards, Olof Dumm, Jeffrey J. wrote: > Olof, > I am trying to install PLplot-5.3.1 to be used with MSDEV 6.0. It = fails=20 > at step 4.5 in the attached INSTALL.txt. >=20 > <<INSTALL.TXT>> >=20 > I get the following message: >=20 > No Configuration Specified. Defaulting to plplib - Win32 Debug. >=20 > Warning: cannot find "plplib.dep" >=20 > cl.exe /nologo /0x /MD /W3 /GX /D "WIN32" /D "NDEBUG" /D "_MBCS" /D=20 > "_LIB" ? "BUILD_DIR =3D"|"tmp\""" /Fo".\Release\\ " /Fd".\Release\\" = /FD=20 > /c ..\..\..\tmp\plot3d.c >=20 > plot3d.c > ..\..\..\..\tmp\plot3d.c<281> : warning C4013: 'c_plsurf3dl' = undefined;=20 > assuming extern return int > ..\..\..\..\tmp\plot3d.c<325> : error c2371: 'c_plsurf3dl' :=20 > redefinition; different basic types >=20 > ..\..\..\..\tmp\plot3d.c<653> : warning C4013: 'c_plsurf3dcl' = undefined;=20 > assuming extern return int > ..\..\..\..\tmp\plot3d.c<776> : error c2371: 'c_plsurf3dcl' :=20 > redefinition; different basic types >=20 > NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' >=20 > Stop >=20 >=20 > Do you have any suggestions as to how to correct this? >=20 >=20 > J. Dumm >=20 > Johns Hopkins University > (240) 228-7408 >=20 >=20 >=20 >=20 > = ------------------------------------------------------------------------ >=20 > Installation instructions for the win32/msdev port of plplot > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > 1. Introduction >=20 > This file contains information on how to compile and run the=20 > plplot library using MS Visual C++ on PCs running MS Windows=20 > 98/NT/2000 (the current distribution has not been tested on=20 > neither 95 nor XP however it should normally work on these=20 > two versions of Windows as well.)=20 >=20 > Please note that the work on the win32/msdev port is under=20 > progress. These instructions will tell you how to build > the plplot.lib library and all the C examples except x14c > and x17c. However, the work on the plplot.dll is not yet > finished. For more information about the win32/msdev port=20 > of plplot please see plplot/sys/win32/msdev/README.TXT. >=20 >=20 > 2. Requirements >=20 > You'll need MS Visual C++ version 5, 6 or higher for building=20 > plplot. You might be able to use an earlier version of Visual C++=20 > but you will probably not be able to use the provided makfiles. > You will also need to make sure that you can execute the "nmake" > command on a MS-DOS promt command line.=20 >=20 >=20 > 3. Source files >=20 > You can extract the sources of plplot in any directory you want. >=20 >=20 > 4. Compilation >=20 > 4.1 Open a MS-DOS prompt window. > 4.2 Change directory to plplot\sys\win32\msdev > 4.3 Type "nmake". The files needed for the compilation of > plplot will be copied to plplot\tmp. > 4.4 Change directory to plplot\sys\win32\msdev\plplib. > 4.5 Type "nmake plplib.mak". The plplot.lib library will > be built and placed in the same directory. > 4.6 Change directory to plplot\sys\win32\msdev\Examples. > 4.7 Type "nmake Examples.mak". All C examples will be=20 > built except x14c and x17c in the plplot/tmp > directory. (For comments about the examples see > plplot\sys\win32\msdev\README.TXT.) >=20 >=20 > 5. Running plplot >=20 > You can run the C examples directly from plplot\tmp. However, > if you would like to run your programs in a different directory > you have to make sure that plplot can find the font files > (located in plplot/lib with the extension .fnt): >=20 > 5.1 Set the environment variable PLPLOT_HOME to point to > where you have installed plplot, e.g. > SET PLPLOT_HOME=3D"C:\PLPLOT" > (see plplot\FAQ number 1.12) > 5.2 or simply make sure that the font files are in the same > directory where you execute your plplot program. >=20 >=20 > 6. Comments & suggestions >=20 > If you have comments or suggestions on how to improve the > win32/msdev port of plplot please dont't hesitate to contact=20 > me via email. >=20 >=20 > January 2002 >=20 > Olof Svensson > European Synchrotron Radiation Facility > email: sve...@es... >=20 |