﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3426	"CPP runtime doesn't work ""out-of-the-box"" under Windows"	Rüdiger Franke	Adrian Pop	"Consider the following test:

1. Install OpenModelica1.9.3Nightly on a fresh Windows 7
2. Start OMEdit and add `+simCodeTarget=cpp` to OMEdit->Tools->Options->Simulation:OMC Flags
3. Simulate the model Modelica.Blocks.Examples.PID_Controller

The log window reports:
{{{
Process crashed
Simulation process failed. Exited with code -1073741515.
}}}

Then open a DOS prompt in OMEdit's working folder. Unfortunately OpenModelica does not tell which path it needs. Let's assume something and invoke the simulation executable:
{{{
> PATH=%PATH%;C:\OpenModelica1.9.3Nightly\bin;C:\OpenModelica1.9.3Nightly\lib\omc\cpp
> Modelica.Blocks.Examples.PID_Controller.exe
}}}

This results in a dialog box saying that `MSVCR100D.dll` is missing on my Windows 7 machine.

Does this mean that some dll that is loaded by the model was wrongly compiled with cl in debug mode?

"	defect	closed	critical	1.9.3	Cpp Run-time	trunk	fixed		Marcus Walther Adrian Pop Adeel Asghar Niklas Worschech
