aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Aspell-user] Building aspell in VS 2005/2003


From: navi
Subject: Re: [Aspell-user] Building aspell in VS 2005/2003
Date: Tue, 5 Sep 2006 09:50:31 +0500

On Mon, 4 Sep 2006 07:58:43 -0500
"Gary Setter" <address@hidden> wrote:

> 
> ----- Original Message ----- 
> From: <address@hidden>
> To: <address@hidden>
> Sent: Monday, September 04, 2006 5:15 AM
> Subject: [Aspell-user] Building aspell in VS 2005/2003
> 
> 
> > I'm trying to build aspell 0.6 in VS 2005/2003 wthout any
> success. Too much work for me.
> > Is there any archive with aspell project for VS 2005/2003?
> >
> >
> > _______________________________________________
> > Aspell-user mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/aspell-user
> --- reply ---
> Hi,
> 
> I did a port to VC6. You can see the results here:
> http://sourceforge.net/projects/descdatadiary
> The main project is the editor front ends. Aspell is used as a
> library.
> I had one person leave a message in the forum area that VS2003
> had problems with my code as well. If you try it, would you
> please send me an e-mail?
> 
> Thanks,
> Gary Setter
> 

I compile aspell. Got lib, dll and exp files. But when trying to link it with 
my another project (it uses Qt 4.1.1), I get link error. See in atach.

In your project I also compiled aspell lib, but cant compile diary. It has 
about 90 errors. Most of them is that you using iterators as char pointers and 
VS dont understand it; I made some changes to code. If you need it I can send 
it to you.
Build Log
  

------- Build started: Project: spelltextedit, Configuration: Release|Win32 -------

Command Lines
  
Creating temporary file "C:\DOCUME~1\navi\LOCALS~1\Temp\RSP000009.rsp" with contents
[
/OUT:"release\spelltextedit.exe" /INCREMENTAL /NOLOGO /LIBPATH:"C:\Qt\4.1.1\lib" /NODEFAULTLIB:"libc" /SUBSYSTEM:WINDOWS .\my_aspell\lib\aspell6static.lib C:\Qt\4.1.1\lib\qtmain.lib C:\Qt\4.1.1\lib\QtGui.lib C:\Qt\4.1.1\lib\QtCore.lib gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib winspool.lib ws2_32.lib ole32.lib user32.lib msimg32.lib shell32.lib kernel32.lib uuid.lib advapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
.\release\cmainwnd.obj
.\release\main.obj
.\release\spelltextedit.obj
.\release\moc_cmainwnd.obj
.\release\moc_spelltextedit.obj
]
Creating command line "link.exe @C:\DOCUME~1\navi\LOCALS~1\Temp\RSP000009.rsp"
Output Window
  
