Comments (2)
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.
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)
- Respect upAxis metadata when reading usd HOT 2
- OS X build HOT 2
- Selection highlight doesn't work in VP2 wireframe mode HOT 1
- Compatibility with USD Version 18.09 HOT 5
- Building in Centos7 and ‘UsdSchemaType’ does not name a type HOT 1
- Selection change causes Usd_IssueFatalPrimAccessError HOT 5
- maya/MTypes.h missing in 2018 HOT 3
- NurbsCurves not obeying schema
- Finding Maya2018 issue
- USD dev branch removes UsdImagingGLHdEngine, breaks compilation HOT 9
- Proxy shape does not import animated transforms if animation has single key.
- can't find '__main__' module in ".../schemas" HOT 1
- endToEndMya Example error
- library ext error in plugInfo.json on windows
- Wiki comparison page correction HOT 1
- Example Animation & Layout video taken down from Youtube
- pxr/imaging/hdx/intersector.h file missing
- Unit tests failing HOT 5
- Serializing large Usd files into maya ASCII crashes maya HOT 4
- Can't select individual instances in viewport
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from al_usdmaya.