Rez compilation error, resource.r not found.

Have you tried compiling swap plugin? It compiles fine but just at the post build step; I am seeing following error:

resource.r not found from Rez.

Any suggestions?

Comments

  • RuudLRuudL Posts: 194
    edited December 2023

    You'll have to create the resource.r file yourself, if it is not already there. Insert a #include for every .r file in the folder.

    In this case: #include "Swap.r"

    This is the standard approach of the Carrara SDK on Windows. The resource.r name is hard coded in the <SDK Root>\Build\BuildDTA.bat

    Post edited by RuudL on
  • RuudL said:

    You'll have to create the resource.r file yourself, if it is not already there. Insert a #include for every .r file in the folder.

    In this case: #include "Swap.r"

    This is the standard approach of the Carrara SDK on Windows. The resource.r name is hard coded in the <SDK Root>\Build\BuildDTA.bat

    Thank you, this really worked for me!

  • It is interesting that I found this issue as I have not seen this before. I was planning to create a Carrara SDK development video for creating a clean template using the "Flat" primitive as an example. I deleted all the files which I felt were not relevant. Many thanks to @RuudL.

     

     

  • RuudLRuudL Posts: 194

    My pleasure.

Sign In or Register to comment.