Bug 106332 - Compile error while building poppler
Summary: Compile error while building poppler
Status: RESOLVED WONTFIX
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-01 11:04 UTC by Niraj Kumar Pandey
Modified: 2018-05-01 11:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Niraj Kumar Pandey 2018-05-01 11:04:37 UTC
Here is the error:


poppler-0.64.0/utils/pdftocairo.cc:274:1: warning: missing initializer for member 'ArgDesc::kind' [-Wmissing-field-initializers]

poppler-0.64.0/utils/pdftocairo.cc:274:1: warning: missing initializer for member 'ArgDesc::val' [-Wmissing-field-initializers]

/poppler-0.64.0/utils/pdftocairo.cc:274:1: warning: missing initializer for member 'ArgDesc::size' [-Wmissing-field-initializers]

/poppler-0.64.0/utils/pdftocairo.cc:274:1: warning: missing initializer for member 'ArgDesc::usage' [-Wmissing-field-initializers]


poppler-0.64.0/utils/pdftocairo.cc:301:17: error: 'CAIRO_ANTIALIAS_FAST' was not declared in this scope
   { "fast",     CAIRO_ANTIALIAS_FAST },

poppler-0.64.0/utils/pdftocairo.cc:302:17: error: 'CAIRO_ANTIALIAS_GOOD' was not declared in this scope
   { "good",     CAIRO_ANTIALIAS_GOOD },
                 ^
poppler-0.64.0/utils/pdftocairo.cc:303:17: error: 'CAIRO_ANTIALIAS_BEST' was not declared in this scope
   { "best",     CAIRO_ANTIALIAS_BEST },
                 ^
make[2]: *** [utils/CMakeFiles/pdftocairo.dir/pdftocairo.cc.o] Error 1
make[1]: *** [utils/CMakeFiles/pdftocairo.dir/all] Error 2
make: *** [all] Error 2


I am using "cairo = 1.10.2" , "glib = 2.48.0" "gcc = 4.8.3"
Platform:  RHEL 6.5  (x86_64)

Please let me know in case you need any other information

Thanks
Niraj
Comment 1 Niraj Kumar Pandey 2018-05-01 11:28:05 UTC
Ignore this . Seems CAIRO_ANTIALIAS_BEST has been since cairo-1.12 and I am using versiom 1.10.

Thanks


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.