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 <glm/glm.hpp> compilation terminated during scripts/install/interactive_blender.sh #223

Open gsmario opened 2 months ago

gsmario commented 2 months ago

I can't run bash scripts/install/interactive_blender.sh command, it always says ERROR: Could not build wheels for infinigen, which is required to install pyproject.toml-based projects

Steps to Reproduce

bash scripts/install/interactive_blender.sh

What version of the code were you using?

Bugfix v1.2.5

What command did you run?

bash scripts/install/interactive_blender.sh

What are your FULL output logs?

logs.txt

If this is your first time running Infinigen, what are the full install logs?**

Run pip install -vv -e . > logs.txt 2>&1 and send logs.txt as an attachment.

Platform

Additional context

Add any other context about the problem here.

araistrick commented 2 months ago

Do you specifically need a non-minimal install of infinigen in an interactive blender setting? I recommend either switching to the INFINIGEN_MINIMAL_INSTALL=True bash scripts/install/interactive_blender.sh version, or using the Infinigen as a Python Module version, as either of these will easily fix your issue.

If you wish to stick with non-minimal interactive blender, you will need to mess around with your CPATH until blender can find glm.hpp. Use the conda version of dependency installation if you havent tried this already