-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
USD build on linux centos 7 fails #1162
Comments
The problem is that the virtualenv needs position independent code, but according to the log.txt, your python was not compiled with -fPIC. That is symptomatic of more than one possible cause. You might find some useful clues for troubleshooting here: |
Thx a lot will try it out! Let you if it worked out thx a lot! |
Filed as internal issue #USD-5983 |
Hey guys, |
Hey guys, ERROR: Failed to run 'cmake --build . --config Release --target install -- -j8' |
So i tried to compile USD with my system python from usr/local and i get the same error: ERROR: Failed to run 'cmake --build . --config Release --target install -- -j8' |
Hi @wolzjohannes, you may need to install the |
THx a lot will try that! But im using python2.7? |
Oops, sorry -- |
dont worry! :-) THX a lot but was already installed so i dont whats the problem |
Hey Guys so i tried it now with a new virtualenv from a new compiled python3.6.8 now i get this error.
So i guess it is because the build script is written in a python version below python3! So i tried almost everything! Is there anybody who was able to get USD work on a linux centos7 machine! And maybe he can give my a tutorial or help how he did it! I would appreciative it so much :-) |
I think you need to update your copy of the source code. The current code is Python3 compatible, and line 58 in the new code does have the parenthesis. https://github.com/PixarAnimationStudios/USD/blob/ebac0a8b6703f4fa1c27115f1f013bb9819662f4/build_scripts/build_usd.py#L58 |
thx a lot! That solved my python build_script problem! But opened another:
|
Could you try running the build script again with the -v option, and post your results? Perhaps some clues will be printed explaining why cmake failed detection. |
Ah, that's very helpful. Your gcc is 4.8.5 ~ USD requires at least gcc 6.3.1. The versions are documented here: https://github.com/PixarAnimationStudios/USD/blob/master/VERSIONS.md Here's the line I found in your log.txt:
and the errors that follow, all indicate that the compiler doesn't support the C++ features that USD needs. e.g.:
|
Thank you so much will give it a try |
@meshula Hey You! Thank you so much for your help. I was able to build it with the new gcc version. |
But now i have another problem :-)
|
But i found out that it exist in another directory:
|
But is not working anyway. When i give usdview the absolute path it works fine: |
I build it with this arguments: |
The path to the sample asset shown in the README.md should be adjusted to read |
Description of Issue
USD build fails on centos 7 linux via python virtual env.
Steps to Reproduce
System Information (OS, Hardware)
OS: Linux centos 7 64-bit
Prozessor: Intel® Core™ i5-8265U CPU @ 1.60GHz × 8
Grafik: Intel® HD Graphics (Whiskey Lake 3x8 GT2)
Gnome: Version 3.28.2
Package Versions
Latest.
Build Flags
gmake[2]: *** [pxr/base/tf/libtf.so] Fehler 1
gmake[1]: *** [pxr/base/tf/CMakeFiles/tf.dir/all] Fehler 2
gmake: *** [all] Fehler 2
ERROR: Failed to run 'cmake --build . --config Release --target install -- -j8'
See /usr/local/USD/build/USD/log.txt for more details.
(usd_python_env) [johanneswolz@localhost Development]$
log.txt
The text was updated successfully, but these errors were encountered: