adobe / adobe/USD-Fileformat-plugins

Include paths

Open
#60 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
396
Forks
42
PR merge metrics
No merged PRs in 30d

Description

I'm building a current git version of the plugins against the same of https://github.com/PixarAnimationStudios/OpenUSD

```
cmake -S . -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-Dpxr_ROOT=/usr/include/pxr
```

Failure at [ 16%] Linking CXX shared library libfileformatUtils.so:
```
/usr/bin/ld: cannot find -ltf: No such file or directory
/usr/bin/ld: cannot find -lsdf: No such file or directory
/usr/bin/ld: cannot find -lusd: No such file or directory
/usr/bin/ld: cannot find -lusdGeom: No such file or directory
/usr/bin/ld: cannot find -lusdLux: No such file or directory
/usr/bin/ld: cannot find -lusdRender: No such file or directory
/usr/bin/ld: cannot find -lusdSkel: No such file or directory
/usr/bin/ld: cannot find -lusdShade: No such file or directory
/usr/bin/ld: cannot find -lusdUtils: No such file or directory
/usr/bin/ld: cannot find -lusdVol: No such file or directory
/usr/bin/ld: cannot find -lhio: No such file or directory
/usr/bin/ld: cannot find -larch: No such file or directory
```

tf is at
_/usr/include/pxr/base/tf/_

most of the rest at
_/usr/lib/usd/sdf/
/usr/lib/usd/usdShade/_

Does this mean I'd have to set 2 different `-Dpxr_ROOT=`{/usr/lib/usd/,/usr/include/pxr/base} ? I have let USD choose paths below my prefix of _/usr_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.