<div dir="ltr"><div style>If I compile poppler with ./configure, make, I succeed but it goes without qt4</div><div style><br></div><div style>If I am running cmake and then make, compilation breaks (see below)</div><div style>
<br></div><div style><br></div><div style><div>MacOSX 10.8.2</div><div>Qt4: Qt4.8</div>Poppler: latest from git <div><br></div><div style>PS Before I never compiled poppler with cmake </div><div style><br></div><div style>
<br></div><div>Victor</div></div><div style><br></div><div style><br></div><div style><br></div><div style><br></div><div style> </div><div style><div>Linking CXX shared library libpoppler-glib.dylib</div><div>Undefined symbols for architecture x86_64:</div>
<div> "_g_file_get_type", referenced from:</div><div> _poppler_document_new_from_gfile in poppler-document.cc.o</div><div> "_g_file_get_uri", referenced from:</div><div> _poppler_document_new_from_gfile in poppler-document.cc.o</div>
<div> "_g_file_info_get_size", referenced from:</div><div> PopplerCachedFileLoader::init(GooString*, CachedFile*) in poppler-cached-file-loader.cc.o</div><div> "_g_file_input_stream_get_type", referenced from:</div>
<div> _poppler_document_new_from_stream in poppler-document.cc.o</div><div> PopplerCachedFileLoader::init(GooString*, CachedFile*) in poppler-cached-file-loader.cc.o</div><div> "_g_file_input_stream_query_info", referenced from:</div>
<div> PopplerCachedFileLoader::init(GooString*, CachedFile*) in poppler-cached-file-loader.cc.o</div><div> "_g_file_is_native", referenced from:</div><div> _poppler_document_new_from_gfile in poppler-document.cc.o</div>
<div> "_g_file_read", referenced from:</div><div> _poppler_document_new_from_gfile in poppler-document.cc.o</div><div> "_g_input_stream_get_type", referenced from:</div><div> _poppler_document_new_from_stream in poppler-document.cc.o</div>
<div> _poppler_document_new_from_gfile in poppler-document.cc.o</div><div> "_g_input_stream_read", referenced from:</div><div> PopplerCachedFileLoader::init(GooString*, CachedFile*) in poppler-cached-file-loader.cc.o</div>
<div> PopplerCachedFileLoader::load(std::vector<_ByteRange, std::allocator<_ByteRange> > const&, CachedFileWriter*) in poppler-cached-file-loader.cc.o</div><div> PopplerInputStream::fillBuf() in poppler-input-stream.cc.o</div>
<div> PopplerInputStream::getChars(int, unsigned char*) in poppler-input-stream.cc.o</div><div> PopplerInputStream::getChar() in poppler-input-stream.cc.o</div><div> PopplerInputStream::lookChar() in poppler-input-stream.cc.o</div>
<div> "_g_io_error_quark", referenced from:</div><div> _poppler_document_new_from_stream in poppler-document.cc.o</div><div> "_g_memory_input_stream_get_type", referenced from:</div><div> _poppler_document_new_from_stream in poppler-document.cc.o</div>
<div> "_g_seekable_can_seek", referenced from:</div><div> _poppler_document_new_from_stream in poppler-document.cc.o</div><div> "_g_seekable_get_type", referenced from:</div><div> _poppler_document_new_from_stream in poppler-document.cc.o</div>
<div> PopplerCachedFileLoader::load(std::vector<_ByteRange, std::allocator<_ByteRange> > const&, CachedFileWriter*) in poppler-cached-file-loader.cc.o</div><div> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o</div>
<div> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o</div><div> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o</div><div> PopplerInputStream::reset() in poppler-input-stream.cc.o</div>
<div> PopplerInputStream::close() in poppler-input-stream.cc.o</div><div> ...</div><div> "_g_seekable_seek", referenced from:</div><div> PopplerCachedFileLoader::load(std::vector<_ByteRange, std::allocator<_ByteRange> > const&, CachedFileWriter*) in poppler-cached-file-loader.cc.o</div>
<div> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o</div><div> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o</div><div> PopplerInputStream::~PopplerInputStream() in poppler-input-stream.cc.o</div>
<div> PopplerInputStream::reset() in poppler-input-stream.cc.o</div><div> PopplerInputStream::close() in poppler-input-stream.cc.o</div><div> PopplerInputStream::setPos(long long, int) in poppler-input-stream.cc.o</div>
<div> ...</div><div> "_g_seekable_tell", referenced from:</div><div> PopplerInputStream::reset() in poppler-input-stream.cc.o</div><div> PopplerInputStream::setPos(long long, int) in poppler-input-stream.cc.o</div>
<div>ld: symbol(s) not found for architecture x86_64</div><div>clang: error: linker command failed with exit code 1 (use -v to see invocation)</div><div>make[2]: *** [glib/libpoppler-glib.8.6.0.dylib] Error 1</div><div>make[1]: *** [glib/CMakeFiles/poppler-glib.dir/all] Error 2</div>
<div>make: *** [all] Error 2</div><div><br></div></div><div><br></div><div style><br></div></div>