-
Notifications
You must be signed in to change notification settings - Fork 65
Can't build on ubuntu 18 #1
Comments
Thanks for reporting the issue. To me it looks like the CMake script cannot derive a version number:
This may also result in the build error that you encountered afterwards, because the #define for The cause for this issue may be that you just downloaded the repo as a zip file, instead of cloning it. If that's the case, just clone it for now. If this works for you, please keep this issue open, because we still need to handle the case that a user just downloads the zip file from GitHub. |
Hey @mlangkabel! thanks for answering. Actually I was cloning this repo, but with |
Alright, so it is working for you now. Still it would be great it we could get the issue fixed for other users, too. |
That make sense, thank you. |
Since build would not be possible when DATABASE_VERSION is not defined -- probably it's good to abort the build or show an error message. |
Commit 4edb7f2 should fix the issue. CMake will display a proper warning message and set the version to @alex-bender: Can you please validate that the issue is fixed for you, too? |
sure! going to check that |
Now it works. Maybe it worth commenting somewhere in readme that tags are important.
After cloning whole repo I've got this message. So yeah, It works now. |
Good point, I will do that. |
Done. |
So I'm trying to build the project on Ubuntu for using it with SourcetrailPythonIndexer
but I have a problem:
The exact error:
The text was updated successfully, but these errors were encountered: