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

Could not build wheels for infinigen, which is required to install pyproject.toml-based projects #221

Closed original-doc closed 2 months ago

original-doc commented 2 months ago

Describe the bug

install failes when using pip install -e .

Steps to Reproduce

This is my install process: conda 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

git clone https://github.com/princeton-vl/infinigen.git cd infinigen conda create --name infinigen python=3.10 conda activate infinigen

pip install -e . and it get this error

Attachment of the logs.txt

logs.txt

Platform

araistrick commented 2 months ago

@mazeyu terrain compile is failing. @original-doc can you just run make terrain and provide the logs?

original-doc commented 2 months ago

Thank you, I just solved by modifing compile_terrain.sh to alias nx="$nvcc_location -O3 -Xcompiler -fPIC -shared -std=c++11"

@mazeyu terrain compile is failing. @original-doc can you just run make terrain and provide the logs?

original-doc commented 2 months ago

In line 41 of the compile_terrain.sh, would you please consider add this in the main branch? @araistrick

Thank you, I just solved by modifing compile_terrain.sh to alias nx="$nvcc_location -O3 -Xcompiler -fPIC -shared -std=c++11"

@mazeyu terrain compile is failing. @original-doc can you just run make terrain and provide the logs?

original-doc commented 2 months ago

solved by modifing compile_terrain.sh to alias nx="$nvcc_location -O3 -Xcompiler -fPIC -shared -std=c++11" In line 41