You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# nim c wrapper.nim > fmuTemplate.nimimport nimterop/cimport
static:
cDebug()
cDisableCaching() # Regenerate Nim wrapper every time#cDefine("HAS_ABC") # Set #defines for preprocessor and compiler#cDefine("HAS_ABC", "DEF")cDefine("DISABLE_PREFIX")
cDefine("FMI2_Export")
cDefine("FMI2_FUNCTION_PREFIX", "MyModel_")
cIncludeDir("./fmusdk-master/fmu20/src/shared/include") # Setup any include directories#cExclude("clib/file.h") # Exclude file from wrapped outputcImport("./fmusdk-master/fmu20/src/models/fmuTemplate.h", recurse =true, mode="c") # Generate wrappers for header specified
I am trying to wrap the following:
and I am geting the following error:
Any clue of what am I doing wrong?
The text was updated successfully, but these errors were encountered: