CMake fails build from tarball; IGRAPH_VERSION is missing.

I tried version 0.9.x tarballs from the release tags, and only 0.9.0 will build cleanly.

The rest fail on an error “…IGRAPH_VERSION is missing”.

You need to download the release tarball, not the tag snapshot automatically produced by GitHub.

When you download the releases from Releases · igraph/igraph · GitHub, look for the files named as igraph-x.y.z.tar.gz. These are the release tarballs. Do not use the files labelled as “Source code (zip/tar.gz)” as these are just snapshots of the contents of the Git repository, and are not ready to use as they are.

2 posts were split to a new topic: snprintf error when compiling