- Index
- » Developer
- » OpenModelica development
- » example of directly linking with...
example of directly linking with libOpenModelicaCompiler.dll
example of directly linking with libOpenModelicaCompiler.dll
I'm interested in a simple example of how to initialize and then use the omc_OpenModelicaScriptingAPI_* functions in this dll in order to build an entirely stand-alone application that can interact with Modelica objects. Specifically, there's the matter of properly obtaining the threadData_t object needed by all of these functions and how to initialize any logging and error handling behavior(s).
The API defined in OpenModelicaScriptingAPIQt.h I find interesting because it wraps the above methods in a way that I'll want to do similarly in C++. Any examples for how to use this API in a standalone mode?
I haven't found any simple examples in the source distribution. Thanks in advance for any pointers.
Re: example of directly linking with libOpenModelicaCompiler.dll
There is a small client library here that you can inspire from:
https://github.com/OpenModelica/OMCompi … pp/omcCAPI
- adrpo
- 885 Posts
- Index
- » Developer
- » OpenModelica development
- » example of directly linking with...