I have no idea what’s going on there… I will note that you shouldn’t add to "-DCMAKE_BUILD_TYPE=Release"
to cmakeFlags
because this should be added by the standard environment.
Have you ever built a certain software from source? I mean within a nix-shell
or with any workflow suggested in this rather popular post? I personally use direnv and this version of use_nix
but whatever…
The reason I’m asking, is that I think you should try to compile it in a nix-shell
with all of the dependencies available in that shell environment.
Then it will be easier to debug this and catch exactly where the errors are coming from. Since it’s a cmake project, I’d try to do the standard mkdir build && cd build && cmake .. && make
procedure and see how’s that going.
I’d also use git clone
and git checkout ${version}
instead of the tar ball so I could make changes on the release tag and use git diff
to suggest changes upstream or patch it in our end.