Skip to main content
Inspiring
May 19, 2021
Answered

Why can't my code see RenderOptionsSuite4?

  • May 19, 2021
  • 3 replies
  • 1091 views

Hi Folks,

 

I have a plugin that needs to call AEGP_RenderAndCheckoutFrame() like so:

 

     err = suites.RenderOptionsSuite3()->AEGP_RenderAndCheckoutFrame();

 

However, I get the error, "No member named 'AEGP_RenderAndCheckoutFrame' in 'AEGP_RenderOptionsSuite3'. Hmmm...so I upgraded to the latest SDK just to make sure nothing was missing, and I got the same error.

 

Then I discovered a newer version of the suite in the headers:AEGP_RenderOptionsSuite4. Ah ha! So I changed my code to this:

 

     err = suites.RenderOptionsSuite4()->AEGP_RenderAndCheckoutFrame();

 

But now I get this error: "No member named 'RenderOptionsSuite4' in 'AEGP_SuiteHandler'". When I go looking in AEGP_SuiteHandler.h, I indeed see that it has no references to RenderOptionsSuite4. It has references to version 2 and 3, but not 4.

 

How can I call RenderOptionsSuite4 functions, and why does it behave so differently from other suites that I'm calling?

 

Thanks!

 

This topic has been closed for replies.
Correct answer jamesastro

Bah! This was total user error on my part. My code should have been using RenderSuite4 instead of RenderOptionsSuite4.

 

This code compiles:

     err = suites.RenderSuite4()->AEGP_RenderAndCheckoutFrame(...)

3 replies

jamesastroAuthorCorrect answer
Inspiring
May 19, 2021

Bah! This was total user error on my part. My code should have been using RenderSuite4 instead of RenderOptionsSuite4.

 

This code compiles:

     err = suites.RenderSuite4()->AEGP_RenderAndCheckoutFrame(...)

Community Expert
May 19, 2021

meh. happens o the best of us. 🙂

thanks for posting back with the resolution.

Community Expert
May 19, 2021

odd. works on my end.

what's the SDK used in the project's pre-processor definitions?

perhaps you should also purge the intellisence db. that helps sometimes...

Known Participant
May 19, 2021

Thank you for your response! 

Currently I'm running into this problem while using the "Queuebert" project. I've just redownloaded the entire sdk though, so I know it is the latest version and I'm still running into this issue. 

Not sure exactly what you mean by SDK in the pre-processor definition, my apologies, I am still learning how to work with plugins. 

In the Queuebert project, this is how I am trying to use it currently. 

In this picture I've drawn arrows to the pre-processor stuff (from my understanding) and then also when the Suite is declared / assigned. Other than the inclusion of iostream and fstream this is all already done for you in the sample project. 

Then when I try to use RQItemSuite4, it doesnt exist. 

I tried purging the intellisense but that didn't seem to work. When I looked inside AEGP_SuiteHandler.h, it does mention that it is "deprectated" so maybe that is why? I'm not sure. How are you calling the suite?

Any ideas? I hope this may have been useful! 

 

Known Participant
May 19, 2021

I've just realized after posting this that OP was talking about RenderOptionsSuite4, not RQItemSuite4. However, I tried to use RenderOptionsSuite4 and the exact same issue happens to me as well. I'm guessing it is the same problem for both. 

Known Participant
May 19, 2021

Currently having the same issue! I think you can manually add it in the header or something, but honestly I'm scratching my head. 

Known Participant
May 19, 2021

Would love a response from someone at Adobe here, it seems like there are several suites which aren't exposed right now.