inkle / inky

An editor for ink: inkle's narrative scripting language
http://www.inklestudios.com/ink
2.42k stars 296 forks source link

Compiler error: Couldn't find ICU package (Arch linux) #424

Open CodeAndGin opened 2 years ago

CodeAndGin commented 2 years ago

Hiya, I just downloaded release 0.13.0, and when I open the app, the compiler instantly gives me this:

Ink compiler had an unexpected error ☹

Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
   at System.Environment.FailFast(System.String)
   at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
   at System.Globalization.GlobalizationMode..cctor()
   at System.Globalization.CultureData.CreateCultureWithInvariantData()
Ink compiler had an unexpected error ☹

   at System.Globalization.CultureData.get_Invariant()
   at System.Globalization.CultureInfo..cctor()
   at System.Globalization.CompareInfo..cctor()
   at System.String.EndsWith(System.String, System.StringComparison)
   at Ink.CommandLineTool..ctor(System.String[])
   at Ink.CommandLineTool.Main(System.String[])
Ink compiler had an unexpected error ☹

Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
   at System.Environment.FailFast(System.String)
   at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
   at System.Globalization.GlobalizationMode..cctor()
   at System.Globalization.CultureData.CreateCultureWithInvariantData()
   at System.Globalization.CultureData.get_Invariant()
   at System.Globalization.CultureInfo..cctor()
   at System.Globalization.CompareInfo..cctor()
   at System.String.EndsWith(System.String, System.StringComparison)
   at Ink.CommandLineTool..ctor(System.String[])
   at Ink.CommandLineTool.Main(System.String[])

Am I missing a dependency or something? There arent really many clear instructions

rovantiq commented 2 years ago

Installing an earlier ICU version from the AUR (icu70) fixed it for me.

RPG-Alex commented 2 years ago

Installing an earlier ICU version from the AUR (icu70) fixed it for me.

Yeah, I specifically contacted the maintainer of the Inkly AUR and they have updated the dependency list to icu68. Until inkly gets patched for the current version of icu this should work, though it means installing an older version of icu.