code gen error

Altair Forum User
Altair Forum User
Altair Employee
edited August 2023 in Community Q&A

I get the following error when I try to run the simulation in code generation mode:

Error Message:
Element: DLL_EXT_ESB Name: MainCCode
ERROR: missing { at array initialization
ERROR: syntax error before or at line 192 in file 'C:\Program Files\Powersim\PSIM9.3.2_NetworkX64\PsimTmp\script_3.cxx'
==>: const DefaultType aAry[2 + 1] = a0,
BUG: const DefaultType aAry[2 + 1] = a0<== ???
ERROR: missing { at array initialization
ERROR: syntax error before or at line 195 in file 'C:\Program Files\Powersim\PSIM9.3.2_NetworkX64\PsimTmp\script_3.cxx'
==>: const DefaultType bAry[2 + 1] = b0,
BUG: const DefaultType bAry[2 + 1] = b0<== ???
ERROR: invalid rvalue of assignment operation
ERROR: syntax error before or at line 198 in file 'C:\Program Files\Powersim\PSIM9.3.2_NetworkX64\PsimTm

How can i solve this?

Tagged:

Answers