Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
graph-tool
graph-tool
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 43
    • Issues 43
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards

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 mailing list at https://graph-tool.skewed.de/mailing
(If unsure, use the mailing list first.)



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
  • #121

Closed
Open
Opened Aug 06, 2014 by Tiago Peixoto@count0Maintainer

Build errors on Scientific Linux 6.4

There are two different build errors in 2.2.26 when building graph-tool on Scientific Linux 6.4 (and presumably Redhat and CentOS).

  1. the SL cairomm package installs the file cairommconfig.h in the same subdirectory as context.h and surface.h, which causes the include in src/graph/draw/graph_cairo_draw.cc:35 to fail.

  2. In three separate places g++ complains about the use of typename outside a template.

e.g. graph_subgraph_isomorphism.cc:212: error: using 'typename' outside of template graph_subgraph_isomorphism.cc:215: error: using 'typename' outside of template graph_python_interface.cc:265: error: using 'typename' outside of template

I'm not a c++ expert, but a quick googling makes it seem that this usage is only available in c++0x. Removing 'typename' from each of these cases allowed the code to compile, but I can't be sure correctly.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: count0/graph-tool#121