nel-all
[Top][All Lists]
Advanced

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

[Nel] Errors compiling under VC++ 6.0


From: Eric Kervina
Subject: [Nel] Errors compiling under VC++ 6.0
Date: Fri, 13 Aug 2004 17:34:49 -0400

This is my first time working with a project this size, so I'm a bit
overwhelmed... Perhaps someone can help me with this:

--------------------Configuration: driver_dsound - Win32
Release--------------------
Compiling...
buffer_dsound.cpp
listener_dsound.cpp
sound_driver_dsound.cpp
source_dsound.cpp
stddsound.cpp
Generating Code...
Linking...
stlport_vc6.lib(stlport_vc645.dll) : error LNK2005: "public: __thiscall
_STL::basic_string<char,class _STL::char_traits<char>,class
_STL::allocator<char> >::~basic_string<char,class
_STL::char_traits<char>,class _STL::allocator<char> >(void)" (??1?$
address@hidden@address@hidden@@address@hidden@2@@_STL@@address@hidden) already
defined in nlsound_lowlevel_r.lib(sound_driver.obj)
stlport_vc6.lib(stlport_vc645.dll) : error LNK2005: "public: __thiscall
_STL::_STLP_alloc_proxy<char *,char,class _STL::allocator<char>
>::~_STLP_alloc_proxy<char *,char,class _STL::allocator<char> >(void)"
(address@hidden@D
@_STL@@@_STL@@address@hidden) already defined in
nlsound_lowlevel_r.lib(sound_driver.obj)
stlport_vc6.lib(stlport_vc645.dll) : error LNK2005: "public: __thiscall
_STL::_String_base<char,class _STL::allocator<char>
>::~_String_base<char,class _STL::allocator<char> >(void)"
(address@hidden@address@hidden@@@_STL@@address@hidden) already de
fined in nlsound_lowlevel_r.lib(sound_driver.obj)
stlport_vc6.lib(stlport_vc645.dll) : error LNK2005: "public: class
_STL::allocator<char> __thiscall _STL::basic_string<char,class
_STL::char_traits<char>,class _STL::allocator<char>
>::get_allocator(void)const " (address@hidden@DV?$ch
address@hidden@_STL@@address@hidden@2@@_STL@@address@hidden@address@hidden) 
already
defined in nlsound_lowlevel_r.lib(sound_driver.obj)
stlport_vc6.lib(stlport_vc645.dll) : warning LNK4006: "public: __thiscall
_STL::basic_string<char,class _STL::char_traits<char>,class
_STL::allocator<char> >::~basic_string<char,class
_STL::char_traits<char>,class _STL::allocator<char> >(void)" (??1
address@hidden@address@hidden@@address@hidden@2@@_STL@@address@hidden)
already defined in nlsound_lowlevel_r.lib(sound_driver.obj); second
definition ignored
stlport_vc6.lib(stlport_vc645.dll) : warning LNK4006: "public: __thiscall
_STL::_STLP_alloc_proxy<char *,char,class _STL::allocator<char>
>::~_STLP_alloc_proxy<char *,char,class _STL::allocator<char> >(void)"
(address@hidden
@address@hidden@@@_STL@@address@hidden) already defined in
nlsound_lowlevel_r.lib(sound_driver.obj); second definition ignored
stlport_vc6.lib(stlport_vc645.dll) : warning LNK4006: "public: __thiscall
_STL::_String_base<char,class _STL::allocator<char>
>::~_String_base<char,class _STL::allocator<char> >(void)"
(address@hidden@address@hidden@@@_STL@@address@hidden) already
defined in nlsound_lowlevel_r.lib(sound_driver.obj); second definition
ignored
stlport_vc6.lib(stlport_vc645.dll) : warning LNK4006: "public: class
_STL::allocator<char> __thiscall _STL::basic_string<char,class
_STL::char_traits<char>,class _STL::allocator<char>
>::get_allocator(void)const " (address@hidden@DV?$
address@hidden@_STL@@address@hidden@2@@_STL@@address@hidden@address@hidden)
already defined in nlsound_lowlevel_r.lib(sound_driver.obj); second
definition ignored
   Creating library
../../../../obj/Release/driver_dsound/nel_drv_dsound_win_r.lib and object
../../../../obj/Release/driver_dsound/nel_drv_dsound_win_r.exp
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs;
use /NODEFAULTLIB:library
../../../../lib/nel_drv_dsound_win_r.dll : fatal error LNK1169: one or more
multiply defined symbols found
Error executing link.exe.

nel_drv_dsound_win_r.dll - 5 error(s), 5 warning(s)
---------------------------------------------------------------------

Now, I know I can use "/force:multiple" to get rid of the LNK2005 and
LNK1169 errors, but I'm thinking there must be a more elegant (and correct)
way of handling it.

Also, through out the compile, I get

warning C4018: '>' : signed/unsigned mismatch

warning C4101: 'e' : unreferenced local variable

and

warning C4700: local variable 'tex' used without having been initialized

popping up here and there.

Am I the only one running into this? I searched the old messages from the
mailing list and didn't see any of these issues.

Respectfully,
  Eric Kervina






reply via email to

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