NREL / Spawn

Other
15 stars 3 forks source link

Minimum demo for calling the OpenModelica compiler from a C/C++ program #58

Open nuoyanli opened 1 year ago

nuoyanli commented 1 year ago

Hello Spawn developers, regarding your question in OM, Invoke OpenModelica Compiler from a C/C++ program #10802

https://github.com/NREL/Spawn/blob/3c40cadf53709e92688f1de922b687451be21898/open_modelica/test/test_compiler.cpp

I tried to use the minimal demo you provided, but it seems to have a lot of problems, such as not found "catch2/catch.hpp", "fmt/format.h", "lohmann/json.hpp" ,and so on,I am recently studying OM same as you, can you provide some help?

nuoyanli commented 1 year ago

I was reminded that carch2 is a unit test architecture and lohmann's json parsing library and fmt, am learning, thanks