Closed madoodia closed 6 years ago
This is probably unrelated to your problem, but you don't have to put the lib directories in $PATH.
On Thu, Aug 16, 2018 at 5:14 PM Mahmoodreza Aarabi notifications@github.com wrote:
Description of Issue
I installed USD 18.09 with MaterialX flag enabled in Centos 7 machine, here I have a problem with Hydra: disabled issue and it does not on GL for me, However i have PyOpenGL 3.1.0 in my site-packages and libGL1.1.so in /usr/lib Steps to Reproduce
1.
I used this to build USD: sudo python build_scripts/build_usd.py --generator "Unix Makefiles" --python --alembic --hdf5 --maya --maya-location /mnt/applications/apps/Autodesk/Maya_2018_201711281015/ --materialx --openimageio /usr/local/USD 2.
Add related paths to PATH env var: export PATH=/usr/lib64:/usr/lib:/usr/local/USD/bin:/usr/local/USD/lib:$PATH 3.
Add related paths to PYTHONPATH env var: export PYTHONPATH=/usr/lib64/python2.7/site-packages/:/usr/lib/python2.7/site-packages/:/usr/lib/python2.7/site-packages/OpenGL:/usr/local/USD/lib/python:$PYTHONPATH 4.
usdview extra/Kitchen_set/Kitchen_set.usd
[image: screenshot from 2018-08-16 17-12-45] https://user-images.githubusercontent.com/3639157/44241267-a4a11380-a177-11e8-8e13-237d6d2f8d82.png
I did same in Windows machine (except --materialx that gave me error) and Hydra is set to GL and works properly
[image: usd_hydra_gl] https://user-images.githubusercontent.com/3639157/44241253-89360880-a177-11e8-9569-cc595cbb27cb.JPG System Information (OS, Hardware)
CentOS 7
Please let me know what is the problem, thanks
second question: related to renderers if i download Embree and want to add it to USD i can? or i should build USD again?
Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PixarAnimationStudios/USD/issues/591, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLBEXWBGRYwOte-RmHKO2mC19hLonv3ks5uRgrmgaJpZM4WAxEq .
Thanks But actually I did all libs in path ‘PATH=/usr/lib64:/usr/lib:/usr/local/USD/bin:/usr/local/USD/lib:$PATH’
Oh I thought you said you have too You mean Linux lib path or usd lib path?!
I tested it without Linux lib path in $PATH too Is same hydra is set to disabled
I don’t think we have to set any flag for GL when we build it yes??
I think it will be active by default as default renderer
On Thu, Aug 16, 2018 at 6:58 PM Mahmoodreza Aarabi madoodia@gmail.com wrote:
btw, we test installation on another linux box, clean one actually, and in default mode without any extra flag it neede to install glew manually on linux, it worked fine, i'm re-imaging my linux box and ty to install it again.
It is working fine, it just needed to install Glew manually, actually build and install Glew fixed the problem
https://sourceforge.net/projects/glew/files/glew/2.1.0/glew-2.1.0.tgz
Plus installing
libXmu
libXmu-devel
libXi-devel
libGL-devel
libXcursor
libXcursor-devel
libXinerama
libXinerama-devel
:)
Thanks for the report @madoodia.
@madoodia I'm having the same issue with "hydra disabled" I tried your fix but I think I might misinterpret what you did.
When you say "it just needed to install Glew manually", do you mean installing it before building USD so USD links to the manually installed version, or do you just install it afterward ? Said differently, is the manual Glew installation needed to build or to run usdview with hydra ?
Thanks
Description of Issue
I installed USD 18.09 with MaterialX flag enabled in Centos 7 machine, here I have a problem with
Hydra: disabled
issue and it does not on GL for me, However i have PyOpenGL 3.1.0 in my site-packages and libGL1.1.so in/usr/lib
Steps to Reproduce
I used this to build USD:
sudo python build_scripts/build_usd.py --generator "Unix Makefiles" --python --alembic --hdf5 --maya --maya-location /mnt/applications/apps/Autodesk/Maya_2018_201711281015/ --materialx --openimageio /usr/local/USD
Add related paths to
PATH
env var:export PATH=/usr/lib64:/usr/lib:/usr/local/USD/bin:/usr/local/USD/lib:$PATH
Add related paths to
PYTHONPATH
env var:export PYTHONPATH=/usr/lib64/python2.7/site-packages/:/usr/lib/python2.7/site-packages/:/usr/lib/python2.7/site-packages/OpenGL:/usr/local/USD/lib/python:$PYTHONPATH
usdview extra/Kitchen_set/Kitchen_set.usd
System Information (OS, Hardware)
CentOS 7
Please let me know what is the problem, thanks
second question: related to renderers if i download Embree and want to add it to USD i can? or i should build USD again?
Thanks