NatLabRockies / NatLabRockies/Spawn

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

Open
#58 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
19
Forks
10
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with open_modelica/test/test_compiler.cpp and inspect how the minimal demo expects Catch2, fmt, and nlohmann/json to be provided. Check the project’s build or setup guidance, then make the demo’s required dependencies and build steps clear enough that a C/C++ caller can compile it.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.