-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linking of bin/vizdoom fails #312
Comments
|
stricmp
on Ubuntu
I now think that what is causing the linking to fail is this: Apparently the On the machine where the build succeeds i have these versions:
On the machine where the linking fails I have these versions:
|
Hello @floringogianu, |
Hi, thanks for the quick reply. Actually I believe this is a deeper issue. I was eventually able to compile it after created a clean miniconda installation for which I checked there are no I did this after I downgraded the |
Hmm weird, same issue is happening for me. Works fine locally in OSX, but in Ubuntu 16.04 fails. |
@agiantwhale @floringogianu Did you ever find a solution to this problem? |
@MattiasMM The "fix" for me was to create a new conda env with nothing in it besides the stuff required to build vizdoom. I was especially careful to make sure there were no |
@floringogianu If I create a clean anaconda env ( |
Update: Python=3.6 executes import vizdoom fine (3.7 not). Same command under ipython generates ModuleNotFoundError. It will be good enough for my purposes, but it is a bit dissatisfying not to understand the reason for this behavior. |
One step on the way: If I give the anaconda path to Ipython |
Finally! The mistake: jupyter and ipython were not installed with Conda and therefore their associated python distributions were not in sync with the conda python installation that was used to install vizdoom. |
@floringogianu It seems that without harfbuzz game.init() executes with an exception. Did you experience this and/or what version of harfbuzz did you use? |
See here: #312 (comment) . |
I have a similar problem with this during The error was:
It is actually related to this thread openai/doom-py#16. It is suggested that harfbuzz is the cause. My harfbuzz version before was 1.8.8 (latest in anaconda channel, but the latest is 2.3). After removed, I could successfully build vizdoom. |
I've installed |
I've managed to fix this by installing vizdoom in miniconda instead of anaconda environment (clean Ubuntu 16.04, Python 3.6.7) and by doing pip install vizdoom. This way none of harfbuzz or freetype stuff get pulled into the anaconda folder and the system ones are used for the installation. |
The building system has been updated since then, manylinux wheels are now provided, closing the issue. |
As mentioned in #311 I was able to compile ViZDoom in a conda virtual env with
gcc-5.5
. I tried now doing the same on a server with ubuntu16.04
andgcc-5.4
to find out that it fails to link the executable. edit:Apparently it fails due to some references toAny suggestions on how I can fix this?stricmp
which are Windows specific.The last few lines of the
make
output:The
cmake
output:And here is the full error log file CMakeFiles/CMakeError.log
The text was updated successfully, but these errors were encountered: