From: Octavian A. <at...@ya...> - 2006-05-02 23:52:43
|
Hi all, I'm trying to build the dll version of plplot on windows XP and it doesn't seem to work. The static library builds OK, although with a lot of warnings. I am using VC6 and plplot-5.5.3 The command line is: > nmake plpdll.mak in the directory: ...plplot-5.5.3\sys\win32\msdev\plpdll I get the following error: ------------------------------------------------------- ..\..\..\..\tmp\plstub.cpp(655) : error C2664: 'c_plshade' : cannot convert para meter 4 from 'int (__cdecl *)(double,double)' to 'long (__cdecl *)(double,double )' This conversion requires a reinterpret_cast, a C-style cast or function- style cast ..\..\..\..\tmp\plstub.cpp(676) : error C2664: 'c_plshade1' : cannot convert par ameter 4 from 'int (__cdecl *)(double,double)' to 'long (__cdecl *)(double,doubl e)' This conversion requires a reinterpret_cast, a C-style cast or function- style cast NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' Stop. ------------------------------------------------------- Please let me know if there is a fix. The documentation seems to suggest that the DLL build on windows should work Thanks, --Tavi __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |