﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6415	"Msys on Windows misses header file ""locale"""	openmodelica@…	Adrian Pop	"I tried to compile code of a self-created modelica library with 1.17.0-beta3-64bit

Error message:
C:\OpenModelica1.17.0-dev.beta3-64bit\tools\msys\mingw64\include\c++\10.2.0\iomanip:44:10: fatal error: 'locale' file not found
#include <locale>


Investigation:
- Open msys shell, in my case 
 - C:\OpenModelica1.17.0-dev.beta3-64bit\tools\msys\msys2_shell.cmd
- see who owns the ""locale"" header file:
 - pacman -Qo /mingw64/include/c++/10.2.0/locale
  - the result is ""/mingw64/include/c++/10.2.0/locale is owned by mingw-w64-x86_64-gcc 10.2.0-5""
- check if it is there
 - ls /mingw64/include/c++/10.2.0/locale
  - ls: cannot access '/mingw64/include/c++/10.2.0/locale': No such file or directory

So i guess the installer does not ship that file. Let's see if there are more files missing:
- pacman -Ql mingw-w64-x86_64-gcc | cut -d"" "" -f2 | grep -ve""/$"" | xargs -n1 ls
 - except for man-pages which are not essential, locale is the only file missing"	defect	closed	high	1.17.0	Installation program	v1.17.0-dev	fixed		
