PDA

View Full Version : Poppler building problem under MSVS2008



Annihilator
15th February 2010, 12:37
Hi!
I try to build poppler-0.12.3 under MSVS2008 SP1. I`ve done as described in README.windows.
I`ve built freetype, libjpeg, zlib. But when I try to compile poppler like nmake -f makefile.vc TARGET=rel' (or TARGET=dbg) I get lots of linker errors:


Annot.obj : error LNK2001: unresolved external symbol "public: class Movie * __thiscall Movie::copy(void)" (?copy@Movie@@QAEPAV1@XZ)
Annot.obj : error LNK2001: unresolved external symbol "public: void __thiscall Movie::parseAnnotMovie(class AnnotMovie *)"
Annot.obj : error LNK2001: unresolved external symbol "public: __thiscall Movie::~Movie(void)"
Annot.obj : error LNK2001: unresolved external symbol "public: __thiscall Movie::Movie(void)"
Annot.obj : error LNK2001: unresolved external symbol "class GooString * __cdecl timeToDateString(__int64 *)"
Annot.obj : error LNK2001: unresolved external symbol "int __cdecl getFileSpecNameForPlatform(class Object *,class Object *)"
Annot.obj : error LNK2001: unresolved external symbol _gatof
Annot.obj : error LNK2001: unresolved external symbol "public: bool __thiscall OCGs::optContentIsVisible(class Object *)"
Catalog.obj : error LNK2001: unresolved external symbol "public: __thiscall OCGs::~OCGs(void)" (??1OCGs@@QAE@XZ)
Catalog.obj : error LNK2001: unresolved external symbol "public: __thiscall OCGs::OCGs(class Object *,class XRef *)"
Function.obj : error LNK2001: unresolved external symbol "public: class PopplerCacheKey * __thiscall PopplerCache::key(int)"
Function.obj : error LNK2001: unresolved external symbol "public: class PopplerCacheItem * __thiscall PopplerCache::item(int)"
Function.obj : error LNK2001: unresolved external symbol "public: int __thiscall PopplerCache::numberOfItems(void)"
Function.obj : error LNK2001: unresolved external symbol "public: int __thiscall PopplerCache::size(void)"
Function.obj : error LNK2001: unresolved external symbol "public: void __thiscall PopplerCache::put(class PopplerCacheKey *,class PopplerCacheItem *)"
Function.obj : error LNK2001: unresolved external symbol "public: class PopplerCacheItem * __thiscall PopplerCache::lookup(class PopplerCacheKey const &)"
Function.obj : error LNK2001: unresolved external symbol "public: __thiscall PopplerCache::~PopplerCache(void)"
Function.obj : error LNK2001: unresolved external symbol "public: __thiscall PopplerCache::PopplerCache(int)"
Function.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall PopplerCacheItem::~PopplerCacheItem(void)"
Function.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall PopplerCacheKey::~PopplerCacheKey(void)"
Gfx.obj : error LNK2001: unresolved external symbol "public: class Object * __thiscall PopplerObjectCache::lookup(struct Ref const &,class Object *)"
Gfx.obj : error LNK2001: unresolved external symbol "public: class Object * __thiscall PopplerObjectCache::put(struct Ref const &)"
Gfx.obj : error LNK2001: unresolved external symbol "public: __thiscall PopplerObjectCache::~PopplerObjectCache(void)"
Gfx.obj : error LNK2001: unresolved external symbol "public: __thiscall PopplerObjectCache::PopplerObjectCache(int,class XRef *)"
Link.obj : error LNK2001: unresolved external symbol "public: void __thiscall Movie::parseMediaRendition(class Object *)"
SplashBitmap.obj : error LNK2001: unresolved external symbol "public: __thiscall JpegWriter::JpegWriter(void)"
rel\perftest.exe : fatal error LNK1120: 26 unresolved externals

I can not understand the reason. e.g. Movie::copy method. I have it in header and in source file, but why does linker error occurs?

Annihilator
18th February 2010, 08:18
Seems nobody had this issue
May anybody have complilled under MSVS2008 binaries.