Open puppybutthole opened 1 year ago
[ 40%] Linking CXX executable SubgraphMatching.out /usr/bin/ld: CMakeFiles/SubgraphMatching.out.dir/StudyPerformance.cpp.o:/home/uds/app/SubgraphMatching-master/matching/EvaluateQuery.h:15: multiple definition of `extendable_vertex_compare'; CMakeFiles/SubgraphMatching.out.dir/EvaluateQuery.cpp.o:/home/uds/app/SubgraphMatching-master/matching/EvaluateQuery.h:15: first defined here collect2: error: ld returned 1 exit status make[2]: [matching/CMakeFiles/SubgraphMatching.out.dir/build.make:195:matching/SubgraphMatching.out] 错误 1 make[1]: [CMakeFiles/Makefile2:169:matching/CMakeFiles/SubgraphMatching.out.dir/all] 错误 2 make: *** [Makefile:91:all] 错误 2
I don't know how to fix this problem
Hi, puppybutthole,
I have the same problem. I found it is because my complier's version is too high. I installed g++ 9.4 and solved the problem.
The compiling issue has been resolved. Thanks.
[ 40%] Linking CXX executable SubgraphMatching.out /usr/bin/ld: CMakeFiles/SubgraphMatching.out.dir/StudyPerformance.cpp.o:/home/uds/app/SubgraphMatching-master/matching/EvaluateQuery.h:15: multiple definition of `extendable_vertex_compare'; CMakeFiles/SubgraphMatching.out.dir/EvaluateQuery.cpp.o:/home/uds/app/SubgraphMatching-master/matching/EvaluateQuery.h:15: first defined here collect2: error: ld returned 1 exit status make[2]: [matching/CMakeFiles/SubgraphMatching.out.dir/build.make:195:matching/SubgraphMatching.out] 错误 1 make[1]: [CMakeFiles/Makefile2:169:matching/CMakeFiles/SubgraphMatching.out.dir/all] 错误 2 make: *** [Makefile:91:all] 错误 2
I don't know how to fix this problem