Skip to main content
Ofer
Associate III
May 16, 2026
Question

compling generated code by MCSDK by c++ included errors that must be be corrected for use

  • May 16, 2026
  • 1 reply
  • 104 views

I tried compiling the generated code of the MCSDKand compiling it by C++ compiler, but the error at the revup_ctrl.h file:   pHandle->pCurrentPhaseParams = MC_NULL;

prevent such compilation.

Will it be fixed soon ?

 

1 reply

Pavel A.
Super User
May 16, 2026

Which error? Please include the exact error message.

If you compile with C compiler, will this error occur? Is it something specific to C++ vs. C ?

Will it be fixed soon ?

Not tomorrow :)

Ofer
OferAuthor
Associate III
May 16, 2026

I'm getting this error at MCSDK/MCLib/Any/Inc/revup_ctrl.h file , line 209

pHandle->pCurrentPhaseParams = MC_NULL;

 

 

it happens with C++ compilation only.

Pavel A.
Super User
May 16, 2026

> it happens with C++ compilation only

Then I'm afraid the reply will be just keep using C, as the MCSDK likely was written in C and none of the user have complained yet.

You can also fix the error yourself, in your copy of the software.

You can open a support ticket, but the response time is far from immediate. 

Good luck!