GithubHelp home page GithubHelp logo

Public usd-docker? about al_usdmaya HOT 2 CLOSED

animallogic avatar animallogic commented on June 12, 2024
Public usd-docker?

from al_usdmaya.

Comments (2)

dbaz avatar dbaz commented on June 12, 2024

Hi MrHarris!,
We have discussed removing these docker files until will we opensource the base dockerfiles, since their existence might hinder people more than help. Let me know what you think.

We are looking into releasing our source for the docker images. I have no ETA yet but I expect sooner than later.

TMP_DIR is defined in our more base image, so you will have to set it yourself in your Docker file through and ENV or just directly in shell script.
In our more base image we set it in a Docker ENV command, somewhat like the following:

# In Dockerfile
ENV  BUILD_DIR=/opt/usd \
    TMP_DIR=/tmp/usd-build \
    DOWNLOADS_DIR=/tmp/usd-downloads

That cmake command assumes it is being run inside a folder in the AL_USDMaya root folder, that is what the sneaky '..' at the end is saying. Like in the build_alusdmaya.sh, create a build folder in your AL_USDMaya, cd into it and run the cmake command and see if that fixes that issue.

    cd AL_USDMaya
    mkdir build
    cd build  
      cmake -Wno-dev \
            -DCMAKE_INSTALL_PREFIX=$BUILD_DIR \
            -DCMAKE_MODULE_PATH=$BUILD_DIR \
            -DCMAKE_BUILD_TYPE=RelWithDebInfo \
            -DBOOST_ROOT=$BUILD_DIR \
            -DMAYA_LOCATION=$MAYA_LOCATION \
            -DGTEST_ROOT=$BUILD_DIR \
            -DUSD_CONFIG_FILE=$BUILD_DIR/pxrConfig.cmake \
            -DCMAKE_PREFIX_PATH=$MAYA_LOCATION/lib/cmake \
            ..

Hopefully that helps a bit more, let me know if you need more info.

Baz

from al_usdmaya.

mrharris avatar mrharris commented on June 12, 2024

Perfect thanks Baz. Got it built :)
It wasn't clear that $BUILD_DIR was the USD installation dir (/usr/local/USD in my case) and that alone could be used to satisfy so many of the cmake requirements
Now I will need to move off my centos virtual machine; legacy viewport doesn't seem to like hydra...

from al_usdmaya.

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.