Changes between Initial Version and Version 12 of Ticket #3234


Ignore:
Timestamp:
2015-03-19T16:55:08Z (10 years ago)
Author:
Adrian Pop
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3234

    • Property Summary OMEdit hangs if exporting an FMU with option +simCodeTarget=CppOMEdit needs to catch the exception thrown in the OpenModelicaScriptingAPIQt.cpp
  • Ticket #3234 – Description

    initial v12  
    1 OMEdit generates the code and then stops to respond. The generated code can be compiled from the command line after small corrections in the generated makefile.
     1OpenModelicaScriptingAPIQt.cpp will throw an std::runtime_error if an API command given to the omc dll will fail.
     2OMEdit will need to catch this, otherwise it will exit.
     3This doesn't happen only for FMUs, i guess it happens for any API that fails.
     4
     5Either we fix this in OMEdit or in the OpenModelicaScriptingAPIQt.cpp