Results 1 to 2 of 2

Thread: Compiled MetaSL

  1. #1
    Join Date
    Mar 2010
    Posts
    2

    Default Compiled MetaSL

    Hi! I have a question about the compilation of "LLVM back-end" in 3.8:
    How to switch the mode LLVM?
    What is meant when the documentation is written - "To enable it the (_MI_REG_METASL_BACKEND) mental ray registry variable need to be set to the value" llvm ""?

    When I run the test stage of the lesson "metasl_llvm_backend", this error: "shader" white "not found". But tape still wrote that - "Loading shader file. / white.msl"

  2. #2
    Join Date
    Jan 2009
    Location
    Berlin/Germany
    Posts
    1,148

    Lightbulb MetaSL using LLVM backend

    Hi Ostap,

    the tutorial directory "metasl_llvm_backend" you mention contains instructions how to run mental ray in a way so that LLVM is used. If you run mental ray in this tutorial directory then LLVM is selected automatically by the rayrc configuration file. But the LLVM back-end binary load path needs to be supplied explicitly, like via command line option "-L <path>", or environment variable MI_LIBRARY_PATH.

    If your setup is valid you should see a message like
    Code:
    LIB 0.0 info: library "gen_llvm.dll": loaded ...
    I tried this on several platforms and it works successfully for me on all of them.

    Best, Steve.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •