[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnu-libiconv] libiconv fails to build for Windows (Visual Studi
From: |
Bruno Haible |
Subject: |
Re: [bug-gnu-libiconv] libiconv fails to build for Windows (Visual Studio, via cygwin) |
Date: |
Tue, 31 Oct 2017 15:27:18 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-97-generic; KDE/5.18.0; x86_64; ; ) |
Hi,
Konstantin Ivlev wrote:
> I am trying to build libiconv for Windows via Visual Studio, I am using
> official instructions from README.windows, and it fails to build with the
> following error:
>
> libtool: error: unrecognised option: '-DPACKAGE_VERSION_STRING=\"1.15\"'
This is trouble with the 'RC' variable / 'windres' program. Try to see under
which name you have the windres program. If it is named
'i686-pc-mingw32-windres', for example, you need to use the option
--host=i686-pc-mingw32, so that the configuration script finds it.
> but after that, it still fails with the following error:
>
> ../libtool: line 1745: test: too many arguments
> /usr/bin/install: target '../bin/charset-1.dll' is not a directory
You probably need to review the values of the autoconfigured variables in the
various Makefiles.
Bruno