Giter VIP home page Giter VIP logo

Comments (7)

ben-hawkyard-saddington-baynes avatar ben-hawkyard-saddington-baynes commented on August 28, 2024

These are the build commands I've been running, too:

For vs 2017

python build.py --maya-location "Y:\Program Files\Autodesk\Maya2018" --pxrusd-location "Y:\Program Files\USD" --devkit-location "Y:\Program Files\Autodesk\Maya2018\devkitBase" --generator "Visual Studio 15 2017 Win64" .\workspace

For vs 2015

python build.py --maya-location "Y:\Program Files\Autodesk\Maya2018" --pxrusd-location "Y:\Program Files\USD" --devkit-location "Y:\Program Files\Autodesk\Maya2018\devkitBase" --generator "Visual Studio 14 2015 Win64" .\workspace

from maya-usd.

dtlindsey avatar dtlindsey commented on August 28, 2024

@ben-hawkyard-saddington-baynes
I had the same issue. I ended up having to rebuild USD with Visual Studio 2017, using the
--generator "Visual Studio 14 2015 Win64" argument.
Then I was able to build the maya plugins, change the pathing in the .mod file, and load it successfully in Maya. Give that a shot.

from maya-usd.

ben-hawkyard-saddington-baynes avatar ben-hawkyard-saddington-baynes commented on August 28, 2024

Hi Daniel, what precisely do you mean by using Visual Studio 2017? Should I open the 2017 Developer command prompt and run the command there?

from maya-usd.

dtlindsey avatar dtlindsey commented on August 28, 2024

from maya-usd.

ZhongLingXiao avatar ZhongLingXiao commented on August 28, 2024

Hi

I have change file : maya-usd\plugin\al\usdtransaction\AL\usd\transaction\tests\CMakeLists.txt
line 52 from

set_tests_properties(${USDTRANSACTION_PYTHON_TEST_NAME} PROPERTIES ENVIRONMENT PYTHONPATH=${CMAKE_BINARY_DIR}/${INSTALL_DIR_SUFFIX}/usdtransaction:${CMAKE_BINARY_DIR}/src:$ENV{PYTHONPATH} )

to
set_tests_properties(${USDTRANSACTION_PYTHON_TEST_NAME} PROPERTIES ENVIRONMENT "PYTHONPATH=${CMAKE_BINARY_DIR}/${INSTALL_DIR_SUFFIX}/usdtransaction:${CMAKE_BINARY_DIR}/src:$ENV{PYTHONPATH}" )

which only add "" for the parameter and the problem solved

from maya-usd.

samkenw avatar samkenw commented on August 28, 2024

@ZhongLingXiao This resolved the issue for me, thank you!

from maya-usd.

fowlertADSK avatar fowlertADSK commented on August 28, 2024

I believe this was finally fixed properly as part of a recent change to get the AL unit tests running on all platforms. See: #198

from maya-usd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.