Closed roired closed 2 years ago
It seems like Python has problems to initialize OpenGL at all. I'm not sure if can help here...
Looks to me as if there's a file missing in your python installation or in a library the python installation tries to call. The call "_FuncPtr" is for executing a code block at an offset in a library file (DLL on windows, .so on linux etc). But here it fails because the indicated library file doesn't seem to exist. Exactly which file it's looking for can't be seen in the stack trace.
But as Aranuvir says, it looks as if it is related to OpenGL.
PyOpenGL seems to be installed. Otherwise it would have crashed earlier.
Good day @Aranuvir and @joepal1976 ,
Thanks both for your replies. I rechecked the availability of OpenGL on Haiku, and python bindings for OpenGL too. Seems OpenGL is supported (only software), so I might be missing some files. I just followed the indications on how to run Makehuman from source regarding requirements, but on Haiku I have to use an specific version of python in order to install certain requirements. Also might be a lack of knowledge on how to manage venvs.
I'll review this again and ask at Haiku regarding OpenGL, and report back. (edited... seems that OpenGL is not available for Qt apps on Haiku at the moment. Have to wait until it's available and test again, once available, I'll test and if works, will try to make a package.)
Thanks again! Regards, RR
Good day,
I downloaded the source code from Github, set a virtual environment and installed the dependencies as stated on the Makehuman readme. The virtual environment is set with Python 3.8 with the following packages inside the environment: Package Version
Cython 0.29.24 git-lfs 1.6 numpy 1.21.4 pip 21.3.1 PyOpenGL 3.1.5 PyOpenGL-accelerate 3.1.5 PyQt5 5.15.6 PyQt5-sip 12.9.0 setuptools 59.2.0 wheel 0.37.0
I tried to get the assets with the 'download_assets_git.py' by means of git-lfs python package and get FileNotFoundErrors too. Not sure if this has something to do here.
'compile_modules.py', 'compile_proxies.py' and 'compile_targets.py' all came out Ok.
I try to run Makehuman inside the venv with 'python makehuman.py', being python 3.8.12, and this is the outcome:
I would appreciate any insight on how to solve this issue. If I'm able to run it, next would be making a package for Haiku.
Thanks a lot in advance for any help you can provide. Regards, RR