compiling error of graphchi

66 views
Skip to first unread message

XL

unread,
Nov 20, 2014, 5:52:54 AM11/20/14
to graphchi...@googlegroups.com
Hi,

The following is the error I got when I compiled my code on redhat. But there is no error when I tried it on Centos. Does anyone know how to correct it? Thanks!!!


g++ -g -O3 -I/usr/local/include/ -I./src/  -fopenmp -Wall -Wno-strict-aliasing  -Iexample_apps/ example_apps/communitydetection_st.cpp -o bin/example_apps/communitydetection_st -lz
example_apps/communitydetection_st.cpp: In function ‘int main(int, const char**)’:
example_apps/communitydetection_st.cpp:249: error: cannot declare variable ‘callback’ to be of abstract type ‘OutputVertexCallback’
example_apps/communitydetection_st.cpp:201: note:   because the following virtual functions are pure within ‘OutputVertexCallback’:
./src/api/vertex_aggregator.hpp:55: note:       void graphchi::VCallback<VertexDataType>::callback(graphchi::vid_t, VertexDataType&) [with VertexDataType = unsigned int]
example_apps/communitydetection_st.cpp:250: error: no matching function for call to ‘foreach_vertices(std::string&, int, size_t, OutputVertexCallback&, FILE*&)’
make: *** [example_apps/communitydetection_st] Error 1

Reply all
Reply to author
Forward
0 new messages