Building Procedure in Windows

If you have problems understanding something or getting started, ask here

Moderator: joepal

Building Procedure in Windows

Postby Nate8 » Wed Jan 27, 2016 6:39 pm

Hello,
i am very new to MakeHuman, Python and working with Open Source Software in general however i try to build MakeHuman from Source.
I followed many tutorials, mainly this one http://web.archive.org/web/201503181511 ... umentation -> Developers Note -> Libraries and build procedures
I installed all the dependencies and did everything as the tutorial told me to until this part:

---------------------
General proceedings for making a package

On all platforms the following steps should be taken when making the package:

[...]
Copy all that's relevant to a work directory, excluding at least *.target, the utils directory and the tools directory (strictly speaking there are more that is not necessary, but it will have a minor influence)
Do platform-dependent stuff to the work directory
Zip the directory into a suitable installable format for the platform.

-------------------------

I really don't know what it means and what to do with these information.
So i left this out and then started to run makehuman with cmd.exe

but basically nothing happened, only a small text shows up:
MakeHuman Copyright <C> 2001-2015
[...]
This is free software and your are welcome to redistribute[...]


And then nothing else happend.

I found the log files and here they are, i hope someone can help me:

makehuman.txt

[2016-01-27 19:11:18,328] log.py->message():134 -- MESSAGE -- Initialized logging
[2016-01-27 19:11:18,334] log.py->debug():113 -- DEBUG -- VERSION: 1.1.0 (r1971 9a1f3d8a409f) [hg parents command]
[2016-01-27 19:11:18,335] log.py->debug():113 -- DEBUG -- HG REVISION: r1971 (9a1f3d8a409f) [hg parents command]
[2016-01-27 19:11:18,335] log.py->debug():113 -- DEBUG -- HG BRANCH: default
[2016-01-27 19:11:18,335] log.py->debug():113 -- DEBUG -- SHORT VERSION: v1.1.0
[2016-01-27 19:11:18,335] log.py->debug():113 -- DEBUG -- BASEMESH VERSION: hm08
[2016-01-27 19:11:18,335] log.py->debug():113 -- DEBUG -- IS BUILT (FROZEN): No
[2016-01-27 19:11:18,335] log.py->debug():113 -- DEBUG -- IS RELEASE VERSION: No
[2016-01-27 19:11:18,335] log.py->debug():113 -- DEBUG -- WORKING DIRECTORY: C:\makehuman01\makehuman
[2016-01-27 19:11:18,335] log.py->debug():113 -- DEBUG -- HOME LOCATION: C:\Users\Ich
[2016-01-27 19:11:18,335] log.py->debug():113 -- DEBUG -- PYTHON PATH: ./;./lib;./apps;./shared;./apps/gui;./core;C:\makehuman01\makehuman;C:\Users\Ich\Anaconda2\python27.zip;C:\Users\Ich\Anaconda2\DLLs;C:\Users\Ich\Anaconda2\lib;C:\Users\Ich\Anaconda2\lib\plat-win;C:\Users\Ich\Anaconda2\lib\lib-tk;C:\Users\Ich\Anaconda2;C:\Users\Ich\Anaconda2\lib\site-packages;C:\Users\Ich\Anaconda2\lib\site-packages\Sphinx-1.3.1-py2.7.egg;C:\Users\Ich\Anaconda2\lib\site-packages\cryptography-1.0.2-py2.7-win-amd64.egg;C:\Users\Ich\Anaconda2\lib\site-packages\win32;C:\Users\Ich\Anaconda2\lib\site-packages\win32\lib;C:\Users\Ich\Anaconda2\lib\site-packages\Pythonwin;C:\Users\Ich\Anaconda2\lib\site-packages\setuptools-18.5-py2.7.egg
[2016-01-27 19:11:18,335] log.py->debug():113 -- DEBUG -- DLL PATH: C:\Users\Ich\Anaconda2\Library\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;%CommonProgramFiles%\Microsoft Shared\Windows Live;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\MinGW\bin\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;D:\Program Files (x86)\Skype\Phone\;C:\Program Files\TortoiseHg\;C:\Users\Ich\Anaconda2;C:\Users\Ich\Anaconda2\Scripts;C:\Users\Ich\Anaconda2\Library\bin;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Users\Ich\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\;C:\Python27
[2016-01-27 19:11:18,335] log.py->debug():113 -- DEBUG -- SYS.VERSION: 2.7.11 |Anaconda 2.4.1 (64-bit)| (default, Dec 7 2015, 14:10:42) [MSC v.1500 64 bit (AMD64)]
[2016-01-27 19:11:18,335] log.py->debug():113 -- DEBUG -- SYS.PLATFORM: win32
[2016-01-27 19:11:18,335] log.py->debug():113 -- DEBUG -- SYS.EXECUTABLE: C:\Users\Ich\Anaconda2\python.exe
[2016-01-27 19:11:18,338] log.py->debug():113 -- DEBUG -- PLATFORM.MACHINE: AMD64
[2016-01-27 19:11:18,338] log.py->debug():113 -- DEBUG -- PLATFORM.PROCESSOR: Intel64 Family 6 Model 71 Stepping 1, GenuineIntel
[2016-01-27 19:11:18,338] log.py->debug():113 -- DEBUG -- PLATFORM.UNAME.RELEASE: 7
[2016-01-27 19:11:18,339] log.py->debug():113 -- DEBUG -- PLATFORM.WIN32_VER: 7 6.1.7601 SP1 Multiprocessor Free
[2016-01-27 19:11:18,404] log.py->debug():113 -- DEBUG -- NUMPY.VERSION: 1.10.1





makehuman-debug.txt

VERSION: 1.1.0 (r1971 9a1f3d8a409f) [hg parents command]
HG REVISION: r1971 (9a1f3d8a409f) [hg parents command]
HG BRANCH: default
SHORT VERSION: v1.1.0
BASEMESH VERSION: hm08
IS BUILT (FROZEN): No
IS RELEASE VERSION: No
WORKING DIRECTORY: C:\makehuman01\makehuman
HOME LOCATION: C:\Users\Ich
PYTHON PATH: ./;./lib;./apps;./shared;./apps/gui;./core;C:\makehuman01\makehuman;C:\Users\Ich\Anaconda2\python27.zip;C:\Users\Ich\Anaconda2\DLLs;C:\Users\Ich\Anaconda2\lib;C:\Users\Ich\Anaconda2\lib\plat-win;C:\Users\Ich\Anaconda2\lib\lib-tk;C:\Users\Ich\Anaconda2;C:\Users\Ich\Anaconda2\lib\site-packages;C:\Users\Ich\Anaconda2\lib\site-packages\Sphinx-1.3.1-py2.7.egg;C:\Users\Ich\Anaconda2\lib\site-packages\cryptography-1.0.2-py2.7-win-amd64.egg;C:\Users\Ich\Anaconda2\lib\site-packages\win32;C:\Users\Ich\Anaconda2\lib\site-packages\win32\lib;C:\Users\Ich\Anaconda2\lib\site-packages\Pythonwin;C:\Users\Ich\Anaconda2\lib\site-packages\setuptools-18.5-py2.7.egg
DLL PATH: C:\Users\Ich\Anaconda2\Library\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;%CommonProgramFiles%\Microsoft Shared\Windows Live;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\MinGW\bin\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;D:\Program Files (x86)\Skype\Phone\;C:\Program Files\TortoiseHg\;C:\Users\Ich\Anaconda2;C:\Users\Ich\Anaconda2\Scripts;C:\Users\Ich\Anaconda2\Library\bin;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Users\Ich\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\;C:\Python27
SYS.VERSION: 2.7.11 |Anaconda 2.4.1 (64-bit)| (default, Dec 7 2015, 14:10:42) [MSC v.1500 64 bit (AMD64)]
SYS.PLATFORM: win32
SYS.EXECUTABLE: C:\Users\Ich\Anaconda2\python.exe
PLATFORM.MACHINE: AMD64
PLATFORM.PROCESSOR: Intel64 Family 6 Model 71 Stepping 1, GenuineIntel
PLATFORM.UNAME.RELEASE: 7
PLATFORM.WIN32_VER: 7 6.1.7601 SP1 Multiprocessor Free
NUMPY.VERSION: 1.10.1



python_err

