Re: Linking issue in MSVC2008 Express

From: PRADEEBAN KATHIRAVELU <kk.pradeeban_at_gmail.com>
Date: Sun Apr 05 2009 - 23:11:26 CEST

Hi,
I am summarizing the suggestions given by sum1 via irc, for the list.

1. Undid the /NODEFAULTLIB change
2. Applied the changes depicted in http://pastebin.ca/1382828
Now Abiword can be successfully built using MSVC2008.

Thank you.
Regards.
Pradeeban.

On Sun, Apr 5, 2009 at 10:04 PM, PRADEEBAN KATHIRAVELU
<kk.pradeeban@gmail.com> wrote:
> Hi,
> Just used /NODEFAULTLIB:library option, now it is producing 11393 errors.
> [LNK2001, LNK2019]
> Seems I am missing some essentials.
> I am working on this.
>
> Thanks.
> Regards.
> Pradeeban.
>
> On Sun, Apr 5, 2009 at 9:39 PM, PRADEEBAN KATHIRAVELU
> <kk.pradeeban@gmail.com> wrote:
>> Hi,
>> I am building Abiword (checked out from svn trunk) using Visual C++
>> 2008 Express, as I prefer it for windows.
>> But unfortunately, it fails with LNK2001.
>> Am I missing something?
>> Any hint on this is highly appreciated.
>>
>>
>> The whole output is attached below:
>>
>> 1>------ Build started: Project: WpMainWin, Configuration: Debug Win32 ------
>> 1>Linking...
>> 1>   Creating library E:\abi\abi\trunk\Debug\AbiWord.lib and object
>> E:\abi\abi\trunk\Debug\AbiWord.exp
>> 1>LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of
>> other libs; use /NODEFAULTLIB:library
>> 1>afxapwin.lib(xap_Win32Dlg_About.obj) : error LNK2001: unresolved
>> external symbol "unsigned char * g_pngSidebar" (?g_pngSidebar@@3PAEA)
>> 1>afxapwin.lib(xap_Win32Dlg_About.obj) : error LNK2001: unresolved
>> external symbol "unsigned long g_pngSidebar_sizeof"
>> (?g_pngSidebar_sizeof@@3KA)
>> 1>E:\abi\abi\trunk\Debug\AbiWord.exe : fatal error LNK1120: 2
>> unresolved externals
>> 1>Build log was saved at "file://e:\abi\abi\trunk\WpMainWin\Debug\BuildLog.htm"
>> 1>WpMainWin - 3 error(s), 1 warning(s)
>> ========== Build: 0 succeeded, 1 failed, 18 up-to-date, 0 skipped ==========
>>
>>
>>
>> Thank you.
>> Regards.
>> Pradeeban.
>> --
>> Pradeeban.
>> University of Moratuwa.
>> [06CSE]
>> http://kkpradeeban.blogspot.com/
>>
>
>
>
> --
> Pradeeban.
> University of Moratuwa.
> [06CSE]
> http://kkpradeeban.blogspot.com/
>

-- 
Pradeeban.
University of Moratuwa.
[06CSE]
http://kkpradeeban.blogspot.com/
Received on Sun Apr 5 23:11:39 2009

This archive was generated by hypermail 2.1.8 : Sun Apr 05 2009 - 23:11:39 CEST