this post was submitted on 14 Jun 2023
4 points (100.0% liked)

Rust Lang

709 readers
5 users here now

Rules [Developing]

Observe our code of conduct

Constructive criticism only

No endless relitigation

No low-effort content

No memes or image macros

No NSFW Content

founded 2 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 years ago

@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.