You mixed different 'Code Generation' options among your different libraries.
You have to choose between 'Single Thread', 'Multi-thread' or 'Multi-thread
DLL' and between 'Debug' and 'Release' (not Debug), and stay consistent.

-Fred



Quoting Stephen Greene:

> hi all
>
> Now that the unresolved external symbol problem is solved - thanks again for
> that.
> I have another problem with linking (133 to be eaxct), that of "already
> defined" symbols
>
>
> A small snippet:
>
> libcpmtd.lib(xdebug.obj) : error LNK2005: "void __cdecl operator delete(void
> *,struct std::_DebugHeapTag_t const &,char *,int)"
> ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]) already defined in
> msvcprtd.lib(MSVCP71D.dll)
> libcpmtd.lib(ios.obj) : error LNK2005: "public: void __thiscall
> std::ios_base::clear(int,bool)" ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]) 
> already
> defined in msvcprtd.lib(MSVCP71D.dll)
> libcpmtd.lib(ios.obj) : error LNK2005: "public: virtual __thiscall
> std::ios_base::~ios_base(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) 
> already defined in
> msvcprtd.lib(MSVCP71D.dll)
> libcpmtd.lib(ios.obj) : error LNK2005: "public: void __thiscall
> std::ios_base::_Addstd(void)" ([EMAIL PROTECTED]@std@@QAEXXZ) already
> defined in msvcprtd.lib(MSVCP71D.dll)
> libcpmtd.lib(ios.obj) : error LNK2005: "protected: void __thiscall
> std::ios_base::_Init(void)" ([EMAIL PROTECTED]@std@@IAEXXZ) already defined in
> msvcprtd.lib(MSVCP71D.dll)
> libcpmtd.lib(cerr.obj) : error LNK2005: "public: int __thiscall
> std::ios_base::setf(int)" ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]) already 
> defined in
> msvcprtd.lib(MSVCP71D.dll)
> libcpmtd.lib(locale0.obj) : error LNK2005: "public: __thiscall
> std::locale::locale(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already 
> defined in
> msvcprtd.lib(MSVCP71D.dll)
> libcpmtd.lib(locale0.obj) : error LNK2005: "public: class std::locale::facet
> const * __thiscall std::locale::_Getfacet(unsigned int)const "
> ([EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) already defined 
> in
> msvcprtd.lib(MSVCP71D.dll)
> libcpmtd.lib(locale0.obj) : error LNK2005: "public: void __thiscall
> std::locale::facet::_Register(void)" ([EMAIL PROTECTED]@[EMAIL 
> PROTECTED]@@QAEXXZ)
> already defined in msvcprtd.lib(MSVCP71D.dll)
> libcpmtd.lib(locale0.obj) : error LNK2005: "public: __thiscall
> std::_Locinfo::_Locinfo(char const *)" ([EMAIL PROTECTED]@@[EMAIL 
> PROTECTED]@Z) already
> defined in msvcprtd.lib(MSVCP71D.dll)
> libcpmtd.lib(locale0.obj) : error LNK2005: "public: __thiscall
> std::_Locinfo::~_Locinfo(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) 
> already defined in
> msvcprtd.lib(MSVCP71D.dll)
> libcpmtd.lib(xlock.obj) : error LNK2005: "public: __thiscall
> std::_Lockit::_Lockit(int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) already 
> defined in
> msvcprtd.lib(MSVCP71D.dll)
> libcpmtd.lib(xlock.obj) : error LNK2005: "public: __thiscall
> std::_Lockit::~_Lockit(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) already 
> defined in
> msvcprtd.lib(MSVCP71D.dll)
> MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __stricmp already defined in
> LIBCMTD.lib(stricmp.obj)
> MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __strdup already defined in
> LIBCMTD.lib(strdup.obj)
> MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __write already defined in
> LIBCMTD.lib(write.obj)
> MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __open already defined in
> LIBCMTD.lib(open.obj)
> MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __read already defined in
> LIBCMTD.lib(read.obj)
> MSVCRTD.lib(MSVCR71D.dll) : error LNK2005: __lseek already defined in
> LIBCMTD.lib(lseek.obj)
>
>
> Any ideas
>
> S Greene
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Stephen
> Greene
> Sent: 19 November 2004 15:18
> To: FlightGear developers discussions
> Subject: RE: [Flightgear-devel] FlightGear not compiling for me
>
>
> Brillant. That worked.
> thanks For your help.
>
> S Greene
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Norman Vine
> Sent: 19 November 2004 15:13
> To: FlightGear developers discussions
> Subject: RE: [Flightgear-devel] FlightGear not compiling for me
>
>
>  Stephen Greene writes:
> >
> > Yes i do. I got a compilied glut32.lib and glut.lib file from the net. I
> > include these into the flightGear VS project.
>
> > > fg_os.obj : error LNK2019: unresolved external symbol
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
>
> It appears that you have an older version of Glut
> try this one
>
> http://www.xmission.com/~nate/glut.html
>
> Norman
>
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> 2f585eeea02e2c79d7b1d8c4963bae2d
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004
>
>
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> 2f585eeea02e2c79d7b1d8c4963bae2d
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004
>
>
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> 2f585eeea02e2c79d7b1d8c4963bae2d
>



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to