[poppler] Compiling poppler with qt4
Albert Astals Cid
aacid at kde.org
Wed Feb 13 14:21:11 PST 2013
El Dimecres, 13 de febrer de 2013, a les 00:59:07, Victor Ivrii va escriure:
> If I compile poppler with ./configure, make, I succeed but it goes without
> qt4
>
> If I am running cmake and then make, compilation breaks (see below)
>
>
> MacOSX 10.8.2
> Qt4: Qt4.8
> Poppler: latest from git
>
> PS Before I never compiled poppler with cmake
It is failing in the glib part, you may want to disable the glib frontend if
you don't plan using it.
Cheers,
Albert
>
>
> Victor
>
>
>
>
>
> Linking CXX shared library libpoppler-glib.dylib
> Undefined symbols for architecture x86_64:
> "_g_file_get_type", referenced from:
> _poppler_document_new_from_gfile in poppler-document.cc.o
> "_g_file_get_uri", referenced from:
> _poppler_document_new_from_gfile in poppler-document.cc.o
> "_g_file_info_get_size", referenced from:
> PopplerCachedFileLoader::init(GooString*, CachedFile*) in
> poppler-cached-file-loader.cc.o
> "_g_file_input_stream_get_type", referenced from:
> _poppler_document_new_from_stream in poppler-document.cc.o
> PopplerCachedFileLoader::init(GooString*, CachedFile*) in
> poppler-cached-file-loader.cc.o
> "_g_file_input_stream_query_info", referenced from:
> PopplerCachedFileLoader::init(GooString*, CachedFile*) in
> poppler-cached-file-loader.cc.o
> "_g_file_is_native", referenced from:
> _poppler_document_new_from_gfile in poppler-document.cc.o
> "_g_file_read", referenced from:
> _poppler_document_new_from_gfile in poppler-document.cc.o
> "_g_input_stream_get_type", referenced from:
> _poppler_document_new_from_stream in poppler-document.cc.o
> _poppler_document_new_from_gfile in poppler-document.cc.o
> "_g_input_stream_read", referenced from:
> PopplerCachedFileLoader::init(GooString*, CachedFile*) in
> poppler-cached-file-loader.cc.o
> PopplerCachedFileLoader::load(std::vector<_ByteRange,
> std::allocator<_ByteRange> > const&, CachedFileWriter*) in
> poppler-cached-file-loader.cc.o
> PopplerInputStream::fillBuf() in poppler-input-stream.cc.o
> PopplerInputStream::getChars(int, unsigned char*) in
> poppler-input-stream.cc.o
> PopplerInputStream::getChar() in poppler-input-stream.cc.o
> PopplerInputStream::lookChar() in poppler-input-stream.cc.o
> "_g_io_error_quark", referenced from:
> _poppler_document_new_from_stream in poppler-document.cc.o
> "_g_memory_input_stream_get_type", referenced from:
> _poppler_document_new_from_stream in poppler-document.cc.o
> "_g_seekable_can_seek", referenced from:
> _poppler_document_new_from_stream in poppler-document.cc.o
> "_g_seekable_get_type", referenced from:
> _poppler_document_new_from_stream in poppler-document.cc.o
> PopplerCachedFileLoader::load(std::vector<_ByteRange,
> std::allocator<_ByteRange> > const&, CachedFileWriter*) in
> poppler-cached-file-loader.cc.o
> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o
> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o
> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o
> PopplerInputStream::reset() in poppler-input-stream.cc.o
> PopplerInputStream::close() in poppler-input-stream.cc.o
> ...
> "_g_seekable_seek", referenced from:
> PopplerCachedFileLoader::load(std::vector<_ByteRange,
> std::allocator<_ByteRange> > const&, CachedFileWriter*) in
> poppler-cached-file-loader.cc.o
> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o
> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o
> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o
> PopplerInputStream::reset() in poppler-input-stream.cc.o
> PopplerInputStream::close() in poppler-input-stream.cc.o
> PopplerInputStream::setPos(long long, int) in
> poppler-input-stream.cc.o
> ...
> "_g_seekable_tell", referenced from:
> PopplerInputStream::reset() in poppler-input-stream.cc.o
> PopplerInputStream::setPos(long long, int) in
> poppler-input-stream.cc.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[2]: *** [glib/libpoppler-glib.8.6.0.dylib] Error 1
> make[1]: *** [glib/CMakeFiles/poppler-glib.dir/all] Error 2
> make: *** [all] Error 2
More information about the poppler
mailing list