fixed connected_components compile error by kckjn97 · Pull Request #58 · GraphChi/graphchi-cpp · GitHub
Skip to content

fixed connected_components compile error#58

Merged
akyrola merged 1 commit into
GraphChi:masterfrom
kckjn97:master
Jan 2, 2019
Merged

fixed connected_components compile error#58
akyrola merged 1 commit into
GraphChi:masterfrom
kckjn97:master

Conversation

@kckjn97

@kckjn97 kckjn97 commented Aug 22, 2018

Copy link
Copy Markdown
Contributor

I use g++ 7.3.0 and Ubuntu 18.04.
I cloned graphchi-cpp and typed "make".
I saw the following error and fixed the error.

/usr/include/c++/7/bits/stl_pair.h:443:5: note: template argument deduction/substitution failed:
In file included from /usr/include/dirent.h:245:0,
from ./src/preprocessing/conversions.hpp:34,
from ./src/graphchi_basic_includes.hpp:54,
from example_apps/connectedcomponents.cpp:50:
./src/util/labelanalysis.hpp:169:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::pair<_T1, _T2>’
if (resf == NULL) {
^
Makefile:31: recipe for target 'example_apps/connectedcomponents' failed
make: *** [example_apps/connectedcomponents] Error 1

@akyrola akyrola merged commit 6461c89 into GraphChi:master Jan 2, 2019
@akyrola

akyrola commented Jan 2, 2019

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants