Menu

#139 build process fails if cairo present, but tk not

ecolab
closed
nobody
None
1
2015-10-21
2014-02-20
No

If cario development headers are present, but tk is not, build process fails with the following error:

src/analysis.cc
include/plot.h:41:5: error: ‘SurfacePtr’ in namespace ‘ecolab::cairo’ does not name a type

This was a bit hard to track down, but looking a little deeper:

include/cairo_base.h:10
#if defined(CAIRO) && defined(TK)
#include "tcl++.h"
#include "classdesc.h"
#include "arrays.h"

#include <cairo cairo.h="">
...</cairo>

So cairo headers aren't being included at all if TK isn't present. Install tk, and all is well.

Regards

Discussion

  • Anonymous

    Anonymous - 2014-06-15

    Thanks. Worked.

     
  • High Performance Coder

    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB