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?
You currently have no notifications.
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?
Licensing Agreement | Terms of Service | Privacy Policy | EULA
© 2025 Daz Productions Inc. All Rights Reserved.
Comments
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.
My pleasure.