Seems like I have a similiar Problem, using ubuntu 13.10 on a 64-Bit
machine.
The boost library + python seems to have a Problem, Everything works fine
until the first function uses the boos library... my guess.
Example:
# -*- coding: utf-8 -*-
import numpy as np
import graph_tool.all as gt
import graph_tool.topology as gt_topo
G = gt.Graph()
G_sub = gt.Graph()
#Decleration of needed properties
v_prop_entity = G.new_vertex_property("string")
v_prop_globalName = G.new_vertex_property('string')
e_prop_type = G.new_edge_property('string')
#gt_topo.subgraph_isomorphism()
v1 = G.add_vertex()
v2 = G.add_vertex()
v3 = G_sub.add_vertex()
e1 = G.add_edge(v1, v2)
#v_prop_entity[v1] = 'car'
#make internal property maps
G.vertex_properties['type'] = v_prop_entity
G.vertex_properties['globalName'] = v_prop_globalName
G.edge_properties['type'] = e_prop_type
G_sub.vertex_properties['type'] = v_prop_entity
G_sub.vertex_properties['globalName'] = v_prop_globalName
G_sub.edge_properties['type'] = e_prop_type
#write/change internal property maps
G.vertex_properties['type'][v1] = 'Car'
G.vertex_properties['type'][v2] = 'T-Crossing'
G_sub.vertex_properties['type'][v1] = 'Car'
#gt_topo.subgraph_isomorphism(G_sub, G, (G_sub.vertex_properties['type'], \
# G.vertex_properties['type']) )
print gt_topo.subgraph_isomorphism(G_sub, G)
following error:
xxx:~/Code$ python graph-tool_test2.py
Speicherzugriffsfehler (Speicherabzug geschrieben)
which means: memory <http://www.dict.cc/englisch-deutsch/memory.html>
access<http://www.dict.cc/englisch-deutsch/access.html>
error:
The problem occurs, when using the subgraph_isomorphism function...
Am Donnerstag, 2. Januar 2014 13:44:21 UTC+1 schrieb Liu:
>
> Hi,everyone
>
> I have some problems with installing graph-tools.
> After I execure ./configure graph-tools, it stops with a message saying
> libstdc++ config.status: executing libtool commands
> configure: Modifying libtool to correctly link libstdc++ before anything
> else...I am not fimiliar with Linux...so I don't know how I can I link my
> libstd to libtool.
>
> I install boost-1.55.0 ipython-dev, python with spyder, scipy, numpy,
> expat, cgal and sparsehash. My OS is Ubuntu 13.10 64bit with gnome 3.10.
>
> The Internet access is not good. So I cannot use the sources that you
> provide.
>
> thx for help,
> Liu
>
>
>
> --
> View this message in context:
> http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Ubuntu-13-10-cannot-configure-properly-tp4025270.html
>
> Sent from the Main discussion list for the graph-tool project mailing list
> archive at Nabble.com.
> _______________________________________________
> graph-tool mailing list
> [email protected] <javascript:>
> http://lists.skewed.de/mailman/listinfo/graph-tool
>
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool