0

I'm trying to use ICU4C on windows. I copied the 2 dlls into the executable directory and a ICU data file. According to what I read in the documentation, I should not need to set a specific data directory (http://userguide.icu-project.org/icudata), but my unit-tests run only when I set the ICU_DATA environment variable. Otherwise U_FILE_ACCESS_ERROR is returned on initialization or creation of converters. Can anyone tell me how to "install" this correctly so that I don't need to set the path?

nhahtdh
  • 55,989
  • 15
  • 126
  • 162
Tobias Langner
  • 10,634
  • 6
  • 46
  • 76

1 Answers1

0

is the data dll 'big' or 'small'? ( kilobytes or megabytes ). Maybe it is the stub data dll and the full one is hiding.

Steven R. Loomis
  • 4,228
  • 28
  • 39
  • 1
    I know this is very old now, but I'm running into something very similar. Any idea where the data DLL is in a standard MSVC build? The nearest I can find based on "icudt" and file size is "icudt##l_dat.obj" which is 24MB for me (ICU57). – codesniffer Feb 01 '21 at 08:26
  • 1
    @codesniffer hi! the DLL should be under `bin` or `bin64` if the build succeeded. – Steven R. Loomis Feb 04 '21 at 18:55