Here is a situation:
You have a project (for example Visual Studio solution with multiple projects)
Project relies on various environment variables, libraries, tools and other dependencies.
You have to share this project (via source control repository) across multiple developers.
Developers don't have similar environment (e.g. libraries live in different places, etc.) for various reasons.
How would you deal with inconsistency?
Would you enforce developers to have similar environment?
Do you use some kind of configuration scripts?
EDIT:
Most of you are talking about paths (include dirs etc.) but it's only one part of a complex problem. Maybe some of you used some kind of configuration scripts or some project migration tool?
Also, Visual Studio was mentioned as an example. It would be nice to have IDE-agnostic recommendations.