Has anyone managed to build the proj crate, I’ve tried on windows and on Ubuntu but always seem to have some problem with the proj-sys crate building proj from source.
The seem to be working on getting it working on Windows right now: Windows builder in CI but I assume on linux it should be fine.
I don’t have any experience with that crate myself.
@Kaiser If you run into trouble with something-sys, you should check whether that crate requires libsomething headers to be installed. (cargo will take care of dependencies, but only within Rust, it can’t install arbitrary C libraries). On Ubuntu, you’ll need to run
sudo apt install libproj-dev
(maybe also libtiff-dev) to get these headers.deleted by creator
Hello, does this comment solve your issue? I wrote this after solving the compilation issue on Windows myself
https://github.com/georust/proj/pull/79#issuecomment-1308751602
Thanks for the response, never got it quite working on windows but rebuilding my Ubuntu is seemed to do the trick.
Just created a new crate and added
proj
, and thencargo build
. And it works.proj-sys
did build.