Closed Arjunprasaath closed 3 years ago
in the logs above, the error seems to be
ld: library not found for -licudata
this might be the library that is missing http://userguide.icu-project.org/icudata
in the logs above, the error seems to be
ld: library not found for -licudata
this might be the library that is missing http://userguide.icu-project.org/icudata
how do I download it for my Mac?
See related issue #480. The final outcome there seems to be that on an older Mac the library dependencies make it difficult to satisfy what ViZDoom needs.
See related issue #480. The final outcome there seems to be that on an older Mac the library dependencies make it difficult to satisfy what ViZDoom needs.
I saw that but mine is a new one (2020 Mac book pro 13 inch i5 10th gen)
@Arjunprasaath - have you followed the instructions at https://github.com/mwydmuch/ViZDoom/blob/master/doc/Building.md#macos_deps and https://zdoom.org/wiki/Compile_ZDoom_on_Mac_OS_X ?
also i noticed you are installing using the system's python. i would highly recommend using a virtual environment (eg conda, virtualenv) instead. macos uses that system python, and it's best to leave it alone.
Hi @Arjunprasaath, @kaczmarj, it seems to be a problem with brew boost v1.7.5 formula, there is an issue related to it, https://github.com/Homebrew/homebrew-core/issues/67427 and there is already a Pull Request with a fix, but it haven't been merged yet. Unfortunately, it is not easy to downgrade boost via brew to a specific version. I replicated the issue on my mac but unfortunately proposed a temporary fix to create icu libs links to /usr/local/lib
doesn't work form me (ln -s /usr/local/opt/icu4c/lib/*.dylib /usr/local/lib
).
@Arjunprasaath - have you followed the instructions at https://github.com/mwydmuch/ViZDoom/blob/master/doc/Building.md#macos_deps and https://zdoom.org/wiki/Compile_ZDoom_on_Mac_OS_X ?
also i noticed you are installing using the system's python. i would highly recommend using a virtual environment (eg conda, virtualenv) instead. macos uses that system python, and it's best to leave it alone.
Im not sure with the ZDoom installation help me with it if you know about it.
Hi @Arjunprasaath, @kaczmarj, it seems to be a problem with brew boost v1.7.5 formula, there is an issue related to it, Homebrew/homebrew-core#67427 and there is already a Pull Request with a fix, but it haven't been merged yet. Unfortunately, it is not easy to downgrade boost via brew to a specific version. I replicated the issue on my mac but unfortunately proposed a temporary fix to create icu libs links to
/usr/local/lib
doesn't work form me (ln -s /usr/local/opt/icu4c/lib/*.dylib /usr/local/lib
).
isn't there any other way?
isn't there any other way?
Looking at the issue @mwydmuch linked the fix should be merged now. @mwydmuch can you provide info how to compile things given the update to brew (and also update the docs/makes, if necessary)?
Hi @Arjunprasaath, @kaczmarj, as @Miffyli said, the fix is merged. I confirm that after installing the fixed version, everything is working again on MacOS. I ran brew uninstall boost
then brew install boost
, probably brew upgrade boost
will also work since the fix is marked as a new version.
I think, the issue is solved, closing
I'm trying to install vizdoom on my Mac , going through the documentation on how to install vizdoom ("brew install cmake boost sdl2 wget", "pip install vizdoom") this didn't work for me. I'm running python 3.9, Mac OS Big Sur. Would be really helpful if anyone find a way out from this.Im using venv to create a virtual environment and wanna install vizdoom inside this virtual environment.i think I installed all dependencies mentioned in the site, I'm not sure how to install zdoom tho, can anyone help me out...
ERROR:
arjunsmac@Arjuns-MacBook-Pro auto_game_test % pip3 install vizdoom Collecting vizdoom Using cached vizdoom-1.1.8.tar.gz (21.9 MB) Requirement already satisfied: numpy in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from vizdoom) (1.19.4) Using legacy 'setup.py install' for vizdoom, since package 'wheel' is not installed. Installing collected packages: vizdoom Running setup.py install for vizdoom ... error ERROR: Command errored out with exit status 1: command: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/1p/hw4jlgdj7jjn8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/setup.py'"'"'; file='"'"'/private/var/folders/1p/hw4jlgdj7jjn8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/1p/hw4jlgdj7jjn8bx815w8ym0000gn/T/pip-record-j0v4lg82/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/vizdoom cwd: /private/var/folders/1p/hw4jlgdj7jjn8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/ Complete output (635 lines): WARNING: The wheel package is not available. running install running build CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases.
ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/1p/hw4jlgdj7jjn8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/setup.py'"'"'; file='"'"'/private/var/folders/1p/hw4jlgdj7jjn8bx815w8ym0000gn/T/pip-install-e3tfmy28/vizdoom/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/1p/hw4jlgdj7jj__n8bx815w8ym0000gn/T/pip-record-j0v4lg82/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/vizdoom Check the logs for full command output.