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

(Linux) Maya plugin not building #236

Closed
timlehr opened this issue Jul 11, 2017 · 2 comments
Closed

(Linux) Maya plugin not building #236

timlehr opened this issue Jul 11, 2017 · 2 comments

Comments

@timlehr
Copy link

timlehr commented Jul 11, 2017

Description of Issue

Hey guys,

I tried to build USD 0.7.6 using the awesome new build script and got a successful build in almost no time compared to the past. Big thanks for that! However, the Maya plugin isn't loading for me, throwing an error:

// Error: line 1: Unable to dynamically load : /opt/USD/third_party/maya/plugin/pxrUsd.so
/opt/USD/third_party/maya/plugin/../lib/libpx_vp20.so: undefined symbol: _ZN31pxrInternal_v0_7__pxrReserved__9TfRefBase22_uniqueChangedListenerE // 
// Error: line 1: /opt/USD/third_party/maya/plugin/../lib/libpx_vp20.so: undefined symbol: _ZN31pxrInternal_v0_7__pxrReserved__9TfRefBase22_uniqueChangedListenerE (pxrUsd) // 

Steps to Reproduce

  1. Build USD 0.7.6 and the dependency using the new python build script.
  2. Set environment variables for USD.
  3. Run Maya 2017 and try to load the plugin.

System Information (OS, Hardware)

Fedora 25: Linux 4.10.15-200.fc25.x86_64 #1 SMP Mon May 8 18:46:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Autodesk Maya 2017 (Linux, vanilla / no service packs)

CPU: Intel® Xeon(R) CPU E5-2690 v4 @ 2.60GHz × 56
RAM: 64GB
GPU: GeForce GTX 1080/PCIe/SSE2

Package Versions

USD: 95eef7c

Build Flags

Building with settings:
USD source directory /home/tim/dev/USD
USD install directory /opt/USD
3rd-party source directory /opt/USD/src
3rd-party install directory /opt/USD
Build directory /opt/USD/build

Building
Imaging On
Ptex support: Off
UsdImaging On
Documentation On
Tests Off
Alembic Plugin On
HDF5 support: Off
Maya Plugin On
Katana Plugin Off
Houdini Plugin Off

Build script flags: --maya --maya-location /usr/autodesk/maya2017 --alembic --docs

Enviroment variables:

export PYTHONPATH=$PYTHONPATH:/opt/USD/lib/python
export USD_ROOT=/opt/USD
export MAYA_SCRIPT_PATH=$MAYA_SCRIPT_PATH:$USD_ROOT/third_party/maya/share/usd/plugins/usdMaya/resources/
export MAYA_PLUG_IN_PATH=$MAYA_PLUG_IN_PATH:$USD_ROOT/third_party/maya/plugin/
@jtran56
Copy link

jtran56 commented Jul 12, 2017

Filed as internal issue #148583.

@timlehr
Copy link
Author

timlehr commented Jul 12, 2017

Sorry guys, the issue was on my end. After I cleaned my system as much as possible and completely rebuild USD with all dependencies - it is loaded by Maya! 👍

@timlehr timlehr closed this as completed Jul 12, 2017
AdamFelt pushed a commit to autodesk-forks/USD that referenced this issue Apr 16, 2024
…/feature/ios

[OGSMOD-2797] Fix build error for iOS target. Step 2/2
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

2 participants