facebookresearch / habitat-sim

A flexible, high-performance 3D simulator for Embodied AI research.
https://aihabitat.org/
MIT License
2.48k stars 406 forks source link

Build from source error with zlib #2331

Closed Yuxin916 closed 4 months ago

Yuxin916 commented 4 months ago

Hi! Thank you for your work!

I encountered problems when i am doing python setup.py install for habitat-sim after git checkout to tags/challenge-2022. The error log:

Install the project... [ 24%] Built target corrade [ 24%] Built target MagnumSceneGraph [ 24%] Built target MagnumShaderTools -- Install configuration: "RelWithDebInfo" -- Installing: /usr/local/lib/libz.so.1.2.11 CMake Error at cmake_install.cmake:65 (file): file INSTALL cannot copy file "/home/xxxx/habitat-sim/build/deps/openexr/zlib-build/libz.so.1.2.11" to "/usr/local/lib/libz.so.1.2.11": Permission denied.

It looks like a problem for zlib building. Could you give some suggestions on that? Thank you!

Yuxin916 commented 4 months ago

Sorry i made a mistake. all good now