missing FormatStarcounterErrorMessage
add extern C
Merge branch 'cmake' into develop