Hi,<div><br></div><div>I am part of a team that works on porting a MAC OS application, that uses poppler version 10.7 ( available on Fink).<br></div><div>On building the application, the compilation fails with the following error:</div>
<div><br></div><div><div><font class="Apple-style-span" color="#000099">CompileC obj/TeXworks.build/Default/TeXworks.build/Objects-normal/i386/poppler-optcontent.o ../../../../opt/kde4/mac/include/poppler/qt4/poppler-optcontent.cc normal i386 c++ com.apple.compilers.gcc.4_2</font></div>
<div><font class="Apple-style-span" color="#000099">    cd /sw/src/fink.build/texworks-0.3-1/texworks-0.3</font></div><div><font class="Apple-style-span" color="#000099">    setenv LANG en_US.US-ASCII</font></div><div><font class="Apple-style-span" color="#000099">    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/sw/src/fink.build/texworks-0.3-1/texworks-0.3/obj/TeXworks.build/Default/TeXworks.build/TeXworks.hmap -F/sw/src/fink.build/texworks-0.3-1/texworks-0.3/build/Default -I/sw/src/fink.build/texworks-0.3-1/texworks-0.3/build/Default/include -I/sw/lib/qt4-mac/include/QtUiTools -I/sw/lib/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/sw/lib/qt4-mac/include/QtCore -I/sw/lib/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/sw/lib/qt4-mac/include/QtGui -I/sw/lib/qt4-mac/lib/QtXml.framework/Versions/4/Headers -I/sw/lib/qt4-mac/include/QtXml -I/sw/lib/qt4-mac/lib/QtScriptTools.framework/Versions/4/Headers -I/sw/lib/qt4-mac/include/QtScriptTools -I/sw/lib/qt4-mac/lib/QtScript.framework/Versions/4/Headers -I/sw/lib/qt4-mac/include/QtScript -I/sw/lib/qt4-mac/include -Isrc -I/sw/include/poppler -I/sw/opt/kde4/mac/include/poppler/qt4 -I/sw/include/hunspell -I/sw/lib/fontconfig2/include -Imoc -Iui -I/sw/opt/kde4/mac/include -I/System/Library/Frameworks -I/sw/lib/qt4-mac/mkspecs/macx-xcode -I/sw/src/fink.build/texworks-0.3-1/texworks-0.3/obj/TeXworks.build/Default/TeXworks.build/DerivedSources/i386 -I/sw/src/fink.build/texworks-0.3-1/texworks-0.3/obj/TeXworks.build/Default/TeXworks.build/DerivedSources -pipe -DTW_BUILD_ID=personal -DHAVE_POPPLER_XPDF_HEADERS -fexceptions -g -Wall -W -DQT_SCRIPT_LIB -DQT_SCRIPTTOOLS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -c /sw/src/fink.build/texworks-0.3-1/texworks-0.3/../../../../opt/kde4/mac/include/poppler/qt4/poppler-optcontent.cc -o /sw/src/fink.build/texworks-0.3-1/texworks-0.3/obj/TeXworks.build/Default/TeXworks.build/Objects-normal/i386/poppler-optcontent.o</font></div>
</div><div><br></div><div><div><font class="Apple-style-span" color="#000099"><b>/sw/src/fink.build/texworks-0.3-1/texworks-0.3/../../../../opt/kde4/mac/include/poppler/qt4/poppler-optcontent.cc:428:34: error: poppler-optcontent.moc: No such file or directory</b></font></div>
</div><div><br></div><div>As seen in the above error message, the poppler-optcontent.moc file (which is included in the poppler-optcontent.cc file), is not available while compilation.</div><div><br></div><div>The poppler 10.7 version&#39;s source folder also has only a file by the name poppler-optcontent.cc and no .moc file.</div>
<div><br></div><div>Could anyone please provide some suggestions/ideas as to the cause for this error and for resolving the same.</div><div><br></div><div><br></div><div>Thanks &amp; Regards,</div><div>Sreenidhi T</div>