Bug 30294

Summary: win32+vc build broken for 1.10.0
Product: cairo Reporter: liang jian <jianliang79>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: critical    
Priority: medium    
Version: 1.10.0   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:

Description liang jian 2010-09-20 19:46:57 UTC
1) src/Makefile.sources contain some thing like that:
    if CAIRO_HAS_PDF_SURFACE
        req_cairo_deflate_stream_sources = $(cairo_deflate_stream_sources)
    endif

    this should be changed to:
    ifeq ($(CAIRO_HAS_PDF_SURFACE),1)
        req_cairo_deflate_stream_sources = $(cairo_deflate_stream_sources)
    endif

    otherwise, the make shipped in MSYS can't recognize the syntax.

2) in src/cairoint.h, _cairo_lround is defined to lround which is only availble in GCC,visual c++ can't find lround.
Comment 1 Andrea Canciani 2011-06-20 01:49:36 UTC
Both issues should be fixed in current master.
Please reopen (providing the error messages) if they still happen to you.

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.