Renderman procedural primitive DSO: no active context.

Source: Internet
Author: User

Many young friends are learning RM, and the powerful RM features of procedural primitive are of course indispensable. I have been asked more than once to write the DSO of the ball according to the example in the RM document. The following error will always occur,

A00000 {warning} risphere: no active context.

This problem occurs because DSO does not use the correct static Library Link-we need to use prman. lib instead of libprmansdk. Lib. So why can we use the latter compiler? Because Ri functions are all C functions, the function symbols generated by the compiler in these two libraries are exactly the same, while the RI functions in the latter are used for rifplugins, not for pp dso.

The solution is to use prman. lib instead of libprmansdk. lib to generate your pp DSO.

This phenomenon can be reproduced in RPS 13.5.

Young men began to learn RM, the procedural primitive is also an important feature about the powerful RM Renderer. I was asked to help for the sphere DSO in application note of RM's document. the error is

A00000 {warning} risphere: no active context.

It was caused by the wrong static library, I. e. We shoshould use prman. LibNotLibprmansdk. lib to be linked with our DSO shared library. why it will be still correct if we still use libprmansdk. lib is because of the same C function symbol generate by compiler in both 2 static library.

Use prman. Lib not libprmansdk. lib to generate your pp DSO.

Reproduced under RPS 13.5.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.