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

On 6/27/07, Werner Smekal <[EMAIL PROTECTED]> wrote:

Hi Simon,

Simon Lundell wrote:
> I am getting undefined references to _imp__HPDF_methodname, see below.
> Am I missing some lib that should be linked in? Is there some problem
> with name decoration?
I think plplot awaits a shared pdf lib, while you compiled the static
lib. You can see from the output of the compiler what functions it wants
(the _imp_HPDF stuff). You can check with various tools what functions a
library contains, e.g. with the mingw command "nm" or "impdef" - you'll
see that these function names are not provided in the library.

Reason is that in "cmake/modules/pdf.cmake" I added "-DHPDF_DLL" into
the compiler options, since I assumed for the moment, that everybody is
using the shared library. If you delete this from the cmake file, it
should than compile. I haven't tested it, but this should be the solution.

Regards,
Werner

--
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

Reply via email to