From: Arjen M. <arj...@wl...> - 2006-05-30 06:29:51
|
Ruwei Liu wrote: > Hi, Arjen, > > I was about to send you the source code and project file when I > found that my project was using > C++ binding, and I tried to link it to the original plplotd.dll and a > new "plstream.dll" which I created using > the source code (with minor change) to support C++ binding. So those > error messages may not due to > plplotd.dll. It maybe caused by my "plstream.dll". Is it the right > way to create a c++ binding dll for plplot > just using the "plstream.cc" and "plstream.h"(change the declaration > of "class plstream" to "class __declspec(dllexport) plstream") > and link the project to "plplotd.dll"? Thanks a lot! > > I'm really really sorry for my mistake. I got so dippy with > adding on C++ binding, GD lib and/or freetype > to the Plplot library. Hi Ruwei, no need to apologise - building programs is a hazardous and complicated task. All the various options for using libraries do not help making it easier. Right now I do not have any experience using the C++ bindings under MSVC (more precisely the sys/win32/msdev platform), as I do not program in C++ myself. It may be worth looking at, but that is a task for the hopefully near future. I intended to get freetype and GD working correctly for this release, but there are a few wrinkles to iron out first. Regards, Arjen |