From: Arjen M. <arj...@wl...> - 2008-03-17 05:39:29
|
Hello, when I compile the C++ examples I get this error message: bash-3.2$ make /cygdrive/c/arjen/plplot-svn/plplot/examples/c++/x30.cc: In constructor `x30::x30(int, const char**)': /cygdrive/c/arjen/plplot-svn/plplot/examples/c++/x30.cc:185: error: call of overloaded `shades(PLFLT**&, int, int, NULL, double, double, double, double, PLFLT[101], int, int, int, int, void (&)(PLINT, PLFLT*, PLFLT*), int, NULL, NULL)' is ambiguous /cygdrive/c/arjen/plplot-svn/plplot/bindings/c++/plstream.h:679: note: candidates are: void plstream::shades(PLFLT**, PLINT, PLINT, PLINT (*)(PLFLT, PLFLT), PLFLT, PLFLT, PLFLT, PLFLT, PLFLT*, PLINT, PLINT, PLINT, PLINT, void (*)(PLINT, PLFLT*, PLFLT*), bool, void (*)(PLFLT, PLFLT, PLFLT*, PLFLT*, void*), void*) /cygdrive/c/arjen/plplot-svn/plplot/bindings/c++/plstream.h:1054: note: void plstream::shades(PLFLT**, PLINT, PLINT, PLINT (*)(PLFLT, PLFLT), PLFLT, PLFLT, PLFLT, PLFLT, PLFLT*, PLINT, PLINT, PLINT, PLINT, void (*)(PLINT, PLFLT*, PLFLT*),PLINT, void (*)(PLFLT, PLFLT, PLFLT*, PLFLT*, void*), void*) make[2]: *** [examples/c++/CMakeFiles/x30.dir/x30.o] Error 1 make[1]: *** [examples/c++/CMakeFiles/x30.dir/all] Error 2 make: *** [all] Error 2 bash-3.2$ I am not familiar enough with the C++ bindings to figure this one out (and I am facing some unexpected difficulties with the F77/F95 bindings for plimage()), so could someone have a look? This is with Cygwin on Windows XP, GCC version: 3.4.4, if that is relevant. Regards, Arjen |