You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 of graphchi::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 #includes 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
The text was updated successfully, but these errors were encountered:
Hi, these problems are caused by non-templated methods lacking "static" keyword. I added those to conversions.hpp: a00b95b
If you encounter similar problem elsewhere, just make the function "static" as in the commit above. Unfortunately I am leaving for holidays and don't have time for extensive check.
PS. I am today trying to finish the statid/dynamic edge data issue. The change was quite tricky (to the preprocessing phase) and I am hunting a pointer error...
Hi,
If I want to organize my code in .h and .cpp files, I get compilation errors of the type
, 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
The text was updated successfully, but these errors were encountered: