[poppler] Error in compiling poppler-optcontent.cc file

Sreenidhi T sreenidhithiru at gmail.com
Tue Apr 5 08:06:36 PDT 2011


Hi,

I am part of a team that works on porting a MAC OS application, that uses
poppler version 10.7 ( available on Fink).
On building the application, the compilation fails with the following error:

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
    cd /sw/src/fink.build/texworks-0.3-1/texworks-0.3
    setenv LANG en_US.US-ASCII
    /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

*/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*

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.

The poppler 10.7 version's source folder also has only a file by the name
poppler-optcontent.cc and no .moc file.

Could anyone please provide some suggestions/ideas as to the cause for this
error and for resolving the same.


Thanks & Regards,
Sreenidhi T
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20110405/90e45264/attachment.htm>


More information about the poppler mailing list