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.