Re: Win32 build failure


Subject: Re: Win32 build failure
From: Thomas Briggs (tom@sane.com)
Date: Thu Jul 13 2000 - 16:57:43 CDT


   I've been trying to find the answer to this one all day. I can't find
any documentation anywhere stating which libs the mbrtowc and wcrtomb
functions are in, though I have confirmation that they're prototyped in
wchar.h. My little test program that I've been using to help solve the
problem links correctly if I include libcpd.lib in the linker options, but I
haven't had any luck yet modifying the abi build files to include that lib
(I don't know squat about the abi build system, nor am I eager to learn it).
   So there's the only clue I can give you. Actually, here's the real hint:
run "grep mbrtowc *" in your Visual Studio/VC/Lib directory and it'll give
you the list of libs that should (could? might?) contain that function.
It's awfully hackish, but that's all I've come up with so far.

   -Tom

----- Original Message -----
From: "Jeremy Sheeley" <jeremy@sourcegear.com>
To: "abiword-dev" <abiword-dev@abisource.com>
Sent: Thursday, July 13, 2000 5:52 PM
Subject: Win32 build failure

> Hey everybody,
>
> The windows build is failing like this:
>
> Linking /abisource/abi/src/WIN32_1.1.2s_i386_DBG/bin/AbiWord.exe....
> libAbiUtil_s.lib(ut_mbtowc.obj) : error LNK2001: unresolved external
> symbol __imp__mbrtowc
> libAbiUtil_s.lib(ut_wctomb.obj) : error LNK2001: unresolved external
> symbol __imp__wcrtomb
> c:\cygwin\abisource\abi\src\WIN32_1.1.2s_i386_DBG\bin\AbiWord.exe :
> fatal error LNK1120: 2 unresolved externals
> make[4]: *** [/abisource/abi/src/WIN32_1.1.2s_i386_DBG/bin/AbiWord.exe]
> Error 2
>
> Any ideas?
>
> -Jeremy
>
>



This archive was generated by hypermail 2b25 : Thu Jul 13 2000 - 16:59:26 CDT