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

Cannot build with OSL enabled Cycles #10

Open
trebconnell opened this issue Aug 20, 2020 · 2 comments
Open

Cannot build with OSL enabled Cycles #10

trebconnell opened this issue Aug 20, 2020 · 2 comments
Labels
build Issues around building

Comments

@trebconnell
Copy link
Contributor

Need to link against OSL libs

@trebconnell trebconnell changed the title Cannot build with OSL enabled Cyclrs Cannot build with OSL enabled Cycles Aug 20, 2020
@bfloch bfloch added the build Issues around building label Aug 21, 2020
@trebconnell
Copy link
Contributor Author

I have this working, but it was non-trivial because OSL and Cycles link to static OIIO and Usd links to dynamic OIIO.

Previously I had switched Cycles to also link to dynamic OIIO, but OSL with Cycles is pre-built to static link OIIO.

I found a somewhat painful workaround, but I'm going to try again for a cleaner one...

@grische
Copy link

grische commented Sep 6, 2020

@trebconnell Can't you link against statically built cycles libs?

There has been some considerable changes on the Cycle side recently and except openvdb and tbb, everything seems statically linkable:

I also wrote a Github CI to build Cycles, maybe this can help you there: https://github.com/grische/cycles/actions/runs/240177182

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues around building
Projects
None yet
Development

No branches or pull requests

3 participants