Hi Simon, yes, the pdf lib needs the zlib, if it's shared it's no problem, you just need to provide the zlib.dll but since you compiled it static you than need also to compile the zlib in.
Regarding the messages - these are internal message of plplot (I'm also always confused, but plLibOpenPdfstr has nothing to do with PDF :), and you should get rid of them, if you set in line 138 of drivers/pdf.c debug=0 and in line 136 verbose=0. Mind though, that the pdf driver is still beta, it's missing some features, especially the font handling might not be optimal. Regards, Werner Simon Lundell wrote: > Thanks. editing pdf.cmake seems to have solved that problem. I do get > a few undef references to zlib when compiling plrender.exe. I can > compile my program by linking it with zlib. > I do get a few messages when running the program. I do not know if > these are debug messages from the pdf driver or if they are error > messages. > //Simon > > plOpenFile: Opened C:\file.pdf > plLibOpenPdfstr: Found file (null) > the size of data is 47562 > -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general