Hi all!

I have been trying to get plplot with pdf support to compile on mingw for
quite some time now. The goal is to have a static lib that can plot and
output it in pdf. I have used postscript output before and it works
perfectly.

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?
The steps i take to get this error:
1. download and compile libharu-2.0.8 source package for mingw. (cygwin with
--nocygwin)
2. configure plplot-5.7.3 using cmake-setup, set PLD_pdf to on and give the
library and include directories when asked. select to compile to static lib.
3. compile plplot using mingw32-make.exe

The same error as below also occurs when plrender.exe is linked.

Any suggestions, hints or ideas are wery welcome!

Best regards,
Simon


g++.exe main.o logprocessor.o  -o "out.exe" -L"C:/Dev-Cpp/plplot-5.7.3/lib"
-L"C:/Dev-Cpp/plplot-5.7.3/buildmingw/bindings/c++" -L"C:/Dev-Cpp/plplot-
5.7.3/buildmingw/src" -L"C:/Dev-Cpp/plplot-5.7.3/buildmingw/lib/csa"
-L"C:/Dev-Cpp/libharu-2.0.8" -llibboost_regex-mgw-mt-s-1_33_1
-llibboost_filesystem-mgw-mt-s-1_33_1 -lplplotcxxd -lplplotd -lcsirocsa
-lgdi32 -lcomdlg32 -lhpdf

C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x24e):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x286):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x2c8):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x2ee):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x337):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x3a3):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x3b6):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x3dc):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x414):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x437):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x458):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x47b):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x48e):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x4e2):
pdf.c: undefined reference to [EMAIL PROTECTED]'

C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x4fd):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x561):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x57c):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x59d):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x5be):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x5d1):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x636):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x648):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x676):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x6a6):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x714):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x7a0):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x7bb):
pdf.c: undefined reference to [EMAIL PROTECTED]'

C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x7d6):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x83a):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x89e):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x8c3):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x905):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x926):
pdf.c: undefined reference to [EMAIL PROTECTED]'
C:/Dev-Cpp/plplot-5.7.3/buildmingw/src/libplplotd.a(pdf.obj)(.text+0x93b):
pdf.c: undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status

mingw32-make: *** [out.exe] Error 1

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