- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Ref: Compiling Modelica file
Ref: Compiling Modelica file
Ref: Compiling Modelica file
while trying to compile my modelica file from the command line using :
omc +s modelname.mo
no header file is generated i.e, modelname.h ?
Only the following files are generated:
modelname.cpp,modelnmae.makefile, modelname_functions,modelname_init
Please let me know how to fix this problem since i am not able to run the model.
Thanks
Rajiv Singh
Re: Ref: Compiling Modelica file
Why do you need a header file? The model is linked as an executable, not a library ( the model conforms to OPENMODELICAHONE/includes/omc/simulation_runtime.h ).
Just run "make -f modelname.makefile" followed by "./modelname"
- sjoelund.se
- 1700 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Ref: Compiling Modelica file