princeton-vl / infinigen

Infinite Photorealistic Worlds using Procedural Generation
https://infinigen.org
BSD 3-Clause "New" or "Revised" License
5.14k stars 430 forks source link

#include <crypt.h> compilation terminated #225

Closed TomTomTommi closed 2 months ago

TomTomTommi commented 2 months ago

Describe the bug

I following the README file to install infinigen, but meet an error. I don't have sudo permissions and conda support. I first create a new environment using mamba and use

mamba install conda-forge::gxx=11.4.0 mesalib glew glm menpo::glfw3
export C_INCLUDE_PATH=$CONDA_PREFIX/include:$C_INCLUDE_PATH
export CPLUS_INCLUDE_PATH=$CONDA_PREFIX/include:$CPLUS_INCLUDE_PATH
export LIBRARY_PATH=$CONDA_PREFIX/lib:$LIBRARY_PATH
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH

to install the dependencies, then pip install -e . but face the error. logs.txt

Platform

I also tried another cluster which support conda, but the error still exists. The log is also attached as below. logss.txt

araistrick commented 2 months ago

The error in the first log seems to be finding "crypt.h" which I have never seen before. Please check you can find "crypt.h" in your include paths somewhere, or google around for issues of this form e.g. https://github.com/stanford-futuredata/ColBERT/issues/309

In the second the error is cant find glm.hpp which I have seen before a lot, but should be resolved by the conda commands you ran. please check you can find glm.hpp in your conda include paths.

TomTomTommi commented 2 months ago

it's the dependencies, now fixed