[Haskell-cafe] text-icu on Windows
fryguybob at gmail.com
Sun Apr 28 01:53:40 CEST 2013
I just tried this out and if I copied all of the .dll files from the icu4c
bin folder into the same folder as the test icu.exe it works as expected.
You can see what dlls are missing with the dependency walker program
http://www.dependencywalker.com/. Perhaps with a mingw based build of
icu4c (the one I used said it was built with Visual Studio 10) you could
On Sat, Apr 27, 2013 at 4:56 PM, John MacFarlane <jgm at berkeley.edu> wrote:
> Hello café:
> I'd very much like to get text-icu working on Windows, as then I could ship
> pandoc binaries that do proper unicode collation in bibliographies. But
> having a devil of a time. This may be due to my very limited Windows
> knowledge. Any help would be appreciated, especially from someone who
> has text-icu working on Windows.
> I was able to cabal install text-icu without errors. I used
> and --extra-include-dirs to point to the lib and include directories in the
> 32-bit binary distribution of icu4c. I'm using the latest Haskell
> 2012.4.0.0 with ghc 7.4.2.
> I was also able to build the following simple program that uses text-icu,
> doing ghc --make icu.hs:
> -- icu.hs
> import Data.Text.ICU
> main = print $ Locale "tr-TR"
> No errors or warnings in either of these steps. But when I try to run the
> compiled program, icu.exe, I get no output at all. I expected to get a line
> with 'Locale "tr-TR"', but instead I get nothing -- not even an error or
> This remains the case if I try
> main = do
> print "Start"
> print $ Locale "tr-TR"
> print "Done"
> 'echo $?' yields False.
> Any ideas?
> (I've posted a similar question to StackOverflow , but it hasn't gotten
> an answer yet there, so I thought I'd try here.)
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe