<div dir="ltr">And how I disable glib with cmake? With ./configure qt4 is disabled</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 13, 2013 at 5:21 PM, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">El Dimecres, 13 de febrer de 2013, a les 00:59:07, Victor Ivrii va escriure:<br>
<div class="im">> If I compile poppler with ./configure, make, I succeed but it goes without<br>
> qt4<br>
><br>
> If I am running cmake and then make, compilation breaks (see below)<br>
><br>
><br>
> MacOSX 10.8.2<br>
> Qt4: Qt4.8<br>
> Poppler: latest from git<br>
><br>
> PS Before I never compiled poppler with cmake<br>
<br>
</div>It is failing in the glib part, you may want to disable the glib frontend if<br>
you don't plan using it.<br>
<br>
Cheers,<br>
Albert<br>
<div><div class="h5"><br>
><br>
><br>
> Victor<br>
><br>
><br>
><br>
><br>
><br>
> Linking CXX shared library libpoppler-glib.dylib<br>
> Undefined symbols for architecture x86_64:<br>
> "_g_file_get_type", referenced from:<br>
> _poppler_document_new_from_gfile in poppler-document.cc.o<br>
> "_g_file_get_uri", referenced from:<br>
> _poppler_document_new_from_gfile in poppler-document.cc.o<br>
> "_g_file_info_get_size", referenced from:<br>
> PopplerCachedFileLoader::init(GooString*, CachedFile*) in<br>
> poppler-cached-file-loader.cc.o<br>
> "_g_file_input_stream_get_type", referenced from:<br>
> _poppler_document_new_from_stream in poppler-document.cc.o<br>
> PopplerCachedFileLoader::init(GooString*, CachedFile*) in<br>
> poppler-cached-file-loader.cc.o<br>
> "_g_file_input_stream_query_info", referenced from:<br>
> PopplerCachedFileLoader::init(GooString*, CachedFile*) in<br>
> poppler-cached-file-loader.cc.o<br>
> "_g_file_is_native", referenced from:<br>
> _poppler_document_new_from_gfile in poppler-document.cc.o<br>
> "_g_file_read", referenced from:<br>
> _poppler_document_new_from_gfile in poppler-document.cc.o<br>
> "_g_input_stream_get_type", referenced from:<br>
> _poppler_document_new_from_stream in poppler-document.cc.o<br>
> _poppler_document_new_from_gfile in poppler-document.cc.o<br>
> "_g_input_stream_read", referenced from:<br>
> PopplerCachedFileLoader::init(GooString*, CachedFile*) in<br>
> poppler-cached-file-loader.cc.o<br>
> PopplerCachedFileLoader::load(std::vector<_ByteRange,<br>
> std::allocator<_ByteRange> > const&, CachedFileWriter*) in<br>
> poppler-cached-file-loader.cc.o<br>
> PopplerInputStream::fillBuf() in poppler-input-stream.cc.o<br>
> PopplerInputStream::getChars(int, unsigned char*) in<br>
> poppler-input-stream.cc.o<br>
> PopplerInputStream::getChar() in poppler-input-stream.cc.o<br>
> PopplerInputStream::lookChar() in poppler-input-stream.cc.o<br>
> "_g_io_error_quark", referenced from:<br>
> _poppler_document_new_from_stream in poppler-document.cc.o<br>
> "_g_memory_input_stream_get_type", referenced from:<br>
> _poppler_document_new_from_stream in poppler-document.cc.o<br>
> "_g_seekable_can_seek", referenced from:<br>
> _poppler_document_new_from_stream in poppler-document.cc.o<br>
> "_g_seekable_get_type", referenced from:<br>
> _poppler_document_new_from_stream in poppler-document.cc.o<br>
> PopplerCachedFileLoader::load(std::vector<_ByteRange,<br>
> std::allocator<_ByteRange> > const&, CachedFileWriter*) in<br>
> poppler-cached-file-loader.cc.o<br>
> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o<br>
> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o<br>
> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o<br>
> PopplerInputStream::reset() in poppler-input-stream.cc.o<br>
> PopplerInputStream::close() in poppler-input-stream.cc.o<br>
> ...<br>
> "_g_seekable_seek", referenced from:<br>
> PopplerCachedFileLoader::load(std::vector<_ByteRange,<br>
> std::allocator<_ByteRange> > const&, CachedFileWriter*) in<br>
> poppler-cached-file-loader.cc.o<br>
> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o<br>
> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o<br>
> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o<br>
> PopplerInputStream::reset() in poppler-input-stream.cc.o<br>
> PopplerInputStream::close() in poppler-input-stream.cc.o<br>
> PopplerInputStream::setPos(long long, int) in<br>
> poppler-input-stream.cc.o<br>
> ...<br>
> "_g_seekable_tell", referenced from:<br>
> PopplerInputStream::reset() in poppler-input-stream.cc.o<br>
> PopplerInputStream::setPos(long long, int) in<br>
> poppler-input-stream.cc.o<br>
> ld: symbol(s) not found for architecture x86_64<br>
> clang: error: linker command failed with exit code 1 (use -v to see<br>
> invocation)<br>
> make[2]: *** [glib/libpoppler-glib.8.6.0.dylib] Error 1<br>
> make[1]: *** [glib/CMakeFiles/poppler-glib.dir/all] Error 2<br>
> make: *** [all] Error 2<br>
</div></div>_______________________________________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>========================<br>Victor Ivrii, Professor, Department of Mathematics, University of Toronto<br><a href="http://www.math.toronto.edu/ivrii">http://www.math.toronto.edu/ivrii</a>
</div>