Skip to content

A ease-of-use script to recompile a Functional-Mockup-Unit for your target system

Notifications You must be signed in to change notification settings

localhorst87/recompile_fmu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

recompile_fmu

When to use this script?

You have a Functional Mockup Unit (FMU) 2.x that is missing binaries for your target system (e.g., it only has windows64 binaries, but you will need linux64 binaries as well)

Precondition

Your FMU carries sources

Limitations

In this first version, the sources must not use any third shared libraries

How to use

Linux

Simply run the following command:

./recompile.sh -f ./path/to/your/model.fmu -h ./path/to/fmi2headers_folder

# creates new FMU ./path/to/your/model_recompiled.fmu

Flags:

-f / --fmu: The absolute or relative path to your FMU you want to recompile

-h / --headers: The absolute or relative path to the folder that contains the FMI2 headers

Windows

follows soon

About

A ease-of-use script to recompile a Functional-Mockup-Unit for your target system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published