Linking...
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall std::basic_string,class std::allocator >::~basic_string,class std::allocator >(void)" (address@hidden@address@hidden@@address@hidden@2@@std@@address@hidden) already defined in aspell6static.lib(convert.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(class std::basic_string,class std::allocator > const &)" (address@hidden@address@hidden@@address@hidden@2@@std@@address@hidden@@Z) already defined in aspell6static.lib(convert.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(char const *)" (address@hidden@address@hidden@@address@hidden@2@@std@@address@hidden@Z) already defined in aspell6static.lib(convert.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: unsigned int __thiscall std::basic_string,class std::allocator >::max_size(void)const " (address@hidden@address@hidden@std@@address@hidden@2@@std@@QBEIXZ) already defined in aspell6static.lib(convert.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::erase(unsigned int,unsigned int)" (address@hidden@address@hidden@std@@address@hidden@2@@std@@address@hidden@Z) already defined in aspell6static.lib(convert.obj)
LIBCMT.lib(osfinfo.obj) : error LNK2005: __get_osfhandle already defined in MSVCRT.lib(MSVCR71.dll)
LIBCMT.lib(dosmap.obj) : error LNK2005: __errno already defined in MSVCRT.lib(MSVCR71.dll)
LIBCMT.lib(crt0.obj) : error LNK2005: __amsg_exit already defined in MSVCRT.lib(MSVCR71.dll)
LIBCMT.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRT.lib(MSVCR71.dll)
LIBCMT.lib(crt0dat.obj) : error LNK2005: __exit already defined in MSVCRT.lib(MSVCR71.dll)
LIBCMT.lib(crt0dat.obj) : error LNK2005: __cexit already defined in MSVCRT.lib(MSVCR71.dll)
LIBCMT.lib(crt0dat.obj) : error LNK2005: __c_exit already defined in MSVCRT.lib(MSVCR71.dll)
LIBCMT.lib(atox.obj) : error LNK2005: _atoi already defined in MSVCRT.lib(MSVCR71.dll)
LIBCMT.lib(getenv.obj) : error LNK2005: _getenv already defined in MSVCRT.lib(MSVCR71.dll)
LIBCMT.lib(winxfltr.obj) : error LNK2005: __XcptFilter already defined in MSVCRT.lib(MSVCR71.dll)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(tolower.obj) : error LNK2005: _tolower already defined in MSVCRT.lib(MSVCR71.dll)
MSVCRT.lib(MSVCR71.dll) : error LNK2005: __fstat already defined in LIBCMT.lib(fstat.obj)
msvcprt.lib(MSVCP71.dll) : warning LNK4006: "public: __thiscall std::basic_string,class std::allocator >::~basic_string,class std::allocator >(void)" (address@hidden@address@hidden@@address@hidden@2@@std@@address@hidden) already defined in aspell6static.lib(convert.obj); second definition ignored
msvcprt.lib(MSVCP71.dll) : warning LNK4006: "public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(class std::basic_string,class std::allocator > const &)" (address@hidden@address@hidden@@address@hidden@2@@std@@address@hidden@@Z) already defined in aspell6static.lib(convert.obj); second definition ignored
msvcprt.lib(MSVCP71.dll) : warning LNK4006: "public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(char const *)" (address@hidden@address@hidden@@address@hidden@2@@std@@address@hidden@Z) already defined in aspell6static.lib(convert.obj); second definition ignored
msvcprt.lib(MSVCP71.dll) : warning LNK4006: "public: unsigned int __thiscall std::basic_string,class std::allocator >::max_size(void)const " (address@hidden@address@hidden@std@@address@hidden@2@@std@@QBEIXZ) already defined in aspell6static.lib(convert.obj); second definition ignored
msvcprt.lib(MSVCP71.dll) : warning LNK4006: "public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::erase(unsigned int,unsigned int)" (address@hidden@address@hidden@std@@address@hidden@2@@std@@address@hidden@Z) already defined in aspell6static.lib(convert.obj); second definition ignored
LIBCMT.lib(osfinfo.obj) : warning LNK4006: __get_osfhandle already defined in MSVCRT.lib(MSVCR71.dll); second definition ignored
LIBCMT.lib(dosmap.obj) : warning LNK4006: __errno already defined in MSVCRT.lib(MSVCR71.dll); second definition ignored
LIBCMT.lib(crt0.obj) : warning LNK4006: __amsg_exit already defined in MSVCRT.lib(MSVCR71.dll); second definition ignored
LIBCMT.lib(crt0dat.obj) : warning LNK4006: _exit already defined in MSVCRT.lib(MSVCR71.dll); second definition ignored
LIBCMT.lib(crt0dat.obj) : warning LNK4006: __exit already defined in MSVCRT.lib(MSVCR71.dll); second definition ignored
LIBCMT.lib(crt0dat.obj) : warning LNK4006: __cexit already defined in MSVCRT.lib(MSVCR71.dll); second definition ignored
LIBCMT.lib(crt0dat.obj) : warning LNK4006: __c_exit already defined in MSVCRT.lib(MSVCR71.dll); second definition ignored
LIBCMT.lib(atox.obj) : warning LNK4006: _atoi already defined in MSVCRT.lib(MSVCR71.dll); second definition ignored
LIBCMT.lib(getenv.obj) : warning LNK4006: _getenv already defined in MSVCRT.lib(MSVCR71.dll); second definition ignored
LIBCMT.lib(winxfltr.obj) : warning LNK4006: __XcptFilter already defined in MSVCRT.lib(MSVCR71.dll); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xc_z already defined in MSVCRT.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xc_a already defined in MSVCRT.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xi_z already defined in MSVCRT.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xi_a already defined in MSVCRT.lib(cinitexe.obj); second definition ignored
LIBCMT.lib(tolower.obj) : warning LNK4006: _tolower already defined in MSVCRT.lib(MSVCR71.dll); second definition ignored
MSVCRT.lib(MSVCR71.dll) : warning LNK4006: __fstat already defined in LIBCMT.lib(fstat.obj); second definition ignored
   Creating library release\spelltextedit.lib and object release\spelltextedit.exp
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
release\spelltextedit.exe : fatal error LNK1169: one or more multiply defined symbols found
Results
  
Build log was saved at "file://c:\ag_work\spellEditText\spellTextEdit_09042006\spellTextEdit\release\\BuildLog.htm"
spelltextedit - 22 error(s), 23 warning(s)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]