-
Notifications
You must be signed in to change notification settings - Fork 312
Description
Hi,
If I want to organize my code in .h and .cpp files, I get compilation errors of the type
/tmp/ccSLfl1Z.o: In function
get_dirname':
/home/ndavid/Documents/Research/LTR/graphchi/toolkits/graphchi-ltr/src/../../../src/preprocessing/conversions.hpp:173: multiple definition ofgraphchi::get_dirname(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)' /tmp/ccqcbsrt.o:/home/ndavid/Documents/Research/LTR/graphchi/toolkits/graphchi-ltr/src/../../../src/preprocessing/conversions.hpp:173: first defined here
, if the code in question #include
s anything from Graphchi. I am not a big fan of .hpp files, but I have to use those if I want to get around the problems. It would be great if you guys could somehow address this problem.
Best,
David Nemeskey