|
From: Joachim W. <wu...@cr...> - 2002-12-04 16:39:53
|
Hi Olof,=20
after importing plplot into Visual Studio, I succeed in compiling all =
files but one:
in plstub.cpp there is a problem in line 606:
void WINAPI
plshade(PLFLT **a, PLINT nx, PLINT ny, const char **defined,
PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
PLFLT shade_min, PLFLT shade_max,
PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
PLINT min_color, PLINT min_width,
PLINT max_color, PLINT max_width,
void (API *fill) (PLINT, PLFLT *, PLFLT *), PLINT rectangular, // =
this is line 606
The error message reads as follows:
compiling...
plstub.cpp
D:\plplot\win32\plstub.cpp(606) : error C2143: syntax error : missing =
')' before '*'
D:\plplot\win32\plstub.cpp(606) : error C2143: syntax error : missing =
',' before '*'
D:\plplot\win32\plstub.cpp(606) : error C2182: 'API' : illegal use of =
type 'void'
D:\plplot\win32\plstub.cpp(606) : error C2059: syntax error : '*'
D:\plplot\win32\plstub.cpp(606) : error C2091: function returns function
D:\plplot\win32\plstub.cpp(606) : error C2146: syntax error : missing =
';' before identifier 'rectangular'
D:\plplot\win32\plstub.cpp(606) : error C2182: 'PLINT' : illegal use of =
type 'void'
D:\plplot\win32\plstub.cpp(606) : error C2377: 'PLINT' : redefinition; =
typedef cannot be overloaded with any other symbol
D:\plplot\plplot/plplot.h(130) : see declaration of 'PLINT'
D:\plplot\win32\plstub.cpp(606) : fatal error C1004: unexpected end of =
file found
Thanks for any help - Joachim
|