|
From: Ruwei L. <rw...@ph...> - 2006-05-26 20:58:22
|
Hi, all
I'm trying to use plplot library for a project. It works fine with
the static library , but it fails to
link when I using the dynamic library. I got the following error message:
------ Build started: Project: Tplot, Configuration: Debug
Win32 ------
Linking...
LINK : error LNK2020: unresolved token (0A0000B3) plD_dispatch_init_null
LINK : error LNK2020: unresolved token (0A0000B4) plD_dispatch_init_gif
LINK : error LNK2020: unresolved token (0A0000B5) plD_dispatch_init_jpeg
LINK : error LNK2020: unresolved token (0A0000B6) plD_dispatch_init_png
LINK : error LNK2020: unresolved token (0A0000B7) plD_dispatch_init_ljii
LINK : error LNK2020: unresolved token (0A0000B8)
plD_dispatch_init_ljiip
LINK : error LNK2020: unresolved token (0A0000B9) plD_dispatch_init_xfig
LINK : error LNK2020: unresolved token (0A0000BA) plD_dispatch_init_psc
LINK : error LNK2020: unresolved token (0A0000BB) plD_dispatch_init_psm
LINK : error LNK2020: unresolved token (0A0000BC) plD_dispatch_init_plm
LINK : error LNK2020: unresolved token (0A0000BD) plD_dispatch_init_win3
LINK : fatal error LNK1120: 11 unresolved externals
Tplot - 12 error(s), 0 warning(s)
I did put the "plplotd.lib", "plplotd.def", "plplotd.exp" and
"plplotd.dll" to the project directory, link
to "plplotd.lib", and also defined "__PLDLL_H__", is there anything I'm
still missing?
Any help or hint will be greatly appreciated.
Thanks
Ruwei Liu
|