From: Olof S. <sve...@es...> - 2002-11-27 15:23:57
|
Joachim Wuttke wrote: > > I built the plplot/tmp stuff with configuration option --with-double, > then I went to sys/win32/msdev and built plplib/plplot.lib without any further explicit configuring. The sys/win32/msdev port of plplot doesn't make use of configure, just nmake as mentioned in the INSTALL.txt file. How did you manage to run configure? Did you use cygwin? > As far as I see, the resulting object expects me to pass data as floats. > Is that correct, and how could I possibly build a double precision plplotd.lib ? As I didn't make use of configure I hardwired the compilation options into the makefile in plplot/sys/win32/msdev. If you'd like to use double instead of float make the following change and run nmake again: Makefile with float (i.e. current one): > # > # Create plconfig.h file > # > @echo `` > @echo `Creating $(PLTMP)\plplot\plconfig.h` > @echo <<$(PLTMP)\plplot\plconfig.h > #ifndef __PLCONFIG_H__ > #define __PLCONFIG_H__ > #define LIB_DIR "$(PLLIB:\=\\)" > #define BIN_DIR "$(PLBIN:\=\\)" > #define PLPLOT_VERSION "5.1.0" > #endif > <<keep Makefile with double: > # > # Create plconfig.h file > # > @echo `` > @echo `Creating $(PLTMP)\plplot\plconfig.h` > @echo <<$(PLTMP)\plplot\plconfig.h > #ifndef __PLCONFIG_H__ > #define __PLCONFIG_H__ > #define LIB_DIR "$(PLLIB:\=\\)" > #define BIN_DIR "$(PLBIN:\=\\)" > #define PLPLOT_VERSION "5.1.0" > #define PL_DOUBLE 1 > #endif > <<keep I hope this helps, Olof |