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