NO VERSION file detected, retrieving revision info from HG
Detected HG revision: r1971 (9a1f3d8a409f)
Initialized logging
VERSION: 1.1.0 (r1971 9a1f3d8a409f) [hg parents command]
HG REVISION: r1971 (9a1f3d8a409f) [hg parents command]
HG BRANCH: default
SHORT VERSION: v1.1.0
BASEMESH VERSION: hm08
IS BUILT (FROZEN): No
IS RELEASE VERSION: No
WORKING DIRECTORY: C:\makehuman01\makehuman
HOME LOCATION: C:\Users\Ich
PYTHON PATH: ./;./lib;./apps;./shared;./apps/gui;./core;C:\makehuman01\makehuman;C:\Users\Ich\Anaconda2\python27.zip;C:\Users\Ich\Anaconda2\DLLs;C:\Users\Ich\Anaconda2\lib;C:\Users\Ich\Anaconda2\lib\plat-win;C:\Users\Ich\Anaconda2\lib\lib-tk;C:\Users\Ich\Anaconda2;C:\Users\Ich\Anaconda2\lib\site-packages;C:\Users\Ich\Anaconda2\lib\site-packages\Sphinx-1.3.1-py2.7.egg;C:\Users\Ich\Anaconda2\lib\site-packages\cryptography-1.0.2-py2.7-win-amd64.egg;C:\Users\Ich\Anaconda2\lib\site-packages\win32;C:\Users\Ich\Anaconda2\lib\site-packages\win32\lib;C:\Users\Ich\Anaconda2\lib\site-packages\Pythonwin;C:\Users\Ich\Anaconda2\lib\site-packages\setuptools-18.5-py2.7.egg
DLL PATH: C:\Users\Ich\Anaconda2\Library\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;%CommonProgramFiles%\Microsoft Shared\Windows Live;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\MinGW\bin\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;D:\Program Files (x86)\Skype\Phone\;C:\Program Files\TortoiseHg\;C:\Users\Ich\Anaconda2;C:\Users\Ich\Anaconda2\Scripts;C:\Users\Ich\Anaconda2\Library\bin;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Users\Ich\AppData\Local\Programs\MiKTeX 2.9\miktex\bin\;C:\Python27
SYS.VERSION: 2.7.11 |Anaconda 2.4.1 (64-bit)| (default, Dec 7 2015, 14:10:42) [MSC v.1500 64 bit (AMD64)]
SYS.PLATFORM: win32
SYS.EXECUTABLE: C:\Users\Ich\Anaconda2\python.exe
PLATFORM.MACHINE: AMD64
PLATFORM.PROCESSOR: Intel64 Family 6 Model 71 Stepping 1, GenuineIntel
PLATFORM.UNAME.RELEASE: 7
PLATFORM.WIN32_VER: 7 6.1.7601 SP1 Multiprocessor Free
NUMPY.VERSION: 1.10.1
Traceback (most recent call last):
File "makehuman.py", line 821, in <module>
main()
File "makehuman.py", line 811, in main
from mhmain import MHApplication
File "./core\mhmain.py", line 46, in <module>
import mh
File "./lib\mh.py", line 44, in <module>
from glmodule import grabScreen, hasRenderSkin, renderSkin, getPickedColor, hasRenderToRenderbuffer, renderToBuffer, renderAlphaMask
File "./lib\glmodule.py", line 43, in <module>
import OpenGL
ImportError: No module named OpenGL
Nate8
 
Posts: 10
Joined: Wed Jan 27, 2016 6:19 pm

Re: Building Procedure in Windows

Postby joepal » Wed Jan 27, 2016 7:19 pm

Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4627
Joined: Wed Jun 04, 2008 11:20 am

Re: Building Procedure in Windows

Postby duststorm » Wed Jan 27, 2016 11:12 pm

Nate8 wrote:ImportError: No module named OpenGL

pyOpenGL is not (properly?) installed.
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium

Re: Building Procedure in Windows

Postby Nate8 » Thu Jan 28, 2016 5:04 pm



Thx i will give it a try




duststorm wrote:
Nate8 wrote:ImportError: No module named OpenGL

pyOpenGL is not (properly?) installed.


I actually installed it and it is located Python27->Lib->site-packages





€: Also one problem that I have: i cannot double click on any python file, the window shows up for a split second and then dissapears :(
Nate8
 
Posts: 10
Joined: Wed Jan 27, 2016 6:19 pm

Re: Building Procedure in Windows

Postby duststorm » Fri Jan 29, 2016 12:07 am

Nate8 wrote:
duststorm wrote:
Nate8 wrote:ImportError: No module named OpenGL

pyOpenGL is not (properly?) installed.


I actually installed it and it is located Python27->Lib->site-packages

Yes but the error is telling you that python cannot find the module.
Either you installed a combination of 32bit and 64bit pyopengl/numpy/python libraries (they do not mix), or you mixed python 3 and 2.7 libraries.

This is not a MakeHuman issue but a python + dependencies issue. First try opening a python terminal and try to make "import OpenGL" work.
As long as that doesn't work, MakeHuman will not work.
It's probably something to do with installing exactly the right versions of the libraries, or checking your system configuration such as the PYTHONPATH environment variable.

If this issue persists, you might be able to find more knowledgeable people that are better able to help you in the PyOpenGL community.


Nate8 wrote:Also one problem that I have: i cannot double click on any python file, the window shows up for a split second and then dissapears :(

Try running from a terminal (eg windows standard commandline, cmd.exe)
For more information, look for some beginner tutorials that get you started with python development on windows. The first thing they will probably show you, is how to get an interactive python terminal.
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium

Re: Building Procedure in Windows

Postby Nate8 » Fri Jan 29, 2016 3:16 pm

I uninstalled every Python related stuff on my PC and followed the tutorial on youtube and now everything works fine so far. : ) I can also double click the python files now.
Nate8
 
Posts: 10
Joined: Wed Jan 27, 2016 6:19 pm


Return to Newbies

Who is online

Users browsing this forum: No registered users and 4 guests