I tried to build the sharder_basic program with the latest download and it
failed with this error:
g++ -g -O3 -I/usr/local/include/ -I./src/ -fopenmp -Wall -Wno-strict-aliasing
src/preprocessing/sharder_basic.cpp -o bin/sharder_basic
In file included from ./src/preprocessing/conversions.hpp:36,
from src/preprocessing/sharder_basic.cpp:35:
./src/preprocessing/sharder.hpp: In member function ‘virtual void
graphchi::sharder<EdgeDataType>::write_shards()’:
./src/preprocessing/sharder.hpp:465: error: ‘degree’ was not declared in
this scope
./src/preprocessing/sharder.hpp:467: error: ‘degrees’ was not declared in
this scope
./src/preprocessing/sharder.hpp:469: error: expected primary-expression before
‘)’ token
./src/preprocessing/sharder.hpp:469: error: expected `;' before ‘calloc’
make: *** [sharder_basic] Error 1
Including the degree_data header seemed to fix this and I was able to build and
run basic_sharder after this
#include "engine/auxdata/degree_data.hpp"
Original issue reported on code.google.com by Jennifer...@gmail.com on 13 Jan 2013 at 3:16
Original issue reported on code.google.com by
Jennifer...@gmail.com
on 13 Jan 2013 at 3:16