Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • graph-tool graph-tool
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Please use the issue tracker only to report bugs (i.e. errors in the library that need to be fixed) or feature requests.

For questions about how to compile, install or use the library, please use instead the web forum at https://forum.skewed.de/c/graph-tool.


(If unsure, use the forum first.)


IMPORTANT: When opening new issues, please choose the BUG template from the drop-down menu, and fill out the required information.

  • Tiago Peixoto
  • graph-toolgraph-tool
  • Issues
  • #410
Closed
Open
Issue created Aug 02, 2017 by Aleksandar Trifunovic@akstrfnContributor

Build issue on Ubuntu 16.04 due to wrong pkg-config CFLAGS in cairomm

Hi Tiago,

I have a build issue that I think is a bug. I think the flag is reset to c++11 after cairo file build.

After compiling cairo the next file fails:

CXX graph_cairo_draw.lo CXX graph_tree_cts.lo

The first error is (among many others ofc 😄 ): error: 'auto' return without trailing return type; deduced return types are a C++14 extension

================================================================================
                             CONFIGURATION SUMMARY                              
================================================================================
Using python version:   3.5.2
Python interpreter:     /usr/bin/python3.5
Installation path:      /usr/lib/python3/dist-packages/graph_tool

C++ compiler (CXX):     clang++-4.0 -std=gnu++14
C++ compiler version:   4.2.1

Prefix:                 /usr/local
Pkgconfigdir:           ${libdir}/pkgconfig

Python CPP flags:       -I/usr/include/python3.5m
Python LD flags:        -L/usr/lib -lpython3.5m
Boost CPP flags:        -pthread -I/usr/include
Boost LD flags:         -lboost_iostreams -lboost_python-py35 -lboost_regex -lboost_coroutine
Numpy CPP flags:        -I/usr/local/lib/python3.5/dist-packages/numpy/core/include
Sparsehash CPP flags:   
CGAL CPP flags:         -I/usr/include
CGAL LD flags:          -L/usr/lib -lCGAL -lCGAL_Core -lgmp -lboost_thread -lpthread
Expat CPP flags:        -I/usr/include
Expat LD flags:         -L/usr/lib -lexpat
Cairomm CPP flags:      -std=c++11 -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include
Cairomm LD flags:       -lcairomm-1.0 -lcairo -lsigc-2.0
OpenMP compiler flags:  -fopenmp
OpenMP LD flags:        -lomp 
Extra CPPFLAGS:         -DNDEBUG 
Extra CXXFLAGS:         -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 
Extra LDFLAGS:          

Using OpenMP:           yes
Using sparsehash:       yes
Using cairo:            yes
================================================================================
Edited Aug 03, 2017 by Tiago Peixoto
Assignee
Assign to
Time tracking