Skip to content
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

CMake should look for reqd python modules #91

Closed
jcowles opened this issue Oct 27, 2016 · 3 comments
Closed

CMake should look for reqd python modules #91

jcowles opened this issue Oct 27, 2016 · 3 comments

Comments

@jcowles
Copy link

jcowles commented Oct 27, 2016

System Information (OS, Hardware, etc.)

Windows

Steps to Reproduce

  1. Run CMake config without jinja2 installed

You get no message from CMake, just this traceback and configuration continues without error:

Traceback (most recent call last):
File "", line 1, in
ImportError: No module named jinja2

-- Configuring done
-- Generating done
-- Build files have been written to: C:/src/usd/stage/prereq/build/USD

It seems like all the python modules should be verified at first CMake setup to avoid late errors, here are the ones I've stumbled over:

  • pyd
  • pyopengl (required by usdview)
  • jinja2

Note that PySide is already correctly checked.

@jcowles
Copy link
Author

jcowles commented Oct 27, 2016

Also Enum, if you're verifying the generated code

@jtran56
Copy link

jtran56 commented Oct 27, 2016

Filed as internal issue #139283.

@meshula
Copy link
Member

meshula commented Oct 28, 2016

If jinja2 and Enum are installed, does that allow the schema validation to properly complete? I'm currently supressing with -DPXR_VALIDATE_GENERATED_CODE=OFF

AdamFelt pushed a commit to autodesk-forks/USD that referenced this issue Oct 11, 2022
Add simpleText support in USD

(cherry picked from commit 0e2a8172ab623a61244df1cb81f81f3274bf8b20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants