This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear Champs,
My customer faced a build error when they tried to use RTI interrupt as below and they are using C++.
Could you please let me know how they set-up RTI interrupt and how resolve build error?
Is it OK to use C++ for RTI?
They ran RTI example in the MCU+ SDK successfully, but they faced build error in their custom program using C++.
They are using MCU+ SDK v8.5.
They created empty project and set-up RTI interrupt as below.
Their build error is as below.
I think RTI library is C-library. If this is right, is there C++ library for RTI?
Thanks and Best Regards,
SI.
Hi SI,
Basically it is not an issue with the C++, TI doesn't provide the any SDK libraries in the C++. The error which customer is seeing is that, the compiler is not able to find the definition of the rtiEvent0 function.
Basically what customer has done wrong is, they have declared the rti callback function to be as the rtiEvent0 in the sysconfig, however they haven't declared it's definition in the code anywhere, which is done in the rti Example in SDK. Please ask them to make a function declaration in their application code and you should see this error go away, like this
If I remove this function declaration in my code, I can see the exact same error which customer has seen