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

OSX Build Fails with Cuda Installed #767

Closed
jbartolozzi opened this issue Feb 19, 2019 · 2 comments
Closed

OSX Build Fails with Cuda Installed #767

jbartolozzi opened this issue Feb 19, 2019 · 2 comments

Comments

@jbartolozzi
Copy link

Description of Issue

Building TBB fails when /usr/local/cuda directory exists.
Build succeeds when I move /usr/local/cuda to another directory.

Created ./build/macos_intel64_clang_cc10.0.0 Found CUDA installation: /usr/local/cuda, version unknown_os10.13.6_release and ..._debug directories
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C "./build/macos_intel64_clang_cc10.0.0 Found CUDA installation: /usr/local/cuda, version unknown_os10.13.6_debug" -r -f ../../build/Makefile.tbb cfg=debug
make[1]: ../../build/Makefile.tbb: No such file or directory
make[1]: *** No rule to make target `../../build/Makefile.tbb'. Stop.
make: *** [tbb] Error 2

Steps to Reproduce

  1. python build_scripts/build_usd.py /usr/local/USD

System Information (OS, Hardware)

MacOS 10.13.6

Package Versions

Build Flags

@sunyab
Copy link
Contributor

sunyab commented Feb 19, 2019

This appears to be a bug in the TBB build system -- see oneapi-src/oneTBB#44. Besides moving/uninstalling CUDA, a possible workaround is mentioned in spack/spack#6000

@jtran56
Copy link

jtran56 commented Feb 20, 2019

Filed as internal issue #USD-5082.

AdamFelt pushed a commit to autodesk-forks/USD that referenced this issue Apr 16, 2024
…Studios#767)

### Description of Change(s)
Change FreeType from static linked to dynamic linked. Remove FindLibpng cmake.
### Fixes Issue(s)
-

<!--
Please follow the Contributing and Building guidelines to run tests against your
change. Place an X in the box if tests are run and are all tests passing.
-->
- [ ] I have verified that all unit tests pass with the proposed changes
<!-- 
Place an X in the box if you have submitted a signed Contributor License Agreement.
A signed CLA must be received before pull requests can be merged.
For instructions, see: http://openusd.org/release/contributing_to_usd.html
-->
- [ ] I have submitted a signed Contributor License Agreement
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

No branches or pull requests

3 participants