stingergraph / stinger

The STINGER in-memory graph store and dynamic graph analysis platform. Millions to billions of vertices and edges at thousands to millions of updates per second.
http://www.stingergraph.com
Other
210 stars 67 forks source link

Compilation errors #235

Open jayavanth opened 7 years ago

jayavanth commented 7 years ago

\/stinger/build/include/stinger_alg/streaming_connected_components.h:14:37: fatal error: stinger_net/stinger_alg.h: No such file or directory

Full build log: https://pastebin.com/UQJ9YAFM

ehein6 commented 7 years ago

Pretty sure I caused the issue in this commit: https://github.com/stingergraph/stinger/pull/219/commits/b7b821aaf5a41791f2aa385dd1ef205b3280b757

CMake isn't correctly detecting that stinger_net headers need to be generated before stinger_alg gets built. We may need to link against stinger_net again just to make it order things correctly, even though stinger_alg doesn't have any link dependencies.

As a workaround, try building again with make -k and then make to get it to generate the stinger_net headers first. The Travis build works fine because it happens to pick a different build order. Or add stinger_net to the list of libraries in stinger_alg's CMakeLists.txt.

jayavanth commented 7 years ago

Adding stinger_net to the CMakeLists.txt fixed it. Thanks!

Xia0ben commented 5 years ago

Hello, Just a small heads up to notify you it would be great if the fix introduced in https://github.com/ehein6/stinger/commit/60cd623c7ffe888fb8616e0ec2c8291800a8e03b that solved this bug were to be merged with the master =).