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

pxr usd 19.3 compatibility #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

pxr usd 19.3 compatibility #14

wants to merge 2 commits into from

Conversation

99alfie
Copy link

@99alfie 99alfie commented Apr 13, 2019

Hi Guillaume,

I made some compatibility changes so it compiles with the latest usd master (v19.03). Also fixed a crash the procedural causes when maya is loaded. I am also looking into getting it going on windows.

I am compiling/linking pretty much against the libs that are built by usd (tbb, glew etc.), like so:

cmake -DCMAKE_INSTALL_PREFIX=/OpenWalter99alfie/walter/install -DCMAKE_BUILD_TYPE=Release -DUSD_ROOT=/USDpixar_jemalloc/install -DBOOST_INCLUDEDIR=/USDpixar_jemalloc/install/include -DBOOST_LIBRARYDIR=/USDpixar_jemalloc/install/lib -DOIIO_BASE_DIR=/USDpixar_jemalloc/install -DOCIO_PATH=/USDpixar_jemalloc/install -DILMBASE_ROOT=/USDpixar_jemalloc/install -DALEMBIC_ROOT=/USDpixar_jemalloc/install -DTBB_ROOT_DIR=/USDpixar_jemalloc/install -DJSONCPP_ROOT_DIR=/jsoncpp/install -DARNOLD_BASE_DIR=/arnold/Arnold-5.2.2.1 -DMTOA_BASE_DIR=/mtoa-3.1.2.1/maya-2018 -DMAYA_LOCATION=/maya-2018.update3 -DOPENSUBDIV_ROOT_DIR=/USDpixar_jemalloc/install -DPNG_ROOT=/USDpixar_jemalloc/install -DPTEX_LOCATION=/USDpixar_jemalloc/install -DTIFF_INCLUDE_DIR=/USDpixar_jemalloc/install/include -DTIFF_LIBRARY=/USDpixar_jemalloc/install/lib64 -DGLEW_INCLUDE_DIR=/USDpixar_jemalloc/install/include -DGLEW_LIBRARY=/USDpixar_jemalloc/install/lib64 -DZLIB_ROOT=/zlib-1.2.11/install ../

using Maya2018.3, on Centos

Cheers
Alf

Alf Kraus added 2 commits April 5, 2019 14:35
tbb namespace - should be passed in if needed, as it was it causes missing symbols when using tbb from pixar usd install
usd needs to be build before maya plugin as it is a dependency of it
Arnold will be double added when compiling maya and procedural so adding a if statement there

FindOpenImageIO.cmake - binaries are not build by the usd install and not required

FindUSD.cmake - adding SHARED extension so it finds hdStream.so

all other changes are to make it compatible with the current v19.03 usd master
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

Successfully merging this pull request may close these issues.

1 participant