- Index
- » Developer
- » OpenModelica development
- » Configuration of MSVC++ for FMU-based...
Configuration of MSVC++ for FMU-based C programs gnerated OMC 1.9.0
Configuration of MSVC++ for FMU-based C programs gnerated OMC 1.9.0
I'd like to build C programs based on FMUs generated by OMC 1.9.0. They work well with the gcc MinGW compiler.
With MSVC++ 10.0, the standard Debug Configuration works fine, however, the standard Release configuration does not work. I am wondering which additional setting I need to consider or worry about?
Re: Configuration of MSVC++ for FMU-based C programs gnerated OMC 1.9.0
Hi,
I don't think you can. The FMU's compiled with OpenModelica are compiled using MinGW GCC.
You cannot blend compilers and their runtimes as it will not work.
That it works in MSVC debug mode is just a coincidence.
Maybe it might work if you load the dll in your C code and call its functions but linking directly with it is a recipe for incompatibility issues.
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
- Index
- » Developer
- » OpenModelica development
- » Configuration of MSVC++ for FMU-